agcel 1.0.1

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 (100) hide show
  1. package/.agent/workflows/api-gen.md +59 -0
  2. package/.agent/workflows/architect.md +44 -0
  3. package/.agent/workflows/brainstorm.md +223 -0
  4. package/.agent/workflows/build.md +38 -0
  5. package/.agent/workflows/changelog.md +51 -0
  6. package/.agent/workflows/checkpoint.md +138 -0
  7. package/.agent/workflows/commit.md +223 -0
  8. package/.agent/workflows/debug.md +57 -0
  9. package/.agent/workflows/deploy.md +76 -0
  10. package/.agent/workflows/doc.md +247 -0
  11. package/.agent/workflows/execute-plan.md +225 -0
  12. package/.agent/workflows/feature.md +255 -0
  13. package/.agent/workflows/fix.md +323 -0
  14. package/.agent/workflows/help.md +63 -0
  15. package/.agent/workflows/index.md +148 -0
  16. package/.agent/workflows/load.md +112 -0
  17. package/.agent/workflows/mode.md +170 -0
  18. package/.agent/workflows/optimize.md +53 -0
  19. package/.agent/workflows/plan.md +337 -0
  20. package/.agent/workflows/pr.md +74 -0
  21. package/.agent/workflows/product-plan.md +36 -0
  22. package/.agent/workflows/production-deploy.md +39 -0
  23. package/.agent/workflows/refactor.md +63 -0
  24. package/.agent/workflows/research.md +116 -0
  25. package/.agent/workflows/review.md +344 -0
  26. package/.agent/workflows/security-scan.md +56 -0
  27. package/.agent/workflows/ship.md +221 -0
  28. package/.agent/workflows/spawn.md +177 -0
  29. package/.agent/workflows/status.md +59 -0
  30. package/.agent/workflows/tdd.md +139 -0
  31. package/.agent/workflows/test.md +340 -0
  32. package/.agent/workflows/verify.md +35 -0
  33. package/LICENSE +21 -0
  34. package/README.md +67 -0
  35. package/dist/commands/init.js +142 -0
  36. package/dist/commands/install.js +98 -0
  37. package/dist/commands/list.js +49 -0
  38. package/dist/commands/restart.js +17 -0
  39. package/dist/commands/start.js +41 -0
  40. package/dist/commands/status.js +24 -0
  41. package/dist/commands/stop.js +29 -0
  42. package/dist/commands/uninstall.js +78 -0
  43. package/dist/index.js +58 -0
  44. package/dist/server/index.js +174 -0
  45. package/dist/utils/index.js +63 -0
  46. package/package.json +54 -0
  47. package/skills/api-security-best-practices/SKILL.md +291 -0
  48. package/skills/api-security-best-practices/references/examples.md +617 -0
  49. package/skills/architecture/SKILL.md +59 -0
  50. package/skills/architecture/context-discovery.md +43 -0
  51. package/skills/architecture/examples.md +94 -0
  52. package/skills/architecture/pattern-selection.md +68 -0
  53. package/skills/architecture/patterns-reference.md +50 -0
  54. package/skills/architecture/trade-off-analysis.md +77 -0
  55. package/skills/aws-serverless/SKILL.md +327 -0
  56. package/skills/brainstorming/SKILL.md +234 -0
  57. package/skills/c4-context/SKILL.md +154 -0
  58. package/skills/ci-cd-engineer/SKILL.md +50 -0
  59. package/skills/code-auditing/SKILL.md +55 -0
  60. package/skills/copywriting/SKILL.md +248 -0
  61. package/skills/database-engineer/SKILL.md +47 -0
  62. package/skills/doc-coauthoring/SKILL.md +379 -0
  63. package/skills/docker-expert/SKILL.md +412 -0
  64. package/skills/langgraph/SKILL.md +291 -0
  65. package/skills/postgresql/SKILL.md +73 -0
  66. package/skills/pricing-strategy/SKILL.md +360 -0
  67. package/skills/product-manager/SKILL.md +57 -0
  68. package/skills/prompt-engineer/README.md +659 -0
  69. package/skills/prompt-engineer/SKILL.md +256 -0
  70. package/skills/python-patterns/SKILL.md +445 -0
  71. package/skills/qa-engineer/SKILL.md +42 -0
  72. package/skills/rag-engineer/SKILL.md +94 -0
  73. package/skills/react-patterns/SKILL.md +202 -0
  74. package/skills/secure-refactoring/SKILL.md +54 -0
  75. package/skills/security-documentation/SKILL.md +53 -0
  76. package/skills/senior-architect/SKILL.md +213 -0
  77. package/skills/senior-architect/references/architecture_patterns.md +103 -0
  78. package/skills/senior-architect/references/system_design_workflows.md +103 -0
  79. package/skills/senior-architect/references/tech_decision_guide.md +103 -0
  80. package/skills/senior-architect/scripts/architecture_diagram_generator.py +114 -0
  81. package/skills/senior-architect/scripts/dependency_analyzer.py +114 -0
  82. package/skills/senior-architect/scripts/project_architect.py +114 -0
  83. package/skills/seo-audit/SKILL.md +491 -0
  84. package/skills/sql-injection-testing/SKILL.md +452 -0
  85. package/skills/test-driven-development/SKILL.md +375 -0
  86. package/skills/test-driven-development/testing-anti-patterns.md +299 -0
  87. package/skills/test-fixing/SKILL.md +123 -0
  88. package/skills/testing-patterns/SKILL.md +263 -0
  89. package/skills/typescript-expert/SKILL.md +202 -0
  90. package/skills/typescript-expert/references/advanced-topics.md +252 -0
  91. package/skills/typescript-expert/references/tsconfig-strict.json +92 -0
  92. package/skills/typescript-expert/references/typescript-cheatsheet.md +383 -0
  93. package/skills/typescript-expert/references/utility-types.ts +335 -0
  94. package/skills/typescript-expert/scripts/ts_diagnostic.py +203 -0
  95. package/skills/ui-ux-designer/SKILL.md +46 -0
  96. package/skills/vercel-deployment/SKILL.md +83 -0
  97. package/skills/vulnerability-scanner/SKILL.md +280 -0
  98. package/skills/vulnerability-scanner/checklists.md +121 -0
  99. package/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
  100. package/skills/writing-plans/SKILL.md +120 -0
