roadmap-integration
Skill94 starsChanged 7 months agoMITView on GitHub
Manages product roadmap via GitHub Issues (brainstorm, prioritize, track). Auto-validates features against project vision (from overview.md) before adding to roadmap. Use when running /roadmap command or mentions 'roadmap', 'add feature', 'brainstorm ideas', or 'prioritize features'.
- Reads credentials
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .codex/Agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- analysis-phaseSkill
- anti-duplicationSkill
- audit-claude-mdSkill
- breaking-change-detectorSkill
- caching-strategySkill
- clarification-phaseSkill
- create-agent-skillsSkill
- create-hooksSkill
- create-meta-promptsSkill
- create-slash-commandsSkill
- create-subagentsSkill
- debug-phaseSkill
- dependency-conflict-resolverSkill
- design-tokensSkill
- domain-memorySkill
- dry-runSkill
- epic-meta-promptingSkill
- epic-scopingSkill
- epic-sprintsSkill
- epic-walkthroughSkill
- error-recoverySkill
- finalize-phaseSkill
- git-workflow-enforcerSkill
- hallucination-detectorSkill
- implementation-phaseSkill
- mockup-extractionSkill
- multi-agent-votingSkill
- optimization-phaseSkill
- parallel-execution-optimizerSkill
- planning-phaseSkill
- production-deployment-phaseSkill
- project-initialization-phaseSkill
- regression-test-generatorSkill
- session-boundarySkill
- shadcn-integrationSkill
- specification-phaseSkill
- staging-deployment-phaseSkill
- staging-validation-phaseSkill
- task-breakdown-phaseSkill
- task-status-syncSkill
- theme-consistencySkill
- ultrathinkSkill
- workflow-detectionSkill
- worktree-contextSkill
- x-announcementSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. About 0 are common, 17 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Initialize: Verify GitHub authentication (gh CLI or GITHUB_TOKEN)
- Very specific: line 15
Load vision: Read docs/project/overview.md for alignment validation
- Distinctive: line 17
Validate vision: Check against out-of-scope exclusions and project vision
- Distinctive: line 81
Verify GitHub authentication and repository access.
- Distinctive: line 84
Check GitHub CLI authentication (gh auth status)
- Distinctive: line 86
Verify git repository has GitHub remote
- Distinctive: line 116
Always before ADD/BRAINSTORM actions
- Distinctive: line 172
Executes for: ADD and BRAINSTORM actions only
- Very specific: line 201
Add ALIGNMENT_NOTE to issue body when user overrides validation
- Distinctive: line 202
Document justification for future reference
- Distinctive: line 210
Create GitHub Issue with metadata after vision validation passes.
- Distinctive: line 214
Check for duplicate slugs
- Distinctive: line 217
Create issue with YAML frontmatter metadata
- Distinctive: line 246
No ICE scoring required (creation timestamp determines priority)
- Very specific: line 312
Prevention: Never set HAS_PROJECT_DOCS=false if docs exist </pitfall>
- Distinctive: line 332
Prevention: Treat overview.md as source of truth, update before overriding </pitfall>
- Distinctive: line 355
Prevention: Never create roadmap issues manually, always use manager functions </pitfall>
- Distinctive: line 375
Prevention: Always call get_issue_by_slug() before creation </pitfall>
- Distinctive: line 458
ADD (with vision validation): ~8-12K tokens
- Distinctive: line 462
ADD (without docs): ~2-3K tokens
- Distinctive: line 468
ADD with vision check: 30-60 seconds
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<objective>
Manage product roadmap via GitHub Issues with vision alignment validation and creation-order prioritization, ensuring features align with project goals before implementation.
</objective><quick_start> <roadmap_workflow> Vision-aligned feature management:
- Initialize: Verify GitHub authentication (gh CLI or GITHUB_TOKEN)
- Load vision: Read docs/project/overview.md for alignment validation
- Parse intent: Identify action (add, brainstorm, move, delete, search, ship)
- Validate vision: Check against out-of-scope exclusions and project vision
- Create issue: Generate GitHub Issue with metadata (area, role, slug)
- Show summary: Display roadmap state and suggest next action
Quick actions:
/roadmap add "student progress widget"
/roadmap brainstorm "CFI productivity tools"
/roadmap move auth-refactor Next
/roadmap search exportExample workflow:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 VISION ALIGNMENT CHECK
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Project Vision:
AKTR helps flight instructors track student progress against ACS standards.
Proposed Feature:
Add student progress widget showing mastery percentage by ACS area
✅ Feature aligns with project vision
Target User Check:
Does this feature serve: CFIs, Flight students, School admins
Confirm primary user (or 'skip'): Flight students
✅ Vision alignment complete
✅ Created issue #123: student-progress-widget in Backlog
Area: app | Role: student
📊 Roadmap Summary:
Backlog: 12 | Next: 3 | In Progress: 2 | Shipped: 45
Top 3 in Backlog (oldest/highest priority):
1. #98 cfi-batch-export (Created: 2025-11-01)
2. #87 study-plan-generator (Created: 2025-11-05)
3. #123 student-progress-widget (Created: 2025-11-13)
💡 Next: /feature cfi-batch-export</roadmap_workflow>
<trigger_conditions> Auto-invoke when:
/roadmapcommand executed- User mentions "roadmap", "add feature", "brainstorm ideas", "prioritize features"
- Starting feature planning workflow
Prerequisites:
- GitHub authentication (gh CLI or GITHUB_TOKEN)
- Git repository with GitHub remote
- Optional: docs/project/overview.md for vision validation </trigger_conditions> </quick_start>
<workflow>
<step number="1" name="initialize_github_context">
**1. Initialize GitHub Context**Verify GitHub authentication and repository access.
Actions:
- Check GitHub CLI authentication (gh auth status)
- Fallback to GITHUB_TOKEN environment variable
- Verify git repository has GitHub remote
- Source roadmap manager scripts
Script location: See references/github-setup.md for platform-specific bash/powershell scripts
Validation:
AUTH_METHOD=$(check_github_auth) # Returns: gh-cli, token, or none
REPO=$(get_repo_info) # Returns: owner/repo-name
if [ "$AUTH_METHOD" = "none" ]; then
echo "❌ GitHub authentication required"
echo "Options: gh auth login OR export GITHUB_TOKEN=ghp_..."
exit 1
fiOutput:
✅ GitHub authenticated (gh-cli)
✅ Repository: owner/repo-name</step><step number="2" name="load_project_docs">
**2. Load Project Documentation Context**Load project vision, scope boundaries, and target users from overview.md.
When to execute:
- Always before ADD/BRAINSTORM actions
- Skip for MOVE/DELETE/SEARCH operations
Actions:
PROJECT_OVERVIEW="docs/project/overview.md"
HAS_PROJECT_DOCS=false
if [ -f "$PROJECT_OVERVIEW" ]; then
HAS_PROJECT_DOCS=true
# Extract: Vision, Out-of-Scope, Target Users
# (see detailed extraction logic in references)
else
echo "ℹ️ No project documentation found"
echo " Run /init-project to create (optional)"
fiExtracted context:
- Vision: 1 paragraph describing project purpose
- Out-of-Scope: Bullet list of explicit exclusions
- Target Users: Bullet list of intended users
See: references/vision-validation.md for extraction logic and validation rules
Token budget: ~5-8K tokens (overview.md typically 2-3 pages)
</step>
<step number="3" name="parse_user_intent">
**3. Parse User Intent**Identify action type and extract parameters.
Action types:
add- Add new feature (vision-validated, prioritized by creation order)brainstorm- Generate feature ideas via web researchmove- Change feature status (Backlog → Next → In Progress)delete- Remove feature from roadmapsearch- Find features by keyword/area/role/sprintship- Mark feature as shipped
Parse logic:
| User Input | Action | Parameters |
| "Add student progress widget" | add | title: "student progress widget" |
| "Brainstorm ideas for CFI tools" | brainstorm | topic: "CFI tools" |
| "Move auth-refactor to Next" | move | slug: "auth-refactor", target: "Next" |
| "Delete deprecated-feature" | delete | slug: "deprecated-feature" |
| "Search for export features" | search | keywords: "export" |
</step><step number="4" name="vision_alignment_validation">
**4. Vision Alignment Validation**Validate feature against project vision before creating GitHub Issue.
Executes for: ADD and BRAINSTORM actions only
Validation checks:
- Out-of-scope check: Feature not in explicit exclusion list
- Vision alignment: Feature supports project vision (semantic analysis)
- Target user check: Feature serves documented target users
Decision tree:
Feature proposed
↓
overview.md present? → No → Skip validation, proceed to creation
↓ Yes
Extract: Vision, Out-of-Scope, Target Users
↓
Out-of-scope check → Match → Prompt: Skip/Update/Override
↓ No match
Vision alignment → Misaligned → Prompt: Add anyway/Revise/Skip
↓ Aligned
Target user check → Select primary user → Add role label
↓
✅ Validation passed → Proceed to GitHub Issue creationBlocking gates:
- Out-of-scope feature detected → User must skip, update overview.md, or provide justification
- Vision misalignment → User must revise, skip, or override with note
Overrides:
- Add ALIGNMENT_NOTE to issue body when user overrides validation
- Document justification for future reference
See: references/vision-validation.md for complete validation logic, prompts, and output examples
</step>
<step number="5" name="github_issue_creation">
**5. GitHub Issue Creation**Create GitHub Issue with metadata after vision validation passes.
Actions:
- Generate URL-friendly slug from title (max 30 chars)
- Check for duplicate slugs
- Extract area (backend, frontend, api, infra, design)
- Extract role (all, free, student, cfi, school)
- Create issue with YAML frontmatter metadata
- Auto-apply labels (area, role, type:feature, status:backlog)
Issue structure:
---
metadata:
area: app
role: student
slug: student-progress-widget
---
## Problem
[User pain point or need]
## Proposed Solution
[High-level approach]
## Requirements
- [ ] Requirement 1
- [ ] Requirement 2
---
⚠️ **Alignment Note**: Validated against project vision (overview.md)Prioritization:
- Features prioritized by creation order (oldest issue = highest priority)
- No ICE scoring required (creation timestamp determines priority)
- Top of Backlog = oldest unworked issue
Labels auto-applied:
area:$AREA- System area (backend, frontend, api, etc.)role:$ROLE- Target user roletype:feature- Issue typestatus:backlog- Initial status
See: references/issue-creation.md for bash/powershell scripts and examples
</step>
<step number="6" name="return_roadmap_summary">
**6. Return Roadmap Summary**Display current roadmap state and suggest next action.
Actions:
- Fetch all issues from GitHub via gh CLI
- Count features by status (Backlog, Next, In Progress, Shipped)
- Show top 3 features in Backlog (oldest first = highest priority)
- Suggest next action (/feature [oldest-slug])
Summary format:
✅ Created issue #123: student-progress-widget in Backlog
Area: app | Role: student
📊 Roadmap Summary:
Backlog: 12 | Next: 3 | In Progress: 2 | Shipped: 45
Top 3 in Backlog (oldest/highest priority):
1. #98 cfi-batch-export (Created: 2025-11-01)
2. #87 study-plan-generator (Created: 2025-11-05)
3. #123 student-progress-widget (Created: 2025-11-13)
💡 Next: /feature cfi-batch-exportPriority guidance:
- Work on oldest Backlog item first (creation-order prioritization)
- Move items to "Next" when ready to plan (3-5 item queue)
- Move to "In Progress" when actively implementing
- Close with "Shipped" label when deployed
</step>
</workflow><anti_patterns> Avoid these roadmap management mistakes:
<pitfall name="skip_vision_alignment">
**❌ Adding features without vision validation**
```bash
# BAD: Skip vision check, add any feature
HAS_PROJECT_DOCS=false # Force skip even if docs exist
/roadmap add "social media integration"
```
**✅ Always run vision validation when overview.md exists**
```bash
# GOOD: Load project docs, validate alignment
if [ -f "docs/project/overview.md" ]; then
HAS_PROJECT_DOCS=true
# Extract vision context, run validation
fi
```
**Impact:** Roadmap fills with out-of-scope features, dilutes project focus
**Prevention:** Never set `HAS_PROJECT_DOCS=false` if docs exist
</pitfall><pitfall name="override_out_of_scope_without_justification">
**❌ Overriding out-of-scope exclusions without updating docs**
```bash
# BAD: Add out-of-scope feature, provide vague justification
Feature: "flight scheduling"
Matches exclusion: "Flight scheduling or aircraft management"
Justification: "it would be nice to have"
```
**✅ Update overview.md if scope legitimately changed**
```bash
# GOOD: Update source docs first
# Edit docs/project/overview.md:
# - Remove "Flight scheduling" from Out-of-Scope section
# - Document scope expansion in Vision section
# Then add feature normally
```
**Impact:** Overview.md becomes outdated, vision validation unreliable
**Prevention:** Treat overview.md as source of truth, update before overriding
</pitfall><pitfall name="missing_metadata">
**❌ Manually creating GitHub Issues without metadata**
```bash
# BAD: Create issue via gh CLI directly
gh issue create --title "new feature" --body "description"
# Missing: area, role, slug, YAML frontmatter
```
**✅ Always use create_roadmap_issue() function**
```bash
# GOOD: Use roadmap manager function
create_roadmap_issue \
"$TITLE" \
"$BODY" \
"$AREA" \
"$ROLE" \
"$SLUG" \
"type:feature,status:backlog"
# Auto-adds metadata, labels, frontmatter
```
**Impact:** Cannot filter/search issues, roadmap state tracking breaks
**Prevention:** Never create roadmap issues manually, always use manager functions
</pitfall><pitfall name="duplicate_slugs">
**❌ Creating features with duplicate slugs**
```bash
# BAD: Don't check for existing slug
SLUG="user-auth"
create_roadmap_issue ... # Issue #50 already has slug "user-auth"
```
**✅ Check for duplicates before creation**
```bash
# GOOD: Validate slug uniqueness
EXISTING_ISSUE=$(get_issue_by_slug "$SLUG")
if [ -n "$EXISTING_ISSUE" ]; then
echo "⚠️ Slug '$SLUG' already exists (Issue #$EXISTING_ISSUE)"
SLUG="${SLUG}-v2" # Append version suffix
fi
```
**Impact:** Multiple issues with same slug, /feature command ambiguous
**Prevention:** Always call get_issue_by_slug() before creation
</pitfall><pitfall name="unclear_feature_descriptions">
**❌ Vague feature descriptions that fail vision check**
```bash
# BAD: Ambiguous description
FEATURE="Make it better for users"
# Vision validator cannot assess alignment
```
**✅ Use Problem + Solution + Requirements format**
```bash
# GOOD: Structured description
PROBLEM="Students struggle to track mastery across ACS areas"
SOLUTION="Add progress widget showing mastery percentage by area"
REQUIREMENTS="
- [ ] Display mastery % per ACS area
- [ ] Color-code by proficiency level
- [ ] Export progress report"
```
**Impact:** Vision alignment validation fails, feature rejected
**Prevention:** Prompt user for Problem/Solution/Requirements if description unclear
</pitfall><pitfall name="roadmap_state_sync_issues">
**❌ Not updating issue labels when feature progresses**
```bash
# BAD: Create spec but don't update GitHub Issue
/feature user-auth # Creates spec
# Issue #50 still has status:backlog (should be status:in-progress)
```
**✅ Update labels when feature state changes**
```bash
# GOOD: Mark in progress when spec created
mark_issue_in_progress "user-auth" # Updates to status:in-progress
# Later: mark_issue_shipped when deployed
```
**Impact:** Roadmap summary shows stale counts, misleading prioritization
**Prevention:** Hook /feature, /ship commands to update issue labels
</pitfall>
</anti_patterns><success_criteria> Roadmap management successful when:
- ✓ GitHub authenticated (gh CLI or GITHUB_TOKEN verified)
- ✓ Project documentation loaded (if docs/project/overview.md exists)
- ✓ Vision alignment validated (out-of-scope check, vision match, target user)
- ✓ Metadata extracted (area, role, slug from feature description)
- ✓ GitHub Issue created with YAML frontmatter metadata
- ✓ Labels auto-applied (area:, role:, type:feature, status:backlog)
- ✓ Roadmap summary displayed (counts by status, top 3 by creation order)
- ✓ Next action suggested (/feature [oldest-slug])
Quality gates passed:
- Out-of-scope gate: Feature not in explicit exclusion list (or override justified)
- Vision alignment gate: Feature supports project vision (or override justified)
- Duplicate check: Slug is unique across all issues
- Metadata completeness: Area, role, slug present in YAML frontmatter
Integration working:
- /roadmap feeds into /feature command (issue → spec)
- /feature updates issue labels (backlog → in-progress)
- /ship-prod marks issue as shipped (in-progress → closed with shipped label) </success_criteria>
<reference_guides> For detailed scripts, validation logic, and integration patterns:
- references/github-setup.md - Platform-specific authentication and initialization scripts (bash/powershell)
- references/vision-validation.md - Complete validation logic, decision tree, prompts, and output examples
- references/issue-creation.md - GitHub Issue creation scripts, metadata structure, label application
- references/project-integration.md - How roadmap integrates with /init-project, /feature, /ship workflows
Scripts:
.spec-flow/scripts/bash/github-roadmap-manager.sh.spec-flow/scripts/powershell/github-roadmap-manager.ps1
Command: .claude/commands/project/roadmap.md
</reference_guides>
<performance>
**Token budget per action:**
- ADD (with vision validation): ~8-12K tokens
- overview.md read: ~5-8K
- Vision alignment analysis: ~2-3K
- GitHub Issue creation: ~1K
- ADD (without docs): ~2-3K tokens
- BRAINSTORM (quick): ~15-20K tokens
- BRAINSTORM (deep): ~40-60K tokens
- MOVE/DELETE/SEARCH: ~1-2K tokensExecution time:
- ADD with vision check: 30-60 seconds
- MOVE/DELETE/SEARCH: <10 seconds
- BRAINSTORM quick: 30-60 seconds
- BRAINSTORM deep: 2-5 minutes
</performance>
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

