MCP HubMCP Hub
스킬 목록으로 돌아가기

evolve-team

pjt222
업데이트됨 Yesterday
2 조회
17
2
17
GitHub에서 보기
메타aiautomationdesigndata

정보

`evolve-team` 스킬은 기존 팀 구성을 구성원이나 협업 패턴을 수정하거나 특화된 변형을 생성하여 업데이트합니다. 이 스킬은 현재 구조를 평가하고, 파일 및 설정에 변경 사항을 적용하며, 레지스트리를 동기화하는 작업을 처리합니다. 팀의 구성이 오래되었거나 워크플로우에 공백이 생겼을 때, 또는 변형이 필요할 때 이 스킬을 사용하세요.

빠른 설치

Claude Code

추천
기본
npx skills add pjt222/agent-almanac -a claude-code
플러그인 명령대체
/plugin add https://github.com/pjt222/agent-almanac
Git 클론대체
git clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/evolve-team

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

Evolve an Existing Team

Fix, restructure, or make specialized variant of team first made with create-team. This proc covers upkeep side of team life: check gaps vs template and coord patterns, apply tight fixes to composition and flow, bump versions, keep registry and cross-refs in sync.

When Use

  • Team member roster stale after agents added, removed, or evolved
  • User feedback shows flow bottlenecks, unclear handoffs, or missing views
  • Coord pattern no longer fits team real flow (e.g., hub-and-spoke should be parallel)
  • Specialized variant needed next to original (e.g., r-package-review and r-package-review-security-focused)
  • Team member roles overlap and need sharper edges
  • CONFIG block out of sync with prose desc or members list
  • Team needs split into two smaller teams or two teams need merge

Inputs

  • Required: Path to existing team file to evolve (e.g., teams/r-package-review.md)
  • Required: Evolve trigger (feedback, new agents, coord mismatch, scope overlap, perf issues, agent evolve)
  • Optional: Target version bump size (patch, minor, major)
  • Optional: Make specialized variant vs refine in-place (default: refine in-place)

Steps

Step 1: Assess the Current Team

Read existing team file and check each section vs team template (teams/_template.md):

SectionWhat to CheckCommon Issues
FrontmatterAll required fields (name, description, lead, version, author, coordination, members[])Missing tags, stale version, wrong coordination
PurposeClear multi-agent justification (at least two distinct specialties)Could be handled by a single agent
Team CompositionTable matches frontmatter members, no overlapping responsibilitiesStale table, duplicated focus areas
Coordination PatternMatches actual workflow, ASCII diagram presentWrong pattern for the workflow
Task DecompositionPhased breakdown with concrete tasks per memberVague tasks, missing phases
CONFIG BlockValid YAML between markers, matches frontmatter and proseOut of sync, missing blocked_by, invalid YAML
Usage Scenarios2-3 realistic activation promptsPlaceholder text
Limitations3-5 honest constraintsMissing or too generic
See AlsoValid links to member agents, related teams, guidesStale links
# Read the team file
cat teams/<team-name>.md

# Verify all member agents still exist
grep "id:" teams/<team-name>.md | while read line; do
  agent=$(echo "$line" | grep -oP '(?<=id: )[\w-]+')
  grep "id: $agent" agents/_registry.yml || echo "MISSING: $agent"
done

