算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
create-team【设计与创意】Create a new team composition file following the agent-almanac team template and registry conventions. Covers team purpose definition, member selection, coordination pattern choice, task decomposition design, machine-readable configuration block, registry integration, and README automation. Use when defining a multi-agent workflow, composing agents f…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Multi-agent team → coord 2+ agents for multi-perspective tasks. Integrates w/ teams registry, activatable in Claude Code by name.
data-pipeline-review)agents/_registry.yml)hub-and-spoke, sequential, parallel, timeboxed, adaptiveAnswer:
Write 1 paragraph → human/agent reads → decide activation.
Got: Clear paragraph + ≥2 specialties.
If err: Can't ID 2 specialties → no team needed. Use 1 agent w/ multi skills.
Orchestrator. Choose from registry:
# List all available agents
grep "^ - id:" agents/_registry.yml
Lead = also member (lead always member).
Got: Lead chosen + in registry.
If err: No fit → create via create-agent first. Don't create team w/ non-existent lead.
2-5 members (incl lead), non-overlap responsibilities. Each:
# Verify each candidate agent exists
grep "id: agent-name-here" agents/_registry.yml
Validate no overlap: same primary resp = merge / sharpen.
Got: 2-5 members, unique roles, in registry.
If err: Agent missing → create first. Overlap → rewrite / remove 1.
| Pattern | Use When | Example |
|---|---|---|
| hub-and-spoke | Lead distrib + collect + synth. Review/audit. | r-package-review, gxp-compliance-validation, ml-data-science-review |
| sequential | Each builds on prior. Pipelines/staged. | fullstack-web-dev, tending |
| parallel | All sim, independent subtasks. No deps. | devops-platform-engineering |
| timeboxed | Fixed iters. Sprint w/ backlog. | scrum-team |
| adaptive | Self-org. Unknown/variable. | opaque-team |
Decision:
Got: Pattern + rationale.
If err: Doubt → hub-and-spoke (most common, works for review/analysis).
Phases:
Per member: 3-5 concrete tasks (typical req). In "Task Decomposition" prose + CONFIG tasks list.
Got: Phase-structured decomp + concrete tasks per member, matches coord pattern.
If err: Vague ("reviews things") → specific ("reviews code style vs tidyverse guide, checks coverage, evaluates err msg quality").
cp teams/_template.md teams/<team-name>.md
Fill in order:
name, description, lead, version ("1.0.0"), author, created, updated, tags, coordination, members[] (id, role, responsibilities)# Team Name (readable, title case)Got: Complete file, no placeholders.
If err: Compare existing (teams/r-package-review.md). Search placeholders ("your-team-name", "another-agent") → unfilled.
Between <!-- CONFIG:START --> + <!-- CONFIG:END --> → YAML for tooling:
<!-- CONFIG:START -->
```yaml
team:
name: <team-name>
lead: <lead-agent-id>
coordination: <pattern>
members:
- agent: <agent-id>
role: <role-title>
subagent_type: <agent-id> # Claude Code subagent type for spawning
# ... repeat for each member
tasks:
- name: <task-name>
assignee: <agent-id>
description: <one-line description>
# ... repeat for each task
- name: synthesize-report # final task if hub-and-spoke
assignee: <lead-agent-id>
description: <synthesis description>
blocked_by: [<prior-task-names>] # for dependency ordering
```
<!-- CONFIG:END -->
subagent_type → Claude Code types. For .claude/agents/, use agent id. blocked_by = task deps (synth blocked by all reviews).
Got: Valid YAML, agents = frontmatter members, deps = valid DAG (no cycles).
If err: Validate syntax. Every assignee = agent in members. blocked_by refs earlier task names only.
Edit teams/_registry.yml:
- id: <team-name>
path: <team-name>.md
lead: <lead-agent-id>
members: [<agent-id-1>, <agent-id-2>, ...]
coordination: <pattern>
description: <one-line description matching frontmatter>
Increment total_teams (8 → 9 after adding 1).
# Verify the entry was added
grep "id: <team-name>" teams/_registry.yml
Got: Entry in registry, count +1.
If err: Name exists → diff name / update. Verify YAML indent matches.
Regen:
npm run update-readmes
Updates dynamic sections in teams/README.md + files w/ <!-- AUTO:START --> markers referencing team data.
Got: Exit 0, teams/README.md has new team.
If err: npm run check-readmes → out-of-sync files. Script fail → verify package.json in root + js-yaml installed (npm install).
Test in Claude Code:
User: Use the <team-name> team to <typical task description>
Claude reads teams/<team-name>.md, extracts CONFIG, orchestrates:
TeamCreate w/ name + descAgent tool (subagent_type from CONFIG)TaskCreate w/ blocked_by deps from CONFIGNote: Teams not auto-discovered from .claude/teams/. Claude reads def directly from teams/ on request.
Got: Claude reads file, TeamCreate works, spawns correct agents, follows pattern.
If err: Verify file at teams/<team-name>.md (not subdir). All member agents exist in agents/. CONFIG YAML valid + subagent_type per member. Listed in teams/_registry.yml.
Required for all teams. Human + AI authors. Do not skip → backlog.
4 locales post-commit:
for locale in de zh-CN ja es; do
npm run translate:scaffold -- teams <team-name> "$locale"
done
Translate prose (code + IDs EN). Regen:
npm run translation:status
Got: 4 files at i18n/{de,zh-CN,ja,es}/teams/<team-name>.md, source_commit = HEAD. npm run validate:translations → 0 stale.
If err: Scaffold fail → team in teams/_registry.yml. Status stale → run npm run translation:status explicit.
teams/<team-name>.mdname, description, lead, version, author, coordination, members[]id, role, responsibilitiesagents/_registry.ymlteams/_registry.yml w/ correct path/lead/members/coordtotal_teams +1npm run update-readmes no errTeamCreate / spawn / tasks. Without → only ad-hoc prose interp (less reliable).create-skill — parallel SKILL.md meta-patterncreate-agent — create memberscommit-changes — commit team + registry