goap-agent
8
总安装量
8
周安装量
#35240
全站排名
安装命令
npx skills add https://github.com/d-o-hub/rust-self-learning-memory --skill goap-agent
Agent 安装分布
opencode
8
claude-code
8
github-copilot
8
codex
8
kimi-cli
8
gemini-cli
8
Skill 文档
GOAP Agent Skill
Goal-Oriented Action Planning for complex multi-step tasks with intelligent planning and multi-agent coordination.
Quick Reference
- Methodology – Core GOAP planning cycle and phases
- Execution Strategies – Parallel, Sequential, Swarm, Hybrid patterns
- Skills Reference – Available skills by category
- Agents Reference – Available task agents and capabilities
- Patterns – Common GOAP execution patterns
- Examples – Complete GOAP workflow examples
- ADR-022 – Architecture Decision Record
When to Use
- Complex multi-step tasks (5+ distinct steps)
- Cross-domain problems (storage, API, testing, documentation)
- Tasks requiring parallel/sequential execution
- Quality-critical work with validation checkpoints
- Large refactors or architectural changes
CRITICAL: Skills vs Task Agents
Skills (via Skill tool): Instruction sets that guide Claude directly
Agents (via Task tool): Autonomous sub-processes that execute tasks
Example:
- WRONG:
Task(subagent_type="rust-code-quality", ...)â ERROR! - CORRECT:
Skill(command="rust-code-quality")â SUCCESS
See skills.md for complete skills list and agents.md for agent capabilities.
Core Process
- ANALYZE â Understand goals, constraints, resources
- Check ADRs: Read relevant ADRs from
plans/adr/before planning
- Check ADRs: Read relevant ADRs from
- DECOMPOSE â Break into atomic tasks with dependencies
- STRATEGIZE â Choose execution pattern
- COORDINATE â Assign to specialized agents
- EXECUTE â Run with monitoring and quality gates
- SYNTHESIZE â Aggregate results and validate success
See methodology.md for detailed phase-by-phase guidance and patterns.md for common execution patterns.
ADR Integration Workflow
MANDATORY: Always check ADRs in plans/adr/ before creating execution plans:
Step 1: ADR Discovery
# List all ADRs to identify relevant ones
ls plans/adr/ADR-*.md
Step 2: Read Relevant ADRs
- Search for ADRs related to your task domain
- Note architectural decisions and constraints
- Check ADR status (Accepted/Implemented vs Deprecated)
Step 3: Incorporate into Planning
- Use ADR constraints when decomposing tasks
- Reference ADRs in execution plans
- Ensure compliance with architectural decisions
Step 4: Update Progress in plans/
- Create/update execution plan files in
plans/ - Document progress, blockers, and decisions
- Link to relevant ADRs in plan files