# Check if the team is referenced by any guide
grep -r "<team-name>" guides/*.md

Got: List of specific gaps, weak spots, or fix chances sorted by section.

If fail: Team file not exist or no frontmatter? This skill not apply — use create-team instead to make from scratch.

Step 2: Gather Evolution Requirements

Spot and sort what fired evolve:

TriggerExampleTypical Scope
User feedback"Reviews take too long, agents duplicate effort"Sharpen responsibilities or change pattern
New agent availableapi-security-analyst agent was createdAdd member
Agent evolvedcode-reviewer gained new skillsUpdate member responsibilities
Agent removeddeprecated-agent was retiredRemove member, reassign tasks
Coordination mismatchSequential team has independent subtasksChange to parallel
Scope expansionTeam needs to cover deployment, not just reviewAdd member or create variant
Team too large6+ members causing coordination overheadSplit into two teams
Team too smallSingle member does most of the workMerge with another team or add members

Log specific changes needed before edit:

- Frontmatter: add new member `api-security-analyst` with role "API Security Reviewer"
- Team Composition: add row to composition table
- Task Decomposition: add API security review tasks to execution phase
- CONFIG block: add member and tasks entries
- See Also: add link to new agent file

Got: Concrete list of changes, each mapped to specific section of team file.

If fail: Changes unclear? Ask user for clarity before go on. Vague evolve goals give vague fixes.

Step 3: Choose Evolution Scope

Use this pick matrix to decide refine in-place or make variant:

CriteriaRefinement (in-place)Specialized Variant (new team)
Team IDUnchangedNew ID: <team>-<specialty>
File pathSame .md fileNew file in teams/
Version bumpPatch or minorStarts at 1.0.0
CoordinationMay changeMay differ from original
RegistryUpdate existing entryNew entry added
Original teamModified directlyLeft intact, gains See Also cross-reference

Refinement: Pick when tune members, sharpen roles, fix CONFIG block, or change coord pattern. Team keeps its identity.

Variant: Pick when evolved version would serve different use case, need different coord pattern, or target different audience. Original stays as-is for its existing use case.

Extra scope picks:

SituationAction
Team has 6+ members and is slowSplit into two focused teams
Two teams of 2 cover adjacent domainsMerge into one team of 3-4
Team's coordination pattern is wrongRefinement — change pattern in-place
Team needs entirely different leadRefinement if lead exists; create agent first if not

Got: Clear pick — refine, variant, split, or merge — with reason.

If fail: Unsure? Default to refine. Split or merge teams has bigger blast radius and should be confirmed with user.

Step 4: Apply Changes to the Team File

For Refinements

Edit existing team file direct. Keep consistency across all sections that ref team composition:

  1. Frontmatter members[]: Add, remove, or update member entries (each with id, role, responsibilities)
  2. Team Composition table: Must match frontmatter members exact
  3. Coordination Pattern: Update prose and ASCII diagram if pattern shifts
  4. Task Decomposition: Revise phases and per-member tasks to show new composition
  5. CONFIG block: Update members and tasks lists to match (see Step 5)
  6. Usage Scenarios: Revise if team activation triggers shifted
  7. Limitations: Update to show new limits or remove resolved ones
  8. See Also: Update agent links and add refs to new related teams or guides

Follow these edit rules:

  • Keep all existing sections — add content, do not remove sections
  • When add member, add them to ALL of: frontmatter, composition table, task decomposition, and CONFIG block
  • When remove member, remove from ALL of those spots and reassign their tasks
  • Check each member agent exists: grep "id: agent-name" agents/_registry.yml
  • Keep lead in members list — lead is always a member

For Variants

# Copy the original as a starting point
cp teams/<team-name>.md teams/<team-name>-<specialty>.md

# Edit the variant:
# - Change `name` to `<team-name>-<specialty>`
# - Update `description` to reflect the specialized scope
# - Adjust `coordination` pattern if needed
# - Reset `version` to "1.0.0"
# - Modify members, tasks, and CONFIG block for the specialized use case
# - Reference the original in See Also as a general-purpose alternative

Got: Team file (refined or new variant) passes check list from Step 1, with all sections internally in sync.

If fail: Edit breaks internal sync (e.g., CONFIG block lists member not in frontmatter)? Compare frontmatter members[] vs Team Composition table, Task Decomposition, and CONFIG block to find mismatch.

Step 4.5: Sync Translated Variants

Required when translations exist. This step applies to both human authors and AI agents following this procedure. Do not skip — stale source_commit values cause npm run validate:translations to report false staleness warnings across all locales.

Check whether translations exist for evolved team and update to match new source state:

# Check for existing translations
ls i18n/*/teams/<team-name>.md 2>/dev/null

