一键导入
re-specialize
Incremental re-specialization — re-scans the project and updates only auto-generated zones in CLAUDE.md and agents
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Incremental re-specialization — re-scans the project and updates only auto-generated zones in CLAUDE.md and agents
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Full pipeline: evaluation -> spec -> implementation -> review -> QA
Full pipeline: evaluation -> spec -> implementation -> review -> QA
Convenes multiple agents to debate an important decision
Enriches CLAUDE.md by exploring the project and specializes agents to the real stack
QA + bugfix cycle until it passes
Convenes multiple agents to debate an important decision
基于 SOC 职业分类
| name | re-specialize |
| description | Incremental re-specialization — re-scans the project and updates only auto-generated zones in CLAUDE.md and agents |
| user-invocable | true |
| workflow | {"version":1,"steps":[{"id":"read-current","role":"system","intent":"Read current CLAUDE.md and agent files to identify existing zones.","produces":["current-claude-md","current-agents"]},{"id":"explore-project","role":"system","intent":"Scan project for current stack, dependencies, architecture, conventions.","produces":["detected-stack","detected-architecture","detected-conventions"],"gate":true},{"id":"check-zones","role":"system","intent":"Check if CLAUDE.md has guild zone markers. If not, offer to inject them.","requires":["current-claude-md"],"produces":["zone-status"],"gate":true},{"id":"regenerate-zones","role":"tech-lead","intent":"Generate new content for each auto zone based on fresh project scan. Present diff to user.","requires":["current-claude-md","detected-stack","detected-architecture","detected-conventions","zone-status"],"produces":["updated-claude-md","zone-diffs"],"model-tier":"reasoning"},{"id":"update-agents","role":"tech-lead","intent":"Update agent-context zones in agent files with fresh project context.","requires":["detected-stack","detected-architecture","detected-conventions"],"produces":["updated-agents"],"model-tier":"execution"},{"id":"confirm","role":"system","intent":"Present summary of changes and get user confirmation.","requires":["zone-diffs","updated-agents"],"produces":["confirmation"],"gate":true},{"id":"commit","role":"system","intent":"Commit re-specialized files.","requires":["updated-claude-md","updated-agents","confirmation"],"produces":["re-specialize-commit"]}]} |
Incrementally updates auto-generated content in CLAUDE.md and agent files without touching user customizations. Uses protected zone markers to identify what can be safely regenerated.
Read CLAUDE.md and all agent files in .claude/agents/:
<!-- guild:auto-start:ID --> / <!-- guild:auto-end:ID -->)Same exploration as guild-specialize:
If CLAUDE.md has zone markers, proceed to regeneration.
If CLAUDE.md does NOT have zone markers (legacy project):
Invoke the Tech Lead agent using Task tool with model: "opus" (reasoning tier):
Zones to regenerate:
| Zone ID | Content |
|---|---|
structure | Project folder structure with descriptions |
architecture | Architecture patterns and design decisions |
conventions | Code conventions from linter/formatter |
env-vars | Environment variables from .env.example |
Invoke the Tech Lead agent using Task tool with model: "sonnet" (execution tier):
.claude/agents/*.md, update the agent-context zoneagent-context zone exists, append one at the bottomPresent a summary:
Re-specialization complete for [project-name]
Zones updated:
- structure: [changed/unchanged]
- architecture: [changed/unchanged]
- conventions: [changed/unchanged]
- env-vars: [changed/unchanged]
Agents updated: [count] of [total]
Review the changes above. Confirm to commit.
Commit all changes as an atomic commit:
git add CLAUDE.md .claude/agents/*.md
git commit -m "chore: re-specialize via guild-re-specialize"
.env files -- only .env.example