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

evolve-team

pjt222
업데이트됨 2 days ago
6 조회
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

Improve, restructure, or create specialized variant of team originally made w/ create-team. Covers maintenance: assess gaps vs template + coordination patterns, apply targeted improvements to composition + workflow, bump versions, sync registry + cross-refs.

Use When

  • Roster outdated after agents added/removed/evolved
  • Feedback → workflow bottlenecks, unclear handoffs, missing perspectives
  • Coordination pattern no longer fits workflow (hub-and-spoke should be parallel)
  • Specialized variant needed alongside original (e.g., r-package-review + r-package-review-security-focused)
  • Member responsibilities overlap → need sharper boundaries
  • CONFIG block out of sync w/ prose or members
  • Team needs split into 2 smaller or 2 teams need merge

In

  • Required: Path to existing team file (e.g., teams/r-package-review.md)
  • Required: Evolution trigger (feedback, new agents, coordination mismatch, scope overlap, perf issues, agent evolution)
  • Optional: Version bump magnitude (patch, minor, major)
  • Optional: Create specialized variant instead refine (default: refine in-place)

Do

Step 1: Assess Current

Read existing + eval each section vs template (teams/_template.md):

SectionCheckCommon Issues
FrontmatterRequired fields (name, description, lead, version, author, coordination, members[])Missing tags, stale version, wrong coordination
PurposeClear multi-agent justification (≥2 specialties)Could be 1 agent
Team CompositionTable matches frontmatter, no overlapStale table, duplicated focus
Coordination PatternMatches workflow, ASCII diagram presentWrong pattern
Task DecompositionPhased breakdown + concrete per-memberVague, missing phases
CONFIG BlockValid YAML between markers, matches frontmatter + proseOut of sync, missing blocked_by, invalid YAML
Usage Scenarios2-3 realistic activation promptsPlaceholder
Limitations3-5 honestMissing/generic
See AlsoValid links to agents, teams, guidesStale
# 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

→ List specific gaps by section.

If err: no file or no frontmatter → skill N/A, use create-team.

Step 2: Gather Reqs

Identify + categorize trigger:

TriggerExampleScope
User feedback"Reviews too long, agents duplicate"Sharpen responsibilities or pattern
New agentapi-security-analyst createdAdd member
Agent evolvedcode-reviewer new skillsUpdate member responsibilities
Agent removeddeprecated-agent retiredRemove + reassign tasks
Coordination mismatchSequential team has indep subtasksChange to parallel
Scope expansionCover deployment not just reviewAdd member or variant
Team too large6+ members coordination overheadSplit into 2
Team too smallSingle member does mostMerge w/ another or add

Document changes + sections:

- 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

→ Concrete list mapped to sections.

If err: unclear → consult user. Vague → vague.

Step 3: Choose Scope

Decision matrix:

CriteriaRefinement (in-place)Specialized Variant (new)
Team IDUnchanged<team>-<specialty>
File pathSame .mdNew file teams/
Version bumpPatch/minorStarts 1.0.0
CoordinationMay changeMay differ
RegistryUpdate existingNew entry
OriginalModified directlyLeft intact, gains See Also

Refinement: Adjust members, sharpen responsibilities, fix CONFIG, change coordination. Keeps identity.

Variant: Diff use case, diff coordination, diff audience. Original stays for existing use.

Additional:

SituationAction
6+ members, slowSplit into 2 focused
2 teams of 2 adjacent domainsMerge into 1 of 3-4
Wrong coordinationRefinement — change in-place
Different leadRefinement if lead exists; create agent first if not

→ Clear decision — refine, variant, split, merge — rationale.

If err: unsure → default refinement. Split/merge higher blast radius → confirm w/ user.

Step 4: Apply Changes

Refinements

Edit directly. Consistency across all sections referencing composition:

  1. Frontmatter members[]: Add/remove/update (each id, role, responsibilities)
  2. Team Composition table: Match frontmatter exactly
  3. Coordination Pattern: Update prose + ASCII if changes
  4. Task Decomposition: Revise phases + per-member
  5. CONFIG block: Update members + tasks (Step 5)
  6. Usage Scenarios: Revise if triggers changed
  7. Limitations: Update new constraints, remove resolved
  8. See Also: Update agent links, new refs

Rules:

  • Preserve all sections — add not remove
  • Adding member → add ALL: frontmatter, composition table, task decomposition, CONFIG
  • Removing → remove ALL + reassign tasks
  • Verify each: grep "id: agent-name" agents/_registry.yml
  • Lead stays in members — lead always a member

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

→ File (refined/variant) passes Step 1, all sections internally consistent.

If err: edit breaks consistency (CONFIG lists member not in frontmatter) → compare frontmatter members[] vs Composition + Decomposition + CONFIG → find mismatch.

Step 4.5: Sync Translated Variants

Required when translations exist. Human authors + AI agents. No skip — stale source_commitnpm run validate:translations false staleness.

Check + update:

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