If translations exist

  1. Get current source commit hash:
SOURCE_COMMIT=$(git rev-parse HEAD)
  1. Update source_commit in each translated file frontmatter:
for locale_file in i18n/*/teams/<team-name>.md; do
  sed -i "s/^source_commit: .*/source_commit: $SOURCE_COMMIT/" "$locale_file"
done
  1. Flag files for re-translation by adding affected locales in commit msg:
evolve(<team-name>): <description of changes>

Translations flagged for re-sync: de, zh-CN, ja, es
Changed sections: <list sections that changed>
  1. Regen translation status files:
npm run translation:status

If no translations exist

No action needed. Go to Step 5.

For variants

Wait translation of new variants until variant stabilizes (1-2 versions). Add translations after variant refined at least once.

Got: All translated files have source_commit updated to current commit. npm run translation:status exits 0.

If fail: sed fails to match frontmatter field? Open translated file by hand and check it has source_commit in its YAML frontmatter. Field missing? Re-scaffold with npm run translate:scaffold -- teams <team-name> <locale>.

Step 5: Update the CONFIG Block

CONFIG block between <!-- CONFIG:START --> and <!-- CONFIG:END --> must stay in sync with prose sections. After any member or task change:

  1. Check every agent in CONFIG members matches member in frontmatter
  2. Check every assignee in CONFIG tasks matches member agent id
  3. Update blocked_by deps if task ordering shifted
  4. Make sure synthesis/final task refs all prereq tasks
team:
  name: <team-name>
  lead: <lead-agent>
  coordination: <pattern>
  members:
    - agent: <agent-id>
      role: <role-title>
      subagent_type: <agent-id>
  tasks:
    - name: <task-name>
      assignee: <agent-id>
      description: <one-line>
    - name: synthesize-results
      assignee: <lead-agent>
      description: Collect and synthesize all member outputs
      blocked_by: [<prior-task-names>]

Got: CONFIG YAML is valid, all agents and tasks are in sync with rest of file, and blocked_by forms valid DAG.

If fail: Parse CONFIG block YAML apart to find syntax errors. Cross-check every assignee vs members list.

Step 6: Update Version and Metadata

Bump version field in frontmatter by semantic versioning:

Change TypeVersion BumpExample
Wording fix, See Also updatePatch: 1.0.0 → 1.0.1Fixed stale agent link
New member added, tasks revisedMinor: 1.0.0 → 1.1.0Added security-analyst member
Coordination pattern changed, team restructuredMajor: 1.0.0 → 2.0.0Changed from hub-and-spoke to parallel

Also update:

  • updated date to current date
  • tags if team domain coverage shifted
  • description if team purpose materially different
  • coordination if pattern shifted

Got: Frontmatter version and updated show size and date of changes. New variants start at "1.0.0".

If fail: Forget to bump version? Next evolve will have no way to tell current state from old. Always bump before commit.

Step 7: Update Registry and Cross-References

For Refinements

Update existing entry in teams/_registry.yml to match revised frontmatter:

# Find the team's registry entry
grep -A 10 "id: <team-name>" teams/_registry.yml

Update description, lead, members, and coordination fields to match team file. No count change needed.

For Variants

Add new team to teams/_registry.yml:

- id: <team-name>-<specialty>
  path: <team-name>-<specialty>.md
  lead: <lead-agent>
  members: [agent-1, agent-2, agent-3]
  coordination: <pattern>
  description: One-line description of the specialized variant

Then:

  1. Bump total_teams at top of registry
  2. Add See Also cross-ref in original team pointing to variant
  3. Add See Also cross-ref in variant pointing to original

Run README automation:

npm run update-readmes

Got: Registry entry matches team file frontmatter. npm run update-readmes exits 0. For variants, total_teams equals real count of team entries.