@@ -0,0 +1,59 @@
1
+ # /api-gen - API Generation Command
2
+
3
+ ## Purpose
4
+
5
+ Generate API endpoints, documentation, or client code from specifications.
6
+
7
+ ## Usage
8
+
9
+ ```
10
+ /api-gen [resource name or OpenAPI spec path]
11
+ ```
12
+
13
+ ---
14
+
15
+ Generate API for: **$ARGUMENTS**
16
+
17
+ ## Workflow
18
+
19
+ ### Step 1: Define Resource
20
+
21
+ 1. Identify resource properties
22
+ 2. Define relationships
23
+ 3. Determine operations
24
+
25
+ ### Step 2: Generate
26
+
27
+ 1. Create model/schema
28
+ 2. Create routes/endpoints
29
+ 3. Add validation
30
+ 4. Generate tests
31
+
32
+ ### Step 3: Document
33
+
34
+ 1. Create OpenAPI spec
35
+ 2. Add examples
36
+ 3. Document errors
37
+
38
+ ## Output
39
+
40
+ ```markdown
41
+ ## API Generated
42
+
43
+ ### Endpoints
44
+ | Method | Path | Description |
45
+ |--------|------|-------------|
46
+ | GET | /resources | List all |
47
+ | POST | /resources | Create |
48
+ | GET | /resources/:id | Get one |
49
+
50
+ ### Files Created
51
+ - `src/models/resource.ts`
52
+ - `src/routes/resource.ts`
53
+ - `tests/resource.test.ts`
54
+ - `docs/api/resource.md`
55
+ ```
56
+
57
+
58
+ ## Gap Analysis Rule
59
+ Always identify gaps and suggest next steps to users. In case there is no gaps anymore, then AI should clearly state that there is no gap left.
@@ -0,0 +1,44 @@
1
+ ---
2
+ description: System Architecture and Design
3
+ ---
4
+
5
+ # /architect Workflow
6
+
7
+ This workflow defines the technical architecture based on the PRD.
8
+
9
+ ## Prerequisites
10
+ - A `PRD.md` file should exist or the user should provide detailed requirements.
11
+
12
+ ## Steps
13
+
14
+ 1. **System Design**
15
+ - Use key: `senior-architect`
16
+ - Goal: Define system components, data flow, and technology choices.
17
+ - Output: High-level architecture description.
18
+
19
+ 2. **Visual Context**
20
+ - Use key: `c4-context`
21
+ - Goal: Generate a C4 Context diagram to visualize system boundaries.
22
+ - Instruction: Use Mermaid.js syntax for diagrams.
23
+
24
+ 3. **Database Design**
25
+ - Use key: `database-engineer` (New Skill)
26
+ - Goal: Design the database schema (ERD or JSON structure).
27
+ - Output: SQL schema or collection design.
28
+
29
+ 4. **Security Review**
30
+ - Use key: `api-security-best-practices`
31
+ - Goal: Review the proposed architecture for potential security flaws early.
32
+ - Output: Security recommendations.
33
+
34
+ 5. **Documentation**
35
+ - Use key: `architecture`
36
+ - Goal: Document the Architecture Decision Records (ADRs) and final design.
37
+ - Instruction: Create `ARCHITECTURE.md` with the full design.
38
+
39
+ ## Iron Rules
40
+ 1. If there is anything unclear, ask the user instead of inventing new stuff. Unless the user explicitly tells the AI to invent or suggest ideas.
41
+
42
+
43
+ ## Gap Analysis Rule
44
+ Always identify gaps and suggest next steps to users. In case there is no gaps anymore, then AI should clearly state that there is no gap left.
@@ -0,0 +1,223 @@
1
+ # /brainstorm - Interactive Design Session
2
+
3
+ ## Purpose
4
+
5
+ Start an interactive brainstorming session using the one-question-at-a-time methodology. Refine rough ideas into fully-formed designs through collaborative dialogue.
6
+
7
+ ## Usage
8
+
9
+ ```
10
+ /brainstorm [topic or feature to design]
11
+ ```
12
+
13
+ ## Arguments
14
+
15
+ - `$ARGUMENTS`: The topic, feature, or problem to brainstorm about
16
+
17
+ ---
18
+
19
+ Start interactive brainstorming session for: **$ARGUMENTS**
20
+
21
+ ## Methodology
22
+
23
+ **Reference**: `.claude/skills/methodology/brainstorming/SKILL.md`
24
+
25
+ This command uses the superpowers brainstorming methodology for optimal results.
26
+
27
+ ## Workflow
28
+
29
+ ### Phase 1: Understanding
30
+
31
+ **Goal**: Clarify requirements through sequential questioning.
32
+
33
+ **Rules**:
34
+ 1. Ask **ONE question per message**
35
+ 2. Wait for user response before next question
36
+ 3. Prefer **multiple-choice** over open-ended questions
37
+ 4. Break complex topics into multiple questions
38
+
39
+ **Example interaction**:
40
+ ```
41
+ Claude: "What type of authentication should we support?
42
+ a) Username/password only
43
+ b) OAuth providers (Google, GitHub)
44
+ c) Both options
45
+ d) Magic link (passwordless)"
46
+
47
+ User: "b"
48
+
49
+ Claude: "Which OAuth providers should we integrate?
50
+ a) Google only
51
+ b) GitHub only
52
+ c) Both Google and GitHub
53
+ d) Let me specify others..."
54
+ ```
55
+
56
+ ### Phase 2: Exploration
57
+
58
+ **Goal**: Present alternatives with clear trade-offs.
59
+
60
+ Present 2-3 approaches:
61
+ - Lead with recommended option
62
+ - Explain trade-offs for each
63
+ - Let user choose direction
64
+
65
+ ```markdown
66
+ ## Approach 1: JWT-based (Recommended)
67
+ - Stateless, scalable
68
+ - Cons: Can't revoke instantly
69
+
70
+ ## Approach 2: Session-based
71
+ - Easy revocation
72
+ - Cons: Requires session store
73
+
74
+ Which approach aligns better with your goals?
75
+ ```
76
+
77
+ ### Phase 3: Design Presentation
78
+
79
+ **Goal**: Present validated design incrementally.
80
+
81
+ **Rules**:
82
+ - Break into **200-300 word sections**
83
+ - Validate after each section
84
+ - Cover: architecture, components, data flow, error handling, testing
85
+
86
+ **Sections to present**:
87
+ 1. Architecture overview
88
+ 2. Component breakdown
89
+ 3. Data flow
90
+ 4. Error handling
91
+ 5. Testing considerations
92
+
93
+ ## Core Principles
94
+
95
+ ### YAGNI Ruthlessly
96
+
97
+ Remove unnecessary features aggressively:
98
+ - Question every "nice to have"
99
+ - Start with minimal viable design
100
+ - "We might need this later" = remove it
101
+
102
+ ### One Question at a Time
103
+
104
+ Sequential questioning produces better results:
105
+ - Gives user time to think deeply
106
+ - Prevents overwhelming with choices
107
+ - Creates natural conversation flow
108
+
109
+ ### Multiple-Choice Preference
110
+
111
+ When possible, provide structured options:
112
+ - Reduces cognitive load
113
+ - Surfaces your understanding
114
+ - Makes decisions concrete
115
+
116
+ ## Output
117
+
118
+ After design is validated, create design document:
119
+
120
+ ```markdown
121
+ # Design: [Feature Name]
122
+ Date: [YYYY-MM-DD]
123
+
124
+ ## Summary
125
+ [2-3 sentences]
126
+
127
+ ## Architecture
128
+ [Architecture decisions]
129
+
130
+ ## Components
131
+ [Component breakdown]
132
+
133
+ ## Data Flow
134
+ [How data moves through system]
135
+
136
+ ## Error Handling
137
+ [Error scenarios and handling]
138
+
139
+ ## Testing Strategy
140
+ [Testing approach]
141
+
142
+ ## Open Questions
143
+ [Any remaining unknowns]
144
+ ```
145
+
146
+ ## Next Steps After Brainstorming
147
+
148
+ After design is complete:
149
+ 1. Commit design document to version control
150
+ 2. Use `/plan --detailed` for implementation planning
151
+ 3. Use `/execute-plan` for automated implementation
152
+
153
+ ## Flags
154
+
155
+ | Flag | Description | Example |
156
+ |------|-------------|---------|
157
+ | `--mode=[mode]` | Use specific behavioral mode | `--mode=brainstorm` |
158
+ | `--depth=[1-5]` | Exploration depth level | `--depth=4` |
159
+ | `--format=[fmt]` | Output format (concise/detailed) | `--format=detailed` |
160
+ | `--save=[path]` | Save design document to file | `--save=docs/design.md` |
161
+ | `--quick` | Shorter session, fewer questions | `--quick` |
162
+ | `--comprehensive` | Longer session, thorough exploration | `--comprehensive` |
163
+
164
+ ### Flag Usage Examples
165
+
166
+ ```bash
167
+ /brainstorm --comprehensive "authentication system design"
168
+ /brainstorm --save=docs/payment-design.md "payment integration"
169
+ /brainstorm --quick "simple file upload feature"
170
+ /brainstorm --depth=5 "microservices architecture"
171
+ ```
172
+
173
+ ### Session Depth
174
+
175
+ | Level | Questions | Exploration |
176
+ |-------|-----------|-------------|
177
+ | 1 | 2-3 | Quick validation only |
178
+ | 2 | 4-5 | Standard session |
179
+ | 3 | 6-8 | Thorough exploration |
180
+ | 4 | 8-10 | Comprehensive |
181
+ | 5 | 10+ | Exhaustive, all angles |
182
+
183
+ ## MCP Integration
184
+
185
+ This command leverages MCP servers for enhanced brainstorming:
186
+
187
+ ### Reasoning - Structured Exploration (Primary)
188
+ ```
189
+ ALWAYS use Reasoning for brainstorming:
190
+ - Explore design options systematically
191
+ - Track pros/cons for each approach
192
+ - Revise conclusions based on user feedback
193
+ - Build confidence in final design incrementally
194
+ ```
195
+
196
+ ### Memory - Design Persistence
197
+ ```
198
+ Store design decisions for continuity:
199
+ - Create entities for design concepts
200
+ - Store user preferences and constraints
201
+ - Recall previous design patterns
202
+ - Build knowledge graph of architecture decisions
203
+ ```
204
+
205
+ ### Web Search - Technology Options
206
+ ```
207
+ When exploring technology choices:
208
+ - Fetch current documentation for options
209
+ - Compare library capabilities accurately
210
+ - Understand trade-offs with real data
211
+ ```
212
+
213
+ ## When NOT to Use
214
+
215
+ - Clear "mechanical" processes with known implementation
216
+ - Simple bug fixes with obvious solutions
217
+ - Tasks with explicit requirements already defined
218
+
219
+ Use direct implementation instead.
220
+
221
+
222
+ ## Gap Analysis Rule
223
+ Always identify gaps and suggest next steps to users. In case there is no gaps anymore, then AI should clearly state that there is no gap left.
@@ -0,0 +1,38 @@
1
+ ---
2
+ description: Development and Implementation
3
+ ---
4
+
5
+ # /build Workflow
6
+
7
+ This workflow guides the implementation of features using best practices.
8
+
9
+ ## Trigger
10
+ - User provides a specific feature to build (e.g., "Implement user login").
11
+
12
+ ## Steps
13
+
14
+ 1. **Test-Driven Development**
15
+ - Use key: `test-driven-development`
16
+ - Goal: Write failing tests for the requested feature *before* implementation.
17
+ - Instruction: Create `*.test.ts` (or appropriate extension) files first.
18
+
19
+ 2. **Implementation**
20
+ - Use key: `typescript-expert` (or `python-patterns` based on language)
21
+ - Goal: Implement the feature to pass the tests.
22
+ - Instruction: Follow SOLID principles and language-specific idioms.
23
+
24
+ 3. **UI Implementation (If Frontend)**
25
+ - Use key: `react-patterns` / `ui-ux-designer`
26
+ - Goal: Ensure UI components are accessible and follow the design system.
27
+ - Instruction: Skip this step if backend-only.
28
+
29
+ 4. **Refactoring**
30
+ - Use key: `secure-refactoring`
31
+ - Goal: Refactor the code for better readability and security after getting tests to pass (Green phase).
32
+
33
+ ## Iron Rules
34
+ 1. If there is anything unclear, ask the user instead of inventing new stuff. Unless the user explicitly tells the AI to invent or suggest ideas.
35
+
36
+
37
+ ## Gap Analysis Rule
38
+ Always identify gaps and suggest next steps to users. In case there is no gaps anymore, then AI should clearly state that there is no gap left.
@@ -0,0 +1,51 @@
1
+ # /changelog - Changelog Command
2
+
3
+ ## Purpose
4
+
5
+ Generate changelog entries from recent commits.
6
+
7
+ ## Usage
8
+
9
+ ```
10
+ /changelog [version or 'since:tag']
11
+ ```
12
+
13
+ ---
14
+
15
+ Generate changelog for: **$ARGUMENTS**
16
+
17
+ ## Workflow
18
+
19
+ 1. **Analyze Commits**
20
+ ```bash
21
+ git log --oneline --since="last tag"
22
+ ```
23
+
24
+ 2. **Categorize**
25
+ - Added
26
+ - Changed
27
+ - Fixed
28
+ - Removed
29
+
30
+ 3. **Generate**
31
+ - User-friendly descriptions
32
+ - Link to PRs/issues
33
+
34
+ ## Output
35
+
36
+ ```markdown
37
+ ## [Version] - Date
38
+
39
+ ### Added
40
+ - Feature description (#123)
41
+
42
+ ### Changed
43
+ - Improvement description (#124)
44
+
45
+ ### Fixed
46
+ - Bug fix description (#125)
47
+ ```
48
+
49
+
50
+ ## Gap Analysis Rule
51
+ Always identify gaps and suggest next steps to users. In case there is no gaps anymore, then AI should clearly state that there is no gap left.
@@ -0,0 +1,138 @@
1
+ # /checkpoint
2
+
3
+ ## Purpose
4
+
5
+ Save and restore conversation context using git-based checkpoints. Enables session recovery and state preservation for complex, multi-session work.
6
+
7
+ ---
8
+
9
+ Manage checkpoints for the current work session.
10
+
11
+ ## Checkpoint Operations
12
+
13
+ ### Save Checkpoint
14
+
15
+ Create a checkpoint of current state:
16
+
17
+ ```bash
18
+ /checkpoint save [name]
19
+ ```
20
+
21
+ **Process:**
22
+ 1. Create git stash with descriptive message
23
+ 2. Record current context (files being worked on, task state)
24
+ 3. Save checkpoint metadata to `.claude/checkpoints/[name].json`
25
+
26
+ **Metadata Format:**
27
+ ```json
28
+ {
29
+ "name": "feature-auth",
30
+ "created": "2024-01-15T14:30:00Z",
31
+ "git_stash": "stash@{0}",
32
+ "files_in_context": ["src/auth/login.ts", "src/auth/token.ts"],
33
+ "current_task": "Implementing JWT refresh",
34
+ "notes": "User-provided notes"
35
+ }
36
+ ```
37
+
38
+ ### List Checkpoints
39
+
40
+ Show available checkpoints:
41
+
42
+ ```bash
43
+ /checkpoint list
44
+ ```
45
+
46
+ **Output:**
47
+ ```markdown
48
+ ## Available Checkpoints
49
+
50
+ | Name | Created | Task | Stash |
51
+ |------|---------|------|-------|
52
+ | feature-auth | 2h ago | JWT refresh | stash@{0} |
53
+ | bugfix-login | 1d ago | Login timeout | stash@{1} |
54
+ ```
55
+
56
+ ### Restore Checkpoint
57
+
58
+ Restore a previous checkpoint:
59
+
60
+ ```bash
61
+ /checkpoint restore [name]
62
+ ```
63
+
64
+ **Process:**
65
+ 1. Apply git stash
66
+ 2. Load checkpoint metadata
67
+ 3. Summarize restored context
68
+ 4. Ready to continue work
69
+
70
+ ### Delete Checkpoint
71
+
72
+ Remove a checkpoint:
73
+
74
+ ```bash
75
+ /checkpoint delete [name]
76
+ ```
77
+
78
+ ## Flags
79
+
80
+ | Flag | Description |
81
+ |------|-------------|
82
+ | `--notes="[text]"` | Add notes to checkpoint |
83
+ | `--force` | Overwrite existing checkpoint |
84
+ | `--include-uncommitted` | Include uncommitted changes |
85
+ | `--dry-run` | Show what would be saved |
86
+
87
+ ## Usage Examples
88
+
89
+ ```bash
90
+ /checkpoint save auth-progress # Save current state
91
+ /checkpoint save auth --notes="WIP tokens" # Save with notes
92
+ /checkpoint list # Show checkpoints
93
+ /checkpoint restore auth-progress # Restore state
94
+ /checkpoint delete old-checkpoint # Remove checkpoint
95
+ ```
96
+
97
+ ## Arguments
98
+
99
+ $ARGUMENTS
100
+
101
+ Parse the operation (save/list/restore/delete) and checkpoint name.
102
+
103
+ ---
104
+
105
+ ## Auto-Checkpoint
106
+
107
+ For complex tasks, checkpoints are automatically suggested:
108
+ - Before major refactoring
109
+ - When switching contexts
110
+ - Before risky operations
111
+ - At natural breakpoints
112
+
113
+ ## Best Practices
114
+
115
+ 1. **Name Descriptively**: Use task-related names
116
+ 2. **Add Notes**: Future you will thank present you
117
+ 3. **Checkpoint Often**: Before context switches
118
+ 4. **Clean Up**: Delete obsolete checkpoints
119
+
120
+ ## Recovery Workflow
121
+
122
+ When resuming work:
123
+ ```
124
+ 1. /checkpoint list # See available states
125
+ 2. /checkpoint restore [name] # Restore context
126
+ 3. Continue where you left off # Context is loaded
127
+ ```
128
+
129
+ ## Limitations
130
+
131
+ - Checkpoints use git stash (requires git repo)
132
+ - Large uncommitted changes may be slow
133
+ - Metadata stored in `.claude/checkpoints/`
134
+ - Consider committing before checkpointing for safety
135
+
136
+
137
+ ## Gap Analysis Rule
138
+ Always identify gaps and suggest next steps to users. In case there is no gaps anymore, then AI should clearly state that there is no gap left.