If translations exist

  1. Current commit:
SOURCE_COMMIT=$(git rev-parse HEAD)
  1. Update each:
for locale_file in i18n/*/teams/<team-name>.md; do
  sed -i "s/^source_commit: .*/source_commit: $SOURCE_COMMIT/" "$locale_file"
done
  1. Flag → 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. Regenerate:
npm run translation:status

If no translations exist

No action. Step 5.

Variants

Defer until stabilize (1-2 versions). Add after ≥1 refinement.

→ All translated source_commit updated. npm run translation:status exits 0.

If err: sed fails → open manually, verify source_commit in YAML. Missing → re-scaffold npm run translate:scaffold -- teams <team-name> <locale>.

Step 5: CONFIG Block

CONFIG between <!-- CONFIG:START --> + <!-- CONFIG:END --> must sync w/ prose. After member/task change:

  1. Every agent in CONFIG members matches frontmatter member
  2. Every assignee in CONFIG tasks matches member id
  3. Update blocked_by if ordering changed
  4. Synthesis/final task references all prereq
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>]

→ CONFIG valid YAML, agents + tasks consistent, blocked_by valid DAG.

If err: parse CONFIG YAML separately → syntax errs. Cross-check every assignee vs members.

Step 6: Version + Metadata

Bump version semver:

ChangeBumpExample
Wording fix, See Also updatePatch: 1.0.0 → 1.0.1Fixed stale agent link
New member, tasks revisedMinor: 1.0.0 → 1.1.0Added security-analyst
Coordination changed, restructuredMajor: 1.0.0 → 2.0.0hub-and-spoke → parallel

Also update:

  • updated date = today
  • tags if coverage changed
  • description if purpose materially diff
  • coordination if pattern changed

version + updated reflect magnitude + date. Variants start "1.0.0".

If err: forget bump → no track. Always before commit.

Step 7: Registry + Cross-Refs

Refinements

Update existing in teams/_registry.yml → match frontmatter:

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

Update description, lead, members, coordination → match file. No count change.

Variants

Add new to registry:

- 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. Increment total_teams top
  2. Add See Also in original → variant
  3. Add See Also in variant → original

README automation:

npm run update-readmes

→ Registry matches frontmatter. npm run update-readmes exits 0. Variants: total_teams matches actual.

If err: count wrong → grep -c "^ - id:" teams/_registry.yml + correct. README automation fails → verify package.json + js-yaml installed.

Step 8: Validate

Full checklist:

  • File exists expected path
  • YAML frontmatter parses
  • version bumped (refinement) or "1.0.0" (variant)
  • updated today
  • All sections: Purpose, Team Composition, Coordination, Task Decomposition, Configuration, Usage Scenarios, Limitations, See Also
  • Frontmatter members[] matches Composition table
  • CONFIG members match frontmatter
  • CONFIG tasks valid assignees + blocked_by refs
  • All member IDs in agents/_registry.yml
  • Lead in members list
  • No 2 members share same primary responsibility
  • Registry matches frontmatter
  • Variants: total_teams matches disk
  • Cross-refs bidirectional (original ↔ variant)
  • git diff no accidental deletions
# 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

→ All pass. Ready commit.

If err: address each. Most common: CONFIG block drift (members or tasks not matching prose) + forgotten updated.

Check

  • File exists + valid YAML
  • version reflects changes
  • updated current
  • All sections consistent
  • Frontmatter members[], Composition, CONFIG in sync
  • All member IDs in registry
  • Lead in members
  • CONFIG YAML valid + parseable
  • Registry matches file
  • Variants: new entry correct path
  • Variants: total_teams updated
  • Cross-refs valid (no broken See Also)
  • Refinements w/ translations: source_commit updated all locales
  • git diff no accidental removal

Traps

  • CONFIG block drift: CONFIG + frontmatter + prose must agree on members + tasks. Update 1 w/o others = most common team evolution err. After every change → cross-check all 3.
  • Forget version bump: No track. Always version + updated before commit.
  • Stale translations: Every evolution → up to 4 locale stale. Check ls i18n/*/teams/<team-name>.md + update source_commit or flag.
  • Orphaned member refs: Remove member → tasks in Decomposition + CONFIG must reassign/remove. Orphan assignees → activation failures.
  • Wrong coordination post-evolution: Adding parallel-capable to sequential, or hub-and-spoke where agents need each other's output. Re-evaluate pattern decision create-team Step 4 after structural change.
  • Team too large after add: >5 members hard coordinate. Past 5 → split into 2 focused.
  • Stale See Also after variant: Original + variant reference each other. One-directional → incomplete.

  • create-team — foundation new teams; evolve-team assumes this followed
  • evolve-skill — parallel for SKILL.md
  • evolve-agent — parallel for agents
  • commit-changes — commit evolved team w/ descriptive msg

GitHub 저장소

pjt222/agent-almanac
경로: i18n/caveman-ultra/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을 선택하십시오.

스킬 보기