If fail: Registry count wrong? Count entries with grep -c "^ - id:" teams/_registry.yml and fix count. README automation fails? Check package.json exists and js-yaml installed.

Step 8: Validate the Evolved Team

Run full check list:

  • Team file exists at expected path
  • YAML frontmatter parses with no errors
  • version was bumped (refinement) or set to "1.0.0" (variant)
  • updated date shows today
  • All required sections present: Purpose, Team Composition, Coordination Pattern, Task Decomposition, Configuration, Usage Scenarios, Limitations, See Also
  • Frontmatter members[] matches Team Composition table
  • CONFIG block members match frontmatter members
  • CONFIG block tasks have valid assignees and blocked_by refs
  • All member agent IDs exist in agents/_registry.yml
  • Lead agent shows in members list
  • No two members share same primary role
  • Registry entry exists and matches frontmatter
  • For variants: total_teams count matches real count on disk
  • Cross-refs two-way (original ↔ variant)
  • git diff shows no slip deletes from original content
# Verify frontmatter
head -25 teams/<team-name>.md

# Verify all member agents exist
for agent in agent-a agent-b agent-c; do
  grep "id: $agent" agents/_registry.yml
done

# Count teams on disk vs registry
ls teams/*.md | grep -v template | wc -l
grep total_teams teams/_registry.yml

# Review all changes
git diff

Got: All check items pass. Evolved team ready to commit.

If fail: Fix each failing item one by one. Most common post-evolve issues are CONFIG block drift (members or tasks not matching prose) and forgot updated date.

Validation

  • Team file exists and has valid YAML frontmatter
  • version field shows changes made
  • updated date is current
  • All sections present and in sync
  • Frontmatter members[], Team Composition table, and CONFIG block are in sync
  • All member agent IDs exist in agents/_registry.yml
  • Lead agent is in members list
  • CONFIG block YAML is valid and parseable
  • Registry entry matches team file
  • For variants: new entry in teams/_registry.yml with right path
  • For variants: total_teams count updated
  • Cross-refs valid (no broken links in See Also)
  • For refinements with translations: source_commit updated in all locale files
  • git diff confirms no slip content removal

Pitfalls

  • CONFIG block drift: CONFIG block, frontmatter, and prose sections must all agree on members and tasks. Updating one without others is most common team evolve error. After every change, cross-check all three.
  • Forget to bump version: No version bump, no way to track what changed or when. Always update version and updated in frontmatter before commit.
  • Stale translations after evolve: Every team evolve fires staleness in up to 4 locale files. Always check for existing translations with ls i18n/*/teams/<team-name>.md and update source_commit in each, or flag them for re-translation in commit msg.
  • Orphan member refs: When remove member, their tasks in Task Decomposition and CONFIG block must be reassigned or removed. Leaving orphan assignees cause activation fails.
  • Wrong coord pattern after evolve: Adding parallel-capable members to sequential team, or making hub-and-spoke team where agents need each other output. Re-check pattern pick from create-team Step 4 after any structural change.
  • Team too big after add members: Teams with more than 5 members become hard to coord. Evolve push team past 5? Think split into two focused teams instead.
  • Stale See Also after variant make: When make variant, both original and variant need ref each other. One-way refs leave graph broken.

See Also

  • create-team — base for making new teams; evolve-team assumes this was followed first
  • evolve-skill — parallel proc for evolving SKILL.md files
  • evolve-agent — parallel proc for evolving agent definitions
  • commit-changes — commit evolved team with clear msg

GitHub 저장소

pjt222/agent-almanac
경로: i18n/caveman/skills/evolve-team
0
agentsagentskillsai-assisted-developmentclaude-codeskillsteams

연관 스킬

content-collections

메타

이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.

스킬 보기

polymarket

메타

이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.

스킬 보기

creating-opencode-plugins

메타

이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.

스킬 보기

sglang

메타

SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.

스킬 보기