| name | goap |
| description | Use for GOAP (Goal-Oriented Action Planning) and ADR (Architecture Decision Records) management. Handles project planning, issue tracking, and architectural decisions. |
Skill: goap
This skill manages project planning using GOAP and ADR documents in the plans/ folder.
When to Use
- Planning new features or fixes
- Tracking project goals and actions
- Documenting architectural decisions
- Managing issues that need multiple commits
- Creating new ADRs
GOAP Structure
Location: plans/GOAP.md
# GOAP: <Project Name>
## Goal
<One sentence describing the project goal>
## Objectives
1. <Objective 1>
2. <Objective 2>
## Actions
- [ ] <Action item 1>
- [x] <Completed action>
## Priorities
1. <Priority 1> (high/medium/low)
2. <Priority 2>
ADR Structure
Location: plans/ADR-XXX-<title>.md
# ADR-XXX: <Title>
## Status
Proposed | Accepted | Deprecated | Replaced
## Context
<Describe the problem or situation>
## Decision
<Describe the chosen solution>
## Consequences
- **Positive**: <Benefit>
- **Negative**: <Drawback>
## Alternatives Considered
1. <Alternative 1> - rejected because...
2. <Alternative 2>
## Related
- ADR-XXX: <Related ADR>
- GOAP.md
Commands
List Plans
ls -la plans/
cat plans/GOAP.md
Create New Action Item
- [ ] <New action item> (priority: high/medium/low)
Create New ADR
ls plans/ADR-*.md | tail -1
Update ADR Status
## Status
Accepted # Change from Proposed
Mark Action Complete
## Actions
- [x] <Completed action>
Integration with CI Fix Workflow
- Identify issue → Check
plans/GOAP.md for existing action
- Create action → Add new item if not found
- Create ADR → For significant architectural decisions
- Fix issue → Use appropriate skill
- Update plans → Mark action complete
Best Practices
- Always update GOAP when adding new work items
- Create ADR for any architectural decision
- Reference ADRs in commit messages when relevant
- Keep GOAP updated - stale actions should be removed
- Use priorities - high, medium, low
Example Workflow
cat plans/GOAP.md
File Conventions
| Pattern | Description |
|---|
GOAP.md | Main planning document |
ADR-XXX-*.md | Architecture decision records (XXX = 3-digit number) |
| Actions | - [ ] = pending, - [x] = complete |
| Priority | high, medium, low |