agileflow 2.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/package.json +61 -0
  2. package/src/core/agents/accessibility.md +445 -0
  3. package/src/core/agents/adr-writer.md +215 -0
  4. package/src/core/agents/analytics.md +523 -0
  5. package/src/core/agents/api.md +484 -0
  6. package/src/core/agents/ci.md +452 -0
  7. package/src/core/agents/compliance.md +401 -0
  8. package/src/core/agents/context7.md +164 -0
  9. package/src/core/agents/database.md +377 -0
  10. package/src/core/agents/datamigration.md +565 -0
  11. package/src/core/agents/design.md +400 -0
  12. package/src/core/agents/devops.md +576 -0
  13. package/src/core/agents/documentation.md +229 -0
  14. package/src/core/agents/epic-planner.md +277 -0
  15. package/src/core/agents/integrations.md +459 -0
  16. package/src/core/agents/mentor.md +375 -0
  17. package/src/core/agents/mobile.md +391 -0
  18. package/src/core/agents/monitoring.md +430 -0
  19. package/src/core/agents/performance.md +390 -0
  20. package/src/core/agents/product.md +311 -0
  21. package/src/core/agents/qa.md +647 -0
  22. package/src/core/agents/readme-updater.md +325 -0
  23. package/src/core/agents/refactor.md +432 -0
  24. package/src/core/agents/research.md +250 -0
  25. package/src/core/agents/security.md +379 -0
  26. package/src/core/agents/testing.md +397 -0
  27. package/src/core/agents/ui.md +999 -0
  28. package/src/core/commands/adr.md +32 -0
  29. package/src/core/commands/agent.md +23 -0
  30. package/src/core/commands/assign.md +34 -0
  31. package/src/core/commands/auto.md +364 -0
  32. package/src/core/commands/babysit.md +1357 -0
  33. package/src/core/commands/baseline.md +520 -0
  34. package/src/core/commands/blockers.md +343 -0
  35. package/src/core/commands/board.md +241 -0
  36. package/src/core/commands/changelog.md +321 -0
  37. package/src/core/commands/ci.md +36 -0
  38. package/src/core/commands/compress.md +270 -0
  39. package/src/core/commands/context.md +222 -0
  40. package/src/core/commands/debt.md +268 -0
  41. package/src/core/commands/deploy.md +544 -0
  42. package/src/core/commands/deps.md +560 -0
  43. package/src/core/commands/diagnose.md +227 -0
  44. package/src/core/commands/docs.md +166 -0
  45. package/src/core/commands/epic.md +40 -0
  46. package/src/core/commands/feedback.md +307 -0
  47. package/src/core/commands/handoff.md +33 -0
  48. package/src/core/commands/help.md +90 -0
  49. package/src/core/commands/impact.md +204 -0
  50. package/src/core/commands/metrics.md +530 -0
  51. package/src/core/commands/packages.md +369 -0
  52. package/src/core/commands/pr.md +35 -0
  53. package/src/core/commands/readme-sync.md +168 -0
  54. package/src/core/commands/research.md +30 -0
  55. package/src/core/commands/resume.md +475 -0
  56. package/src/core/commands/retro.md +538 -0
  57. package/src/core/commands/review.md +364 -0
  58. package/src/core/commands/session-init.md +532 -0
  59. package/src/core/commands/setup.md +708 -0
  60. package/src/core/commands/sprint.md +490 -0
  61. package/src/core/commands/status.md +38 -0
  62. package/src/core/commands/story-validate.md +242 -0
  63. package/src/core/commands/story.md +38 -0
  64. package/src/core/commands/template.md +458 -0
  65. package/src/core/commands/tests.md +359 -0
  66. package/src/core/commands/update.md +407 -0
  67. package/src/core/commands/velocity.md +369 -0
  68. package/src/core/commands/verify.md +283 -0
  69. package/src/core/skills/acceptance-criteria-generator/SKILL.md +46 -0
  70. package/src/core/skills/adr-template/SKILL.md +62 -0
  71. package/src/core/skills/agileflow-acceptance-criteria/SKILL.md +156 -0
  72. package/src/core/skills/agileflow-adr/SKILL.md +147 -0
  73. package/src/core/skills/agileflow-adr/examples/database-choice-example.md +122 -0
  74. package/src/core/skills/agileflow-adr/templates/adr-template.md +69 -0
  75. package/src/core/skills/agileflow-commit-messages/SKILL.md +130 -0
  76. package/src/core/skills/agileflow-commit-messages/reference/bad-examples.md +168 -0
  77. package/src/core/skills/agileflow-commit-messages/reference/good-examples.md +120 -0
  78. package/src/core/skills/agileflow-commit-messages/scripts/check-attribution.sh +15 -0
  79. package/src/core/skills/agileflow-epic-planner/SKILL.md +184 -0
  80. package/src/core/skills/agileflow-retro-facilitator/SKILL.md +281 -0
  81. package/src/core/skills/agileflow-sprint-planner/SKILL.md +212 -0
  82. package/src/core/skills/agileflow-story-writer/SKILL.md +163 -0
  83. package/src/core/skills/agileflow-story-writer/examples/good-story-example.md +63 -0
  84. package/src/core/skills/agileflow-story-writer/templates/story-template.md +44 -0
  85. package/src/core/skills/agileflow-tech-debt/SKILL.md +215 -0
  86. package/src/core/skills/api-documentation-generator/SKILL.md +65 -0
  87. package/src/core/skills/changelog-entry/SKILL.md +55 -0
  88. package/src/core/skills/commit-message-formatter/SKILL.md +50 -0
  89. package/src/core/skills/deployment-guide-generator/SKILL.md +84 -0
  90. package/src/core/skills/diagram-generator/SKILL.md +65 -0
  91. package/src/core/skills/error-handler-template/SKILL.md +78 -0
  92. package/src/core/skills/migration-checklist/SKILL.md +82 -0
  93. package/src/core/skills/pr-description/SKILL.md +65 -0
  94. package/src/core/skills/sql-schema-generator/SKILL.md +69 -0
  95. package/src/core/skills/story-skeleton/SKILL.md +34 -0
  96. package/src/core/skills/test-case-generator/SKILL.md +63 -0
  97. package/src/core/skills/type-definitions/SKILL.md +65 -0
  98. package/src/core/skills/validation-schema-generator/SKILL.md +64 -0
  99. package/src/core/templates/README-template.md +16 -0
  100. package/src/core/templates/adr-template.md +28 -0
  101. package/src/core/templates/agent-profile-template.md +51 -0
  102. package/src/core/templates/agileflow-metadata.json +41 -0
  103. package/src/core/templates/ci-workflow.yml +74 -0
  104. package/src/core/templates/claude-settings.advanced.example.json +71 -0
  105. package/src/core/templates/claude-settings.example.json +26 -0
  106. package/src/core/templates/comms-note-template.md +24 -0
  107. package/src/core/templates/environment.json +18 -0
  108. package/src/core/templates/epic-template.md +27 -0
  109. package/src/core/templates/init.sh +76 -0
  110. package/src/core/templates/research-template.md +44 -0
  111. package/src/core/templates/resume-session.sh +121 -0
  112. package/src/core/templates/session-state.json +20 -0
  113. package/src/core/templates/skill-template.md +75 -0
  114. package/src/core/templates/story-template.md +88 -0
  115. package/src/core/templates/validate-tokens.sh +88 -0
  116. package/src/core/templates/worktree-create.sh +111 -0
  117. package/src/core/templates/worktrees-guide.md +235 -0
  118. package/tools/agileflow-npx.js +40 -0
  119. package/tools/cli/agileflow-cli.js +70 -0
  120. package/tools/cli/commands/doctor.js +243 -0
  121. package/tools/cli/commands/install.js +82 -0
  122. package/tools/cli/commands/status.js +121 -0
  123. package/tools/cli/commands/uninstall.js +110 -0
  124. package/tools/cli/commands/update.js +99 -0
  125. package/tools/cli/installers/core/installer.js +296 -0
  126. package/tools/cli/installers/ide/_base-ide.js +133 -0
  127. package/tools/cli/installers/ide/claude-code.js +174 -0
  128. package/tools/cli/installers/ide/cursor.js +189 -0
  129. package/tools/cli/installers/ide/manager.js +197 -0
  130. package/tools/cli/installers/ide/windsurf.js +192 -0
  131. package/tools/cli/lib/ui.js +203 -0
  132. package/tools/cli/lib/version-checker.js +95 -0
  133. package/tools/postinstall.js +141 -0
