planning
Manage planning documents (ADRs, FDPs, action plans, reports). Use when creating, archiving, or listing planning docs. Enforces proper numbering and structure.
What this skill does
# Planning Skill
Manage planning documents with proper structure, numbering, and lifecycle.
## Document Types
| Type | Purpose | ID Format | Default Directory |
|------|---------|-----------|-------------------|
| ADR | Architecture Decision Record | `ADR-001` | `decisions/` |
| FDP | Feature Design Proposal | `FDP-001` | `designs/` |
| AP | Action Plan | `AP-001` | `action-plans/` |
| Report | Reports and analysis | `RPT-001` | `reports/` |
| Roadmap | Project goals and vision | N/A | `roadmap.md` |
## Document Format (v0.2.1)
All documents have YAML frontmatter for structured metadata:
```yaml
---
type: adr
id: ADR-001
status: proposed
created: 2025-12-13
modified: 2025-12-13
supersedes: null
superseded_by: null
obsoleted_by: null
related: []
---
# ADR-001: Title Here
## Status
Proposed
...content...
---
## Addenda
```
### Frontmatter Fields
| Field | Description |
|-------|-------------|
| `type` | Document type (adr, fdp, ap, report) |
| `id` | Display ID (ADR-001, FDP-002, etc.) |
| `status` | Current lifecycle status |
| `created` | ISO date of creation |
| `modified` | ISO date of last modification |
| `supersedes` | ID of document this replaces |
| `superseded_by` | ID of document that replaced this |
| `obsoleted_by` | ID or reason for obsolescence |
| `related` | List of related document IDs |
### Addenda Section
Documents have an append-only addenda section at the bottom. This allows adding notes, clarifications, and updates to locked documents without modifying the original content.
## Configuration
Configure planning in `.claude/vibe-hacker.json`:
```json
{
"planning": {
"version": "0.2.1",
"subdirs": {
"adr": "decisions",
"fdp": "designs",
"ap": "action-plans",
"report": "reports"
}
},
"protected_paths": {
"planning_root": "docs/planning"
}
}
```
| Setting | Default | Description |
|---------|---------|-------------|
| `planning.version` | `0.1.0` | Schema version |
| `planning.subdirs.adr` | `decisions` | Subdirectory for ADRs |
| `planning.subdirs.fdp` | `designs` | Subdirectory for FDPs |
| `planning.subdirs.ap` | `action-plans` | Subdirectory for Action Plans |
| `planning.subdirs.report` | `reports` | Subdirectory for Reports |
| `protected_paths.planning_root` | `docs/planning` | Root directory for all planning docs |
## When to Use This Skill
Use the planning scripts when:
- Creating a new planning document (ensures proper numbering and frontmatter)
- Updating a document's status (e.g., Proposed → Accepted)
- Adding an addendum to a locked document
- Creating a document that supersedes another
- Archiving a completed or superseded document
- Listing active planning documents
**Do NOT manually create or renumber planning documents.** Always use the scripts.
## Available Scripts
All scripts are in `${CLAUDE_PLUGIN_ROOT}/skills/planning/scripts/`.
### Create New Document
```bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/planning/scripts/new.py <type> "<title>"
```
Types: `adr`, `fdp`, `ap`, `report`
Examples:
```bash
python3 scripts/new.py adr "Use PostgreSQL for persistence"
python3 scripts/new.py fdp "User Authentication System"
python3 scripts/new.py ap "Implement login flow"
python3 scripts/new.py report "Q4 Performance Analysis"
```
### Add Addendum
Add notes or updates to any document, even locked ones:
```bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/planning/scripts/append.py <doc-id> "<title>" [--body "<content>"]
```
Examples:
```bash
python3 scripts/append.py ADR-001 "Performance Clarification"
python3 scripts/append.py ADR-001 "Migration note" --body "Use pg_dump for best results"
```
### Supersede Document
Create a new document that supersedes an existing one:
```bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/planning/scripts/supersede.py <old-doc-id> "<new-title>"
```
This will:
1. Create a new document of the same type
2. Link the new document to the old (supersedes field)
3. Update the old document (superseded_by field, status)
4. Add an addendum to the old document
Example:
```bash
python3 scripts/supersede.py ADR-001 "Revised Database Strategy"
```
### Add Related Links
Link documents together:
```bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/planning/scripts/relate.py <doc-id> <related-ids...> [--bidirectional]
```
Examples:
```bash
python3 scripts/relate.py ADR-001 FDP-003
python3 scripts/relate.py ADR-001 FDP-003 ADR-002 --bidirectional
```
### Update Status
```bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/planning/scripts/update-status.py <doc-id> <new-status>
```
Examples:
```bash
python3 scripts/update-status.py ADR-001 accepted
python3 scripts/update-status.py FDP-002 "in progress"
python3 scripts/update-status.py RPT-001 published
```
Valid statuses by type:
- **ADR**: proposed, accepted, deprecated, superseded
- **FDP**: proposed, in progress, implemented, abandoned
- **AP**: active, completed, abandoned
- **Report**: draft, published, superseded, obsoleted
### Archive Document
```bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/planning/scripts/archive.py <doc-id>
```
Examples:
```bash
python3 scripts/archive.py ADR-001
python3 scripts/archive.py FDP-002
```
### Check Edit Permission
```bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/planning/scripts/edit.py <doc-id> [--force] [--quiet]
```
Checks if a document can be edited based on its status. Outputs the file path if editable.
**Locked statuses** (require `--force` to edit):
- **ADR**: accepted, deprecated, superseded
- **FDP**: implemented, abandoned
- **AP**: completed, abandoned
- **Report**: published, superseded, obsoleted
**Tip**: Use `append.py` to add an addendum instead of force-editing locked documents.
### List Documents
```bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/planning/scripts/list.py [--type TYPE] [--status STATUS] [--include-archived]
```
Examples:
```bash
python3 scripts/list.py
python3 scripts/list.py --type adr
python3 scripts/list.py --type report
python3 scripts/list.py --status proposed
python3 scripts/list.py --include-archived
```
### Migration (vibe-doc)
Upgrade existing documents to the latest format:
```bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/planning/scripts/vibe-doc.py status
python3 ${CLAUDE_PLUGIN_ROOT}/skills/planning/scripts/vibe-doc.py upgrade --dry-run
python3 ${CLAUDE_PLUGIN_ROOT}/skills/planning/scripts/vibe-doc.py upgrade
python3 ${CLAUDE_PLUGIN_ROOT}/skills/planning/scripts/vibe-doc.py changelog 0.2.0
```
## Document Lifecycle
### ADR Lifecycle
```
Proposed → Accepted → [Superseded | Deprecated]
```
- **Proposed**: Under discussion, can be edited
- **Accepted**: Decision made, becomes read-only (use addenda for updates)
- **Superseded**: Replaced by newer ADR, archived
- **Deprecated**: No longer applicable, archived
### FDP Lifecycle
```
Proposed → In Progress → [Implemented | Abandoned]
```
- **Proposed**: Design under review
- **In Progress**: Actively being implemented
- **Implemented**: Complete, archived
- **Abandoned**: Not pursued, archived
### Action Plan Lifecycle
```
Active → [Completed | Abandoned]
```
- **Active**: Work in progress
- **Completed**: All tasks done, archived
- **Abandoned**: Work stopped, archived
### Report Lifecycle
```
Draft → Published → [Superseded | Obsoleted]
```
- **Draft**: Being written, can be edited
- **Published**: Final, read-only (use addenda for updates)
- **Superseded**: Replaced by newer report
- **Obsoleted**: No longer relevant
## Roadmap
The roadmap is a single markdown file tracking project goals at different time horizons:
- **Immediate** (This Week) - Current focus
- **Medium Term** (This Month) - Coming up next
- **Long Term** (This Quarter+) - Vision and direction
- **Recently Completed** - What was just finished
### Initialize Roadmap
```bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/planning/scripts/init-roadmap.py
```
A **PreCompact hook** reminds you to update the roadmap before context compaction.
## Protected Paths
Planning documents are configured with protection rRelated in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.