mirror of
https://github.com/shareAI-lab/analysis_claude_code.git
synced 2026-10-30 18:24:05 +08:00
58 lines
2.3 KiB
JSON
58 lines
2.3 KiB
JSON
{
|
|
"version": "s19",
|
|
"title": "Comprehensive Agent",
|
|
"description": "The final agent composes context assembly, tools, memory, teams, background work, cron, worktrees, and MCP.",
|
|
"steps": [
|
|
{
|
|
"type": "user_message",
|
|
"content": "Prepare this project for release. Check the code, update the docs, and report deployment readiness.",
|
|
"annotation": "One ordinary request needs several earlier capabilities to work together."
|
|
},
|
|
{
|
|
"type": "system_event",
|
|
"content": "assemble_prompt: memory + task graph + skills + available tools + policy",
|
|
"annotation": "The runtime builds the prompt from layered sources of context."
|
|
},
|
|
{
|
|
"type": "assistant_text",
|
|
"content": "I'll inspect the task graph, delegate docs, start the slow scan in the background, and use the release checklist skill.",
|
|
"annotation": "The model chooses multiple mechanisms while keeping one coherent plan."
|
|
},
|
|
{
|
|
"type": "tool_call",
|
|
"toolName": "load_skill",
|
|
"content": "{\"name\":\"release-check\"}",
|
|
"annotation": "Skills contribute procedural context before execution."
|
|
},
|
|
{
|
|
"type": "tool_call",
|
|
"toolName": "spawn_teammate",
|
|
"content": "{\"name\":\"docs\",\"role\":\"Update release notes in its worktree.\"}",
|
|
"annotation": "Team delegation handles a parallel slice of the release."
|
|
},
|
|
{
|
|
"type": "tool_call",
|
|
"toolName": "bash",
|
|
"content": "npm run lint && npm run test",
|
|
"toolInput": "{\"background\":true}",
|
|
"annotation": "Long-running validation goes through the background task path."
|
|
},
|
|
{
|
|
"type": "tool_call",
|
|
"toolName": "connect_mcp",
|
|
"content": "{\"server\":\"deploy\",\"command\":\"mock-deploy-server\"}",
|
|
"annotation": "External capabilities are added only when needed."
|
|
},
|
|
{
|
|
"type": "system_event",
|
|
"content": "recover: background task done, teammate replied, MCP deploy status ready",
|
|
"annotation": "The integrated runtime folds asynchronous results back into the loop."
|
|
},
|
|
{
|
|
"type": "assistant_text",
|
|
"content": "Release preparation is ready: checks passed, docs are updated in the teammate worktree, and deployment status is available.",
|
|
"annotation": "The comprehensive agent returns a single user-facing outcome."
|
|
}
|
|
]
|
|
}
|