@@ -0,0 +1,168 @@
1
+ # Bad Commit Message Examples (and How to Fix Them)
2
+
3
+ ## ❌ Too Vague
4
+
5
+ ```
6
+ fix: fix bug
7
+ ```
8
+
9
+ **Problem**: Doesn't explain what bug was fixed
10
+ **Better**:
11
+ ```
12
+ fix(auth): prevent session timeout during active use
13
+
14
+ Fixed bug where user sessions expired after 30 minutes
15
+ even during active usage. Now sessions extend while user
16
+ is interacting with the application.
17
+
18
+ Fixes #456
19
+ ```
20
+
21
+ ## ❌ Wrong Tense
22
+
23
+ ```
24
+ feat: added dark mode
25
+ ```
26
+
27
+ **Problem**: Should be imperative mood ("add" not "added")
28
+ **Better**:
29
+ ```
30
+ feat(ui): add dark mode toggle
31
+
32
+ Implemented dark mode with localStorage persistence
33
+ and system preference detection.
34
+
35
+ Closes #789
36
+ ```
37
+
38
+ ## ❌ Subject Too Long
39
+
40
+ ```
41
+ feat: add a new user profile editing feature that allows users to update their name, email, and profile picture
42
+ ```
43
+
44
+ **Problem**: Subject exceeds 50 characters, should be concise
45
+ **Better**:
46
+ ```
47
+ feat(profile): add user profile editing
48
+
49
+ Users can now update their name, email, and profile
50
+ picture from the settings page. Changes are validated
51
+ server-side and saved to the database.
52
+
53
+ Closes #123
54
+ ```
55
+
56
+ ## ❌ No Type
57
+
58
+ ```
59
+ update README
60
+ ```
61
+
62
+ **Problem**: Missing type prefix
63
+ **Better**:
64
+ ```
65
+ docs(readme): add API authentication examples
66
+
67
+ Added code examples showing how to authenticate API
68
+ requests using JWT tokens.
69
+ ```
70
+
71
+ ## ❌ Multiple Unrelated Changes
72
+
73
+ ```
74
+ feat: add login and fix cart bug and update dependencies
75
+ ```
76
+
77
+ **Problem**: Should be 3 separate commits
78
+ **Better**: Split into:
79
+ ```
80
+ feat(auth): add user login functionality
81
+ ```
82
+ ```
83
+ fix(cart): resolve item duplication issue
84
+ ```
85
+ ```
86
+ chore(deps): update npm packages to latest versions
87
+ ```
88
+
89
+ ## ❌ Description of HOW Instead of WHY
90
+
91
+ ```
92
+ fix: changed if statement to switch statement
93
+ ```
94
+
95
+ **Problem**: Describes implementation detail, not the reason
96
+ **Better**:
97
+ ```
98
+ refactor(validation): simplify input validation logic
99
+
100
+ Replaced nested if statements with switch statement
101
+ for better readability and easier maintenance. No
102
+ functional changes.
103
+ ```
104
+
105
+ ## ❌ Capitalized Subject
106
+
107
+ ```
108
+ feat: Add Dark Mode Support
109
+ ```
110
+
111
+ **Problem**: Subject should be lowercase
112
+ **Better**:
113
+ ```
114
+ feat(ui): add dark mode support
115
+ ```
116
+
117
+ ## ❌ Period at End of Subject
118
+
119
+ ```
120
+ fix: resolve login timeout issue.
121
+ ```
122
+
123
+ **Problem**: Subject shouldn't end with period
124
+ **Better**:
125
+ ```
126
+ fix(auth): resolve login timeout issue
127
+
128
+ Increased session timeout from 15 to 30 minutes to
129
+ prevent premature logouts during form filling.
130
+
131
+ Fixes #567
132
+ ```
133
+
134
+ ## ❌ No Context
135
+
136
+ ```
137
+ fix: it works now
138
+ ```
139
+
140
+ **Problem**: Completely uninformative
141
+ **Better**:
142
+ ```
143
+ fix(payment): resolve Stripe webhook signature validation
144
+
145
+ Fixed HMAC signature verification by using raw request
146
+ body instead of parsed JSON. Webhooks now process correctly.
147
+
148
+ Fixes #890
149
+ ```
150
+
151
+ ## ❌ Missing Issue Reference
152
+
153
+ ```
154
+ feat: add two-factor authentication
155
+
156
+ Implemented TOTP-based 2FA with QR code generation.
157
+ ```
158
+
159
+ **Problem**: Should reference the issue/story
160
+ **Better**:
161
+ ```
162
+ feat(auth): add two-factor authentication
163
+
164
+ Implemented TOTP-based 2FA with QR code generation
165
+ for enhanced account security.
166
+
167
+ Closes #234, STORY-042
168
+ ```
@@ -0,0 +1,120 @@
1
+ # Good Commit Message Examples
2
+
3
+ ## Simple Feature Addition
4
+
5
+ ```
6
+ feat(auth): add password reset via email
7
+
8
+ Users can now request a password reset link sent to their
9
+ registered email address. The link expires after 1 hour.
10
+
11
+ Closes #456
12
+ ```
13
+
14
+ ## Bug Fix with Context
15
+
16
+ ```
17
+ fix(cart): prevent duplicate items in shopping cart
18
+
19
+ Fixed race condition where clicking "Add to Cart" rapidly
20
+ could add the same item multiple times. Added debouncing
21
+ and server-side validation.
22
+
23
+ Fixes #789
24
+ ```
25
+
26
+ ## Refactoring with Explanation
27
+
28
+ ```
29
+ refactor(api): extract authentication middleware
30
+
31
+ Moved authentication logic from individual route handlers
32
+ into reusable middleware. This reduces code duplication
33
+ and makes auth logic easier to maintain and test.
34
+
35
+ No behavioral changes.
36
+ ```
37
+
38
+ ## Breaking Change
39
+
40
+ ```
41
+ feat(api)!: migrate to v2 response format
42
+
43
+ BREAKING CHANGE: All API endpoints now return data wrapped
44
+ in a standardized envelope format.
45
+
46
+ Before: { id: 1, name: "..." }
47
+ After: { data: { id: 1, name: "..." }, meta: { version: 2 } }
48
+
49
+ Migration guide: docs/api-v2-migration.md
50
+
51
+ Closes #234
52
+ ```
53
+
54
+ ## Multiple Related Changes
55
+
56
+ ```
57
+ feat(profile): add profile editing and avatar upload
58
+
59
+ - Implemented profile form with field validation
60
+ - Added avatar upload with client-side image cropping
61
+ - Created PUT /api/users/:id endpoint
62
+ - Added error handling for file size limits
63
+ - Wrote unit tests for profile update logic
64
+
65
+ Closes #123, #124
66
+ ```
67
+
68
+ ## Documentation
69
+
70
+ ```
71
+ docs(readme): add installation instructions for Docker
72
+
73
+ Added step-by-step guide for running the application
74
+ in Docker containers, including environment variable
75
+ configuration and volume mounting.
76
+ ```
77
+
78
+ ## Performance Improvement
79
+
80
+ ```
81
+ perf(db): add index on user email column
82
+
83
+ Query performance for user lookup by email improved from
84
+ ~500ms to ~5ms. Added composite index on (email, status)
85
+ for common query patterns.
86
+ ```
87
+
88
+ ## Dependency Update
89
+
90
+ ```
91
+ chore(deps): upgrade React to v18.2
92
+
93
+ Updated React and React DOM to latest stable version.
94
+ Migrated deprecated lifecycle methods in UserProfile
95
+ and Dashboard components.
96
+
97
+ Tested with full E2E suite - all tests passing.
98
+ ```
99
+
100
+ ## CI/CD Change
101
+
102
+ ```
103
+ ci(github): add automated dependency updates
104
+
105
+ Configured Dependabot to create PRs for npm package
106
+ updates weekly. Auto-merge enabled for patch updates
107
+ that pass all tests.
108
+ ```
109
+
110
+ ## Revert
111
+
112
+ ```
113
+ revert: feat(payments): add Stripe integration
114
+
115
+ This reverts commit abc123def456.
116
+
117
+ Stripe webhook validation is failing in production.
118
+ Reverting to investigate HMAC signature verification
119
+ before re-deploying.
120
+ ```
@@ -0,0 +1,15 @@
1
+ #!/bin/bash
2
+ # check-attribution.sh
3
+ # Determines if Claude Code attribution should be added to git commits
4
+ # Returns "yes" if attribution should be added, "no" if it should not
5
+
6
+ if [ -f CLAUDE.md ]; then
7
+ if grep -q "DO NOT ADD AI ATTRIBUTION" CLAUDE.md; then
8
+ echo "no"
9
+ else
10
+ echo "yes"
11
+ fi
12
+ else
13
+ # Default to adding attribution if no CLAUDE.md exists
14
+ echo "yes"
15
+ fi
@@ -0,0 +1,184 @@
1
+ ---
2
+ name: epic-planner
3
+ description: Breaks down large features into properly-scoped epics with milestones and story groupings. Loads when user describes major features or initiatives.
4
+ ---
5
+
6
+ # AgileFlow Epic Planner
7
+
8
+ Automatically structures large features or initiatives into epics, breaking them down into logical story groupings and milestones.
9
+
10
+ ## When to Use
11
+
12
+ This skill activates when:
13
+ - User describes a large feature spanning multiple sprints
14
+ - Discussing a major initiative or project
15
+ - Keywords: "epic", "initiative", "theme", "big feature", "multi-month project"
16
+ - Feature seems too large to be a single story (>13 story points)
17
+
18
+ ## What This Does
19
+
20
+ 1. Detects large feature descriptions
21
+ 2. Asks clarifying questions (problem, timeline, success metrics)
22
+ 3. Breaks down into logical milestones (MVP, Phase 2, Polish)
23
+ 4. Estimates effort and suggests timeline
24
+ 5. Creates epic file in docs/05-epics/
25
+
26
+ ## Instructions
27
+
28
+ 1. **Ask clarifying questions**:
29
+ - "What's the main problem you're solving?"
30
+ - "Who are the users?"
31
+ - "What's the timeline/urgency?"
32
+ - "What defines success?"
33
+
34
+ 2. **Break down into logical chunks**:
35
+ - Identify milestones (MVP, Phase 2, Polish)
36
+ - Group related functionality
37
+ - Ensure each milestone delivers value
38
+
39
+ 3. **Create epic structure**:
40
+ - Read existing epics for numbering
41
+ - Write epic file in `docs/05-epics/`
42
+ - Outline stories (create skeleton, defer details)
43
+
44
+ 4. **Estimate effort**:
45
+ - Rough story point estimates
46
+ - Calculate milestone totals
47
+ - Suggest timeline based on team velocity
48
+
49
+ ## Epic Format
50
+
51
+ ```markdown
52
+ # [EPIC-###] Title
53
+
54
+ **Status**: PLANNING | ACTIVE | ON_HOLD | COMPLETED
55
+ **Owner**: Product Owner / Team Lead
56
+ **Start Date**: YYYY-MM-DD
57
+ **Target Completion**: YYYY-MM-DD
58
+ **Priority**: P0 | P1 | P2 | P3
59
+ **Business Value**: High | Medium | Low
60
+
61
+ ## Problem Statement
62
+
63
+ [What problem does this epic solve? Why is it important?]
64
+
65
+ ## Goals and Objectives
66
+
67
+ - [Goal 1: Specific, measurable outcome]
68
+ - [Goal 2: Business or user metric to improve]
69
+ - [Goal 3: Strategic alignment]
70
+
71
+ ## Success Metrics
72
+
73
+ - [Metric 1: e.g., 20% increase in user engagement]
74
+ - [Metric 2: e.g., Reduce support tickets by 30%]
75
+
76
+ ## User Stories
77
+
78
+ ### Milestone 1: [Name] (Target: YYYY-MM-DD)
79
+ - [ ] [STORY-###: Title](../06-stories/STORY-###-title.md) - 5 pts
80
+ - [ ] [STORY-###: Title](../06-stories/STORY-###-title.md) - 8 pts
81
+ **Total: 16 story points**
82
+
83
+ ### Milestone 2: [Name] (Target: YYYY-MM-DD)
84
+ - [ ] [STORY-###: Title](../06-stories/STORY-###-title.md) - 5 pts
85
+ - [ ] [STORY-###: Title](../06-stories/STORY-###-title.md) - 8 pts
86
+ **Total: 13 story points**
87
+
88
+ ## Dependencies
89
+
90
+ - [Dependency 1: What needs to be done first]
91
+ - [Dependency 2: External team dependencies]
92
+ - [Dependency 3: Technical prerequisites]
93
+
94
+ ## Risks and Assumptions
95
+
96
+ **Risks**:
97
+ - [Risk 1: What could go wrong]
98
+ - [Risk 2: Mitigation plan]
99
+
100
+ **Assumptions**:
101
+ - [Assumption 1: What we're assuming is true]
102
+ - [Assumption 2: Needs validation]
103
+
104
+ ## Out of Scope
105
+
106
+ - [What we're explicitly NOT doing in this epic]
107
+ - [Features deferred to future epics]
108
+
109
+ ## Progress Tracking
110
+
111
+ **Overall Progress**: X / Y stories completed (Z%)
112
+ **Last Updated**: YYYY-MM-DD
113
+ ```
114
+
115
+ ## Epic vs Story
116
+
117
+ **This Should Be an Epic If**:
118
+ - Takes more than 1-2 sprints (>13 story points total)
119
+ - Involves multiple team members or subteams
120
+ - Has distinct phases or milestones
121
+ - Requires coordination across different areas (UI, API, DevOps)
122
+ - Has significant business impact or strategic value
123
+
124
+ **This Should Be a Story If**:
125
+ - Can be completed in one sprint
126
+ - Single developer can own it
127
+ - Clear, specific acceptance criteria
128
+ - One or two related tasks
129
+
130
+ ## Milestone Planning
131
+
132
+ - **Milestone 1: MVP** - Core functionality only, simplest path to value
133
+ - **Milestone 2: Feature Complete** - All planned functionality, edge cases handled
134
+ - **Milestone 3: Polish & Optimization** - Performance, UX enhancements, accessibility
135
+
136
+ ## Epic Size Guidelines
137
+
138
+ - **Small Epic**: 15-30 story points (1-2 sprints)
139
+ - **Medium Epic**: 30-60 story points (2-4 sprints)
140
+ - **Large Epic**: 60-100 story points (4-6 sprints)
141
+ - **Initiative**: >100 story points (break into multiple epics)
142
+
143
+ ## Quality Checklist
144
+
145
+ Before creating epic:
146
+ - [ ] Problem statement is clear and specific
147
+ - [ ] Goals are measurable
148
+ - [ ] Success metrics defined
149
+ - [ ] At least 2 milestones planned
150
+ - [ ] Stories grouped logically
151
+ - [ ] Dependencies identified
152
+ - [ ] Risks acknowledged with mitigations
153
+ - [ ] Out-of-scope explicitly stated
154
+
155
+ ## Risk Management
156
+
157
+ **Common Risks**:
158
+ - **Scope creep**: Clearly define out-of-scope items
159
+ - **Technical unknowns**: Spike stories for research
160
+ - **Resource constraints**: Buffer time in estimates
161
+ - **Dependency delays**: Identify critical path early
162
+
163
+ **Risk Format**:
164
+ ```markdown
165
+ **Risks**:
166
+ - **Risk**: Integration with legacy system may be complex
167
+ **Impact**: High (could delay Milestone 2 by 2 weeks)
168
+ **Mitigation**: Allocate spike story to investigate (5 pts)
169
+ **Owner**: Backend Lead
170
+ ```
171
+
172
+ ## Integration
173
+
174
+ - **agileflow-story-writer**: Creates individual stories for the epic
175
+ - **agileflow-sprint-planner**: Assigns stories to sprints
176
+ - **agileflow-adr**: Links architectural decisions made during epic
177
+
178
+ ## Notes
179
+
180
+ - Epics are living documents - update as you learn
181
+ - Don't over-plan - detail emerges during execution
182
+ - Review epic scope at sprint planning
183
+ - Celebrate milestone completions
184
+ - Link to ADRs for major technical decisions