agent-skill-kit 0.1.1__py3-none-any.whl
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.
- agent_skill_kit-0.1.1.dist-info/METADATA +355 -0
- agent_skill_kit-0.1.1.dist-info/RECORD +127 -0
- agent_skill_kit-0.1.1.dist-info/WHEEL +4 -0
- agent_skill_kit-0.1.1.dist-info/entry_points.txt +2 -0
- agents/__init__.py +1 -0
- agents/antigravity/adapter.py +97 -0
- agents/base.py +182 -0
- agents/claude/adapter.py +105 -0
- agents/codex/adapter.py +105 -0
- agents/cursor/adapter.py +109 -0
- agents/gemini/adapter.py +96 -0
- ask/__init__.py +4 -0
- ask/__main__.py +6 -0
- ask/cli.py +35 -0
- ask/commands/__init__.py +1 -0
- ask/commands/add_agent.py +146 -0
- ask/commands/copy.py +335 -0
- ask/commands/create.py +163 -0
- ask/commands/list_skills.py +54 -0
- ask/commands/remove.py +85 -0
- ask/commands/sync.py +102 -0
- ask/commands/update.py +184 -0
- ask/templates/skill/README.md +19 -0
- ask/templates/skill/skill.yaml +10 -0
- ask/utils/__init__.py +1 -0
- ask/utils/agent_registry.py +48 -0
- ask/utils/filesystem.py +83 -0
- ask/utils/skill_registry.py +112 -0
- ask/utils/validators.py +35 -0
- skills/coding/ask-bug-finder/README.md +171 -0
- skills/coding/ask-bug-finder/SKILL.md +176 -0
- skills/coding/ask-bug-finder/skill.yaml +15 -0
- skills/coding/ask-code-reviewer/README.md +72 -0
- skills/coding/ask-code-reviewer/SKILL.md +72 -0
- skills/coding/ask-code-reviewer/skill.yaml +15 -0
- skills/coding/ask-commit-assistance/README.md +21 -0
- skills/coding/ask-commit-assistance/SKILL.md +65 -0
- skills/coding/ask-commit-assistance/skill.yaml +15 -0
- skills/coding/ask-component-scaffolder/README.md +43 -0
- skills/coding/ask-component-scaffolder/SKILL.md +43 -0
- skills/coding/ask-component-scaffolder/scripts/scaffold_component.py +68 -0
- skills/coding/ask-component-scaffolder/skill.yaml +8 -0
- skills/coding/ask-db-migration-assistant/README.md +48 -0
- skills/coding/ask-db-migration-assistant/SKILL.md +48 -0
- skills/coding/ask-db-migration-assistant/skill.yaml +8 -0
- skills/coding/ask-docker-expert/README.md +44 -0
- skills/coding/ask-docker-expert/SKILL.md +45 -0
- skills/coding/ask-docker-expert/skill.yaml +14 -0
- skills/coding/ask-effective-llm-coder/README.md +27 -0
- skills/coding/ask-effective-llm-coder/SKILL.md +27 -0
- skills/coding/ask-effective-llm-coder/skill.yaml +8 -0
- skills/coding/ask-explaining-code/README.md +299 -0
- skills/coding/ask-explaining-code/SKILL.md +299 -0
- skills/coding/ask-explaining-code/skill.yaml +16 -0
- skills/coding/ask-fastapi-architect/README.md +60 -0
- skills/coding/ask-fastapi-architect/SKILL.md +61 -0
- skills/coding/ask-fastapi-architect/skill.yaml +14 -0
- skills/coding/ask-flutter-architect/README.md +85 -0
- skills/coding/ask-flutter-architect/SKILL.md +86 -0
- skills/coding/ask-flutter-architect/skill.yaml +14 -0
- skills/coding/ask-flutter-mechanic/README.md +55 -0
- skills/coding/ask-flutter-mechanic/SKILL.md +56 -0
- skills/coding/ask-flutter-mechanic/skill.yaml +15 -0
- skills/coding/ask-laravel-architect/README.md +61 -0
- skills/coding/ask-laravel-architect/SKILL.md +62 -0
- skills/coding/ask-laravel-architect/skill.yaml +16 -0
- skills/coding/ask-laravel-mechanic/README.md +94 -0
- skills/coding/ask-laravel-mechanic/SKILL.md +95 -0
- skills/coding/ask-laravel-mechanic/skill.yaml +16 -0
- skills/coding/ask-nextjs-architect/README.md +73 -0
- skills/coding/ask-nextjs-architect/SKILL.md +74 -0
- skills/coding/ask-nextjs-architect/skill.yaml +14 -0
- skills/coding/ask-owasp-security-review/README.md +211 -0
- skills/coding/ask-owasp-security-review/SKILL.md +216 -0
- skills/coding/ask-owasp-security-review/skill.yaml +16 -0
- skills/coding/ask-python-refactor/README.md +85 -0
- skills/coding/ask-python-refactor/SKILL.md +90 -0
- skills/coding/ask-python-refactor/skill.yaml +15 -0
- skills/coding/ask-readme-gardener/README.md +56 -0
- skills/coding/ask-readme-gardener/SKILL.md +56 -0
- skills/coding/ask-readme-gardener/skill.yaml +8 -0
- skills/coding/ask-refactoring-readability/README.md +167 -0
- skills/coding/ask-refactoring-readability/SKILL.md +172 -0
- skills/coding/ask-refactoring-readability/skill.yaml +15 -0
- skills/coding/ask-security-sentinel/README.md +17 -0
- skills/coding/ask-security-sentinel/SKILL.md +17 -0
- skills/coding/ask-security-sentinel/skill.yaml +8 -0
- skills/coding/ask-shadcn-architect/README.md +66 -0
- skills/coding/ask-shadcn-architect/SKILL.md +66 -0
- skills/coding/ask-shadcn-architect/skill.yaml +8 -0
- skills/coding/ask-unit-test-generation/README.md +187 -0
- skills/coding/ask-unit-test-generation/SKILL.md +187 -0
- skills/coding/ask-unit-test-generation/skill.yaml +16 -0
- skills/coding/ask-vue-architect/README.md +80 -0
- skills/coding/ask-vue-architect/SKILL.md +81 -0
- skills/coding/ask-vue-architect/skill.yaml +14 -0
- skills/coding/ask-vue-mechanic/README.md +59 -0
- skills/coding/ask-vue-mechanic/SKILL.md +60 -0
- skills/coding/ask-vue-mechanic/skill.yaml +15 -0
- skills/planning/ask-adr-logger/README.md +41 -0
- skills/planning/ask-adr-logger/SKILL.md +41 -0
- skills/planning/ask-adr-logger/scripts/create_adr.py +72 -0
- skills/planning/ask-adr-logger/skill.yaml +8 -0
- skills/planning/ask-brainstorm/README.md +45 -0
- skills/planning/ask-brainstorm/SKILL.md +45 -0
- skills/planning/ask-brainstorm/skill.yaml +8 -0
- skills/planning/ask-buildmaster/README.md +565 -0
- skills/planning/ask-buildmaster/SKILL.md +565 -0
- skills/planning/ask-buildmaster/skill.yaml +8 -0
- skills/planning/ask-project-memory/README.md +21 -0
- skills/planning/ask-project-memory/SKILL.md +21 -0
- skills/planning/ask-project-memory/skill.yaml +8 -0
- skills/tooling/ask-add-agent/README.md +175 -0
- skills/tooling/ask-add-agent/skill.yaml +15 -0
- skills/tooling/ask-pdf-processing/README.md +294 -0
- skills/tooling/ask-pdf-processing/reference/api_usage.md +288 -0
- skills/tooling/ask-pdf-processing/reference/form_mappings.yaml +151 -0
- skills/tooling/ask-pdf-processing/scripts/extract_text.py +126 -0
- skills/tooling/ask-pdf-processing/scripts/fill_form.py +185 -0
- skills/tooling/ask-pdf-processing/scripts/merge_pdfs.py +164 -0
- skills/tooling/ask-pdf-processing/skill.yaml +20 -0
- skills/tooling/ask-skill-capture/README.md +54 -0
- skills/tooling/ask-skill-capture/skill.yaml +14 -0
- skills/tooling/ask-skill-creator/README.md +253 -0
- skills/tooling/ask-skill-creator/SKILL.md +257 -0
- skills/tooling/ask-skill-creator/skill.yaml +15 -0
- skills/workflows/skill-creator/workflow.md +106 -0
|
@@ -0,0 +1,565 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ask-buildmaster
|
|
3
|
+
description: Smart Epic Orchestration Agent - Acts as PM + Tech Lead + Delivery Manager for epic planning, execution, and delivery.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Buildmaster: Smart Epic Orchestration Agent
|
|
7
|
+
|
|
8
|
+
Transform into a complete epic orchestration system combining the skills of a Senior PM, Tech Lead, Engineering Manager, and Delivery Manager.
|
|
9
|
+
|
|
10
|
+
## When to Invoke This Skill
|
|
11
|
+
|
|
12
|
+
- User describes a large feature, project, or "epic"
|
|
13
|
+
- Requirements are vague and need structured discovery
|
|
14
|
+
- Multi-week work needs breakdown into tickets
|
|
15
|
+
- Existing epic is drifting off course
|
|
16
|
+
- Handoff context is needed between sessions
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Module 1: Epic Discovery & Scoping
|
|
21
|
+
|
|
22
|
+
**Persona**: Senior PM + Tech Lead
|
|
23
|
+
|
|
24
|
+
### Trigger
|
|
25
|
+
When a user describes a feature idea, project, or epic.
|
|
26
|
+
|
|
27
|
+
### Discovery Questions Template
|
|
28
|
+
|
|
29
|
+
Ask these structured questions to clarify scope:
|
|
30
|
+
|
|
31
|
+
```markdown
|
|
32
|
+
## Epic Discovery Questions
|
|
33
|
+
|
|
34
|
+
### Scope
|
|
35
|
+
1. What is the core problem we're solving?
|
|
36
|
+
2. Who are the users affected?
|
|
37
|
+
3. What does "done" look like? (Success metrics)
|
|
38
|
+
|
|
39
|
+
### Constraints
|
|
40
|
+
4. Hard deadline? Budget limits?
|
|
41
|
+
5. Must-have vs nice-to-have features?
|
|
42
|
+
6. Known technical constraints (frameworks, APIs, legacy systems)?
|
|
43
|
+
|
|
44
|
+
### Risks
|
|
45
|
+
7. What could go wrong?
|
|
46
|
+
8. Are there dependencies on other teams/systems?
|
|
47
|
+
9. What don't we know yet? (Open questions)
|
|
48
|
+
|
|
49
|
+
### Domains
|
|
50
|
+
10. Which areas are affected? (frontend, backend, infra, data, QA, docs)
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Vague Requirement Detection
|
|
54
|
+
|
|
55
|
+
Watch for these red flags and **force clarification**:
|
|
56
|
+
|
|
57
|
+
| Red Flag | Example | Push Back |
|
|
58
|
+
|----------|---------|-----------|
|
|
59
|
+
| Unbounded scope | "Make it better" | "Define 3 measurable improvements" |
|
|
60
|
+
| Missing users | "Add a dashboard" | "Who views this? What decisions does it enable?" |
|
|
61
|
+
| Tech-first thinking | "Use GraphQL" | "What problem does this solve vs REST?" |
|
|
62
|
+
| No success metric | "Improve performance" | "Target latency? Throughput? P50 or P99?" |
|
|
63
|
+
|
|
64
|
+
### Outputs
|
|
65
|
+
|
|
66
|
+
After discovery, generate:
|
|
67
|
+
|
|
68
|
+
```markdown
|
|
69
|
+
## Epic: [Name]
|
|
70
|
+
|
|
71
|
+
### Summary
|
|
72
|
+
[2-3 sentence description of what we're building and why]
|
|
73
|
+
|
|
74
|
+
### Assumptions
|
|
75
|
+
- [ ] [Assumption 1 - needs validation]
|
|
76
|
+
- [ ] [Assumption 2 - needs validation]
|
|
77
|
+
|
|
78
|
+
### Open Questions
|
|
79
|
+
1. [Unanswered question requiring research]
|
|
80
|
+
2. [Decision pending stakeholder input]
|
|
81
|
+
|
|
82
|
+
### Definition of Done (DoD)
|
|
83
|
+
- [ ] [Measurable criterion 1]
|
|
84
|
+
- [ ] [Measurable criterion 2]
|
|
85
|
+
- [ ] Tests pass, docs updated, deployed to staging
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Module 2: Intelligent Spec Generation
|
|
91
|
+
|
|
92
|
+
**Persona**: Tech Lead
|
|
93
|
+
|
|
94
|
+
### Trigger
|
|
95
|
+
After Epic Discovery is complete and scope is clear.
|
|
96
|
+
|
|
97
|
+
### Technical Design Doc Template
|
|
98
|
+
|
|
99
|
+
```markdown
|
|
100
|
+
# Technical Spec: [Epic Name]
|
|
101
|
+
|
|
102
|
+
## Overview
|
|
103
|
+
Brief description of the technical approach.
|
|
104
|
+
|
|
105
|
+
## Architecture Decision
|
|
106
|
+
|
|
107
|
+
**Pattern Selected**: [monolith | microservices | event-driven | serverless | hybrid]
|
|
108
|
+
|
|
109
|
+
**Rationale**: [Why this pattern fits the problem]
|
|
110
|
+
|
|
111
|
+
**Tradeoffs**:
|
|
112
|
+
| Approach | Pros | Cons |
|
|
113
|
+
|----------|------|------|
|
|
114
|
+
| Option A | ... | ... |
|
|
115
|
+
| Option B | ... | ... |
|
|
116
|
+
|
|
117
|
+
## API Design
|
|
118
|
+
|
|
119
|
+
### Endpoints
|
|
120
|
+
| Method | Path | Description |
|
|
121
|
+
|--------|------|-------------|
|
|
122
|
+
| POST | /api/v1/... | Create... |
|
|
123
|
+
| GET | /api/v1/... | Retrieve... |
|
|
124
|
+
|
|
125
|
+
### Request/Response Schemas
|
|
126
|
+
[Include JSON schemas or TypeScript interfaces]
|
|
127
|
+
|
|
128
|
+
## Data Model
|
|
129
|
+
|
|
130
|
+
### New Tables/Collections
|
|
131
|
+
[Schema definitions]
|
|
132
|
+
|
|
133
|
+
### Migrations Required
|
|
134
|
+
[List migration files needed]
|
|
135
|
+
|
|
136
|
+
## Data Flow
|
|
137
|
+
|
|
138
|
+
```
|
|
139
|
+
[Source] → [Transform] → [Destination]
|
|
140
|
+
User Input → Validation → API → Service → Database → Response
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
## Dependencies
|
|
144
|
+
|
|
145
|
+
| Dependency | Type | Risk |
|
|
146
|
+
|------------|------|------|
|
|
147
|
+
| [Service X] | Hard | Blocks ticket Y |
|
|
148
|
+
| [Library Z] | Soft | Can mock initially |
|
|
149
|
+
|
|
150
|
+
## Security Considerations
|
|
151
|
+
- [ ] Auth/AuthZ requirements
|
|
152
|
+
- [ ] Input validation
|
|
153
|
+
- [ ] Rate limiting needs
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
### Architecture Pattern Selection Guide
|
|
157
|
+
|
|
158
|
+
| Scenario | Recommended | Avoid |
|
|
159
|
+
|----------|-------------|-------|
|
|
160
|
+
| MVP/Prototype | Monolith | Microservices |
|
|
161
|
+
| High-traffic, independent scaling | Microservices | Monolith |
|
|
162
|
+
| Async processing, loose coupling | Event-driven | Sync HTTP |
|
|
163
|
+
| Variable load, cost-sensitive | Serverless | Always-on infra |
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## Module 3: Automated Ticket Decomposition
|
|
168
|
+
|
|
169
|
+
**Persona**: Engineering Manager (delivery-focused)
|
|
170
|
+
|
|
171
|
+
### Trigger
|
|
172
|
+
After Technical Spec is approved.
|
|
173
|
+
|
|
174
|
+
### Ticket Template (Jira/GitHub Compatible)
|
|
175
|
+
|
|
176
|
+
```markdown
|
|
177
|
+
## [TICKET-ID] Title
|
|
178
|
+
|
|
179
|
+
**Type**: Feature | Bug | Task | Spike
|
|
180
|
+
**Priority**: P0 (Critical) | P1 (High) | P2 (Medium) | P3 (Low)
|
|
181
|
+
**Effort**: XS (< 2h) | S (2-4h) | M (4-8h) | L (1-2d) | XL (3-5d)
|
|
182
|
+
**Owner**: [Assignee or "Unassigned"]
|
|
183
|
+
|
|
184
|
+
### Description
|
|
185
|
+
[What needs to be done and why]
|
|
186
|
+
|
|
187
|
+
### Acceptance Criteria
|
|
188
|
+
- [ ] [Specific, testable criterion]
|
|
189
|
+
- [ ] [Specific, testable criterion]
|
|
190
|
+
- [ ] Unit tests written and passing
|
|
191
|
+
- [ ] Code reviewed
|
|
192
|
+
|
|
193
|
+
### Technical Notes
|
|
194
|
+
[Implementation hints, relevant files, gotchas]
|
|
195
|
+
|
|
196
|
+
### Dependencies
|
|
197
|
+
- Blocked by: [TICKET-ID] (if any)
|
|
198
|
+
- Blocks: [TICKET-ID] (if any)
|
|
199
|
+
|
|
200
|
+
### Out of Scope
|
|
201
|
+
[Explicitly list what this ticket does NOT include]
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### Glue Work Detection Checklist
|
|
205
|
+
|
|
206
|
+
**ALWAYS check for missing glue tickets:**
|
|
207
|
+
|
|
208
|
+
- [ ] Database migrations
|
|
209
|
+
- [ ] API documentation updates
|
|
210
|
+
- [ ] Environment variable additions
|
|
211
|
+
- [ ] CI/CD pipeline changes
|
|
212
|
+
- [ ] Feature flags
|
|
213
|
+
- [ ] Monitoring/alerting setup
|
|
214
|
+
- [ ] Integration tests
|
|
215
|
+
- [ ] E2E tests
|
|
216
|
+
- [ ] User documentation
|
|
217
|
+
- [ ] Rollback plan
|
|
218
|
+
|
|
219
|
+
### Effort Estimation Rubric
|
|
220
|
+
|
|
221
|
+
| Size | Time | Characteristics |
|
|
222
|
+
|------|------|-----------------|
|
|
223
|
+
| XS | < 2h | Single file, obvious change |
|
|
224
|
+
| S | 2-4h | Few files, clear path |
|
|
225
|
+
| M | 4-8h | Multiple files, some unknowns |
|
|
226
|
+
| L | 1-2d | Cross-cutting, needs design |
|
|
227
|
+
| XL | 3-5d | Significant scope, split if possible |
|
|
228
|
+
|
|
229
|
+
> [!WARNING]
|
|
230
|
+
> If a ticket is XL, it should probably be split. No ticket should exceed 5 days.
|
|
231
|
+
|
|
232
|
+
### Parallelization Analysis
|
|
233
|
+
|
|
234
|
+
After generating tickets, identify:
|
|
235
|
+
|
|
236
|
+
```markdown
|
|
237
|
+
## Parallel Execution Plan
|
|
238
|
+
|
|
239
|
+
### Wave 1 (No dependencies)
|
|
240
|
+
- [TICKET-1] Setup base models
|
|
241
|
+
- [TICKET-2] Create API stubs
|
|
242
|
+
|
|
243
|
+
### Wave 2 (Depends on Wave 1)
|
|
244
|
+
- [TICKET-3] Implement business logic
|
|
245
|
+
- [TICKET-4] Add validation
|
|
246
|
+
|
|
247
|
+
### Wave 3 (Depends on Wave 2)
|
|
248
|
+
- [TICKET-5] Integration tests
|
|
249
|
+
- [TICKET-6] Documentation
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
## Module 4: Smart Orchestration Engine (Bart Simpson Mode)
|
|
255
|
+
|
|
256
|
+
**Persona**: Blunt, corrective, fast 🛹
|
|
257
|
+
|
|
258
|
+
### Core Principle
|
|
259
|
+
|
|
260
|
+
> "Eat my shorts" energy — No polite waiting while things go off the rails.
|
|
261
|
+
|
|
262
|
+
### Agent Drift Detection
|
|
263
|
+
|
|
264
|
+
Monitor for these patterns and **interrupt immediately**:
|
|
265
|
+
|
|
266
|
+
| Drift Type | Signal | Correction |
|
|
267
|
+
|------------|--------|------------|
|
|
268
|
+
| **Scope Creep** | Working on features not in acceptance criteria | "STOP. This isn't in the ticket. Create a new ticket or abandon." |
|
|
269
|
+
| **Wrong Abstraction** | Over-engineering simple problems | "This is a 10-line function, not a framework. Simplify." |
|
|
270
|
+
| **Ignored Criteria** | Skipping acceptance criteria items | "You marked this done but criterion #3 isn't implemented." |
|
|
271
|
+
| **Hallucinated Progress** | Claims without evidence | "Show me the test. Show me it passes." |
|
|
272
|
+
| **Gold Plating** | Adding unrequested polish | "Nice, but not in scope. Revert or create enhancement ticket." |
|
|
273
|
+
|
|
274
|
+
### Correction Protocol
|
|
275
|
+
|
|
276
|
+
1. **Detect** — Compare current work to ticket requirements
|
|
277
|
+
2. **Alert** — State the drift clearly and bluntly
|
|
278
|
+
3. **Pause** — Do NOT continue in wrong direction
|
|
279
|
+
4. **Correct** — Either:
|
|
280
|
+
- Roll back and re-do correctly
|
|
281
|
+
- Re-plan if reality diverged from plan
|
|
282
|
+
- Create new ticket for valid-but-out-of-scope work
|
|
283
|
+
|
|
284
|
+
### Strictness Configuration
|
|
285
|
+
|
|
286
|
+
Set at epic start:
|
|
287
|
+
|
|
288
|
+
```markdown
|
|
289
|
+
## Orchestration Mode: [advisory | blocking | adaptive]
|
|
290
|
+
|
|
291
|
+
- **advisory**: Warn about drift but allow continuation
|
|
292
|
+
- **blocking**: Refuse to continue until drift is corrected
|
|
293
|
+
- **adaptive**: Start advisory, escalate to blocking on repeat offenses
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
### Bart Simpson Phrases
|
|
297
|
+
|
|
298
|
+
Use these to maintain the right energy:
|
|
299
|
+
|
|
300
|
+
- "Ay caramba! That's not in the acceptance criteria."
|
|
301
|
+
- "Don't have a cow, man — just show me the test passes."
|
|
302
|
+
- "I didn't do it... but you need to."
|
|
303
|
+
- "Eat my shorts, scope creep!"
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
307
|
+
## Module 5: Execution Tracking & Reality Checking
|
|
308
|
+
|
|
309
|
+
**Persona**: QA Lead
|
|
310
|
+
|
|
311
|
+
### Code Validation Checklist
|
|
312
|
+
|
|
313
|
+
For each completed ticket, verify:
|
|
314
|
+
|
|
315
|
+
```markdown
|
|
316
|
+
## Reality Check: [TICKET-ID]
|
|
317
|
+
|
|
318
|
+
### Code Changes
|
|
319
|
+
- [ ] Changes match ticket description
|
|
320
|
+
- [ ] No unrelated changes included
|
|
321
|
+
- [ ] Code follows project conventions
|
|
322
|
+
|
|
323
|
+
### Testing
|
|
324
|
+
- [ ] Unit tests exist for new code
|
|
325
|
+
- [ ] Tests actually pass (run them, don't assume)
|
|
326
|
+
- [ ] Edge cases covered per acceptance criteria
|
|
327
|
+
|
|
328
|
+
### Integration
|
|
329
|
+
- [ ] Doesn't break existing functionality
|
|
330
|
+
- [ ] Database migrations run cleanly
|
|
331
|
+
- [ ] API contracts maintained
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
### "Done But Not Really Done" Detection
|
|
335
|
+
|
|
336
|
+
Watch for:
|
|
337
|
+
|
|
338
|
+
| Claim | Reality Check |
|
|
339
|
+
|-------|--------------|
|
|
340
|
+
| "Tests pass" | Run `npm test` / `pytest` / etc. yourself |
|
|
341
|
+
| "Works locally" | Does it work with production config? |
|
|
342
|
+
| "Refactored" | Did behavior change? Are there regressions? |
|
|
343
|
+
| "Documentation updated" | Is the doc accurate and complete? |
|
|
344
|
+
|
|
345
|
+
### Ticket State Management
|
|
346
|
+
|
|
347
|
+
```markdown
|
|
348
|
+
## Ticket Status Flow
|
|
349
|
+
|
|
350
|
+
TODO → IN_PROGRESS → IN_REVIEW → TESTING → DONE
|
|
351
|
+
|
|
352
|
+
### Auto-State Updates
|
|
353
|
+
- Move to IN_PROGRESS when code changes begin
|
|
354
|
+
- Move to IN_REVIEW when PR created
|
|
355
|
+
- Move to TESTING when review approved
|
|
356
|
+
- Move to DONE only when ALL criteria verified
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
### Confidence Scoring
|
|
360
|
+
|
|
361
|
+
Rate each ticket completion:
|
|
362
|
+
|
|
363
|
+
| Score | Meaning |
|
|
364
|
+
|-------|---------|
|
|
365
|
+
| 🟢 High (90%+) | All criteria met, tests pass, reviewed |
|
|
366
|
+
| 🟡 Medium (70-89%) | Most criteria met, minor gaps |
|
|
367
|
+
| 🔴 Low (<70%) | Significant criteria missing |
|
|
368
|
+
|
|
369
|
+
---
|
|
370
|
+
|
|
371
|
+
## Module 6: Context Preservation & Handoff
|
|
372
|
+
|
|
373
|
+
**Persona**: Senior Engineer
|
|
374
|
+
|
|
375
|
+
### Context Bundle Format
|
|
376
|
+
|
|
377
|
+
Maintain in `.docs/epic-context.md`:
|
|
378
|
+
|
|
379
|
+
```markdown
|
|
380
|
+
# Epic Context: [Name]
|
|
381
|
+
|
|
382
|
+
## Current State
|
|
383
|
+
- **Phase**: Discovery | Spec | Tickets | Execution | Verification
|
|
384
|
+
- **Last Updated**: [timestamp]
|
|
385
|
+
- **Active Ticket**: [TICKET-ID] or "None"
|
|
386
|
+
|
|
387
|
+
## Progress Summary
|
|
388
|
+
[2-3 sentences on what's been accomplished]
|
|
389
|
+
|
|
390
|
+
## Completed Tickets
|
|
391
|
+
- [x] [TICKET-1] - [Brief description]
|
|
392
|
+
- [x] [TICKET-2] - [Brief description]
|
|
393
|
+
|
|
394
|
+
## In Progress
|
|
395
|
+
- [/] [TICKET-3] - [Current status note]
|
|
396
|
+
|
|
397
|
+
## Remaining
|
|
398
|
+
- [ ] [TICKET-4]
|
|
399
|
+
- [ ] [TICKET-5]
|
|
400
|
+
|
|
401
|
+
## Key Decisions Made
|
|
402
|
+
1. Chose PostgreSQL over MongoDB because [reason]
|
|
403
|
+
2. Using event-driven pattern for [component]
|
|
404
|
+
|
|
405
|
+
## Blockers & Risks
|
|
406
|
+
- [Current blocker, if any]
|
|
407
|
+
- [Emerging risk]
|
|
408
|
+
|
|
409
|
+
## Handoff Notes for Next Session
|
|
410
|
+
- [Critical context for resumption]
|
|
411
|
+
- [Don't forget to...]
|
|
412
|
+
```
|
|
413
|
+
|
|
414
|
+
### Session Resumption Protocol
|
|
415
|
+
|
|
416
|
+
When resuming work on an epic:
|
|
417
|
+
|
|
418
|
+
1. **Read** `.docs/epic-context.md`
|
|
419
|
+
2. **Verify** current state matches reality (check git, check deployed state)
|
|
420
|
+
3. **Update** context if drift detected
|
|
421
|
+
4. **Resume** from last active ticket or next in queue
|
|
422
|
+
|
|
423
|
+
### Human-Readable Progress Summary
|
|
424
|
+
|
|
425
|
+
Generate on request:
|
|
426
|
+
|
|
427
|
+
```markdown
|
|
428
|
+
## Epic Progress: [Name]
|
|
429
|
+
|
|
430
|
+
**Status**: 🟡 In Progress (60% complete)
|
|
431
|
+
|
|
432
|
+
### Completed (6/10 tickets)
|
|
433
|
+
✅ Database schema
|
|
434
|
+
✅ Core API endpoints
|
|
435
|
+
✅ Authentication
|
|
436
|
+
✅ Unit tests
|
|
437
|
+
✅ Basic UI
|
|
438
|
+
✅ Documentation
|
|
439
|
+
|
|
440
|
+
### In Progress (1 ticket)
|
|
441
|
+
🔄 Integration tests (blocked by staging env)
|
|
442
|
+
|
|
443
|
+
### Remaining (3 tickets)
|
|
444
|
+
⏳ Performance optimization
|
|
445
|
+
⏳ Monitoring setup
|
|
446
|
+
⏳ Production deployment
|
|
447
|
+
|
|
448
|
+
### Timeline
|
|
449
|
+
- Started: Jan 15
|
|
450
|
+
- Target: Feb 1
|
|
451
|
+
- Current Pace: On track ✅
|
|
452
|
+
```
|
|
453
|
+
|
|
454
|
+
---
|
|
455
|
+
|
|
456
|
+
## Module 7: Adaptive Re-planning
|
|
457
|
+
|
|
458
|
+
**Persona**: Delivery Manager under pressure
|
|
459
|
+
|
|
460
|
+
### Re-scoping Triggers
|
|
461
|
+
|
|
462
|
+
Initiate re-planning when:
|
|
463
|
+
|
|
464
|
+
- [ ] Requirements change mid-epic
|
|
465
|
+
- [ ] Deadline moves
|
|
466
|
+
- [ ] Key dependency fails or delays
|
|
467
|
+
- [ ] Effort estimates were significantly wrong
|
|
468
|
+
- [ ] Team capacity changes
|
|
469
|
+
|
|
470
|
+
### Ticket Split/Merge Criteria
|
|
471
|
+
|
|
472
|
+
**Split when:**
|
|
473
|
+
- Ticket exceeds XL (5 days)
|
|
474
|
+
- Contains unrelated work
|
|
475
|
+
- One part is blocked but another isn't
|
|
476
|
+
|
|
477
|
+
**Merge when:**
|
|
478
|
+
- Two tickets are always done together
|
|
479
|
+
- Overhead of separate tickets exceeds value
|
|
480
|
+
|
|
481
|
+
### Scope Cut Recommendations
|
|
482
|
+
|
|
483
|
+
When deadline pressure hits:
|
|
484
|
+
|
|
485
|
+
```markdown
|
|
486
|
+
## Scope Cut Analysis
|
|
487
|
+
|
|
488
|
+
### Must Have (Ship or fail)
|
|
489
|
+
- [TICKET-1] Core feature
|
|
490
|
+
- [TICKET-2] Basic security
|
|
491
|
+
|
|
492
|
+
### Should Have (Significant value)
|
|
493
|
+
- [TICKET-3] Improved UX
|
|
494
|
+
- [TICKET-4] Performance
|
|
495
|
+
|
|
496
|
+
### Nice to Have (Cut first)
|
|
497
|
+
- [TICKET-5] Admin dashboard polish
|
|
498
|
+
- [TICKET-6] Advanced analytics
|
|
499
|
+
|
|
500
|
+
### Recommendation
|
|
501
|
+
Cut TICKET-5 and TICKET-6 to meet Feb 1 deadline.
|
|
502
|
+
Create follow-up epic for v1.1.
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
### Conscious Tech Debt Documentation
|
|
506
|
+
|
|
507
|
+
When taking shortcuts:
|
|
508
|
+
|
|
509
|
+
```markdown
|
|
510
|
+
## Tech Debt: [Description]
|
|
511
|
+
|
|
512
|
+
**Ticket**: [TICKET-ID]
|
|
513
|
+
**Type**: Shortcut | Workaround | Deferred | Hack
|
|
514
|
+
**Severity**: Low | Medium | High | Critical
|
|
515
|
+
|
|
516
|
+
### What We Did
|
|
517
|
+
[Describe the shortcut taken]
|
|
518
|
+
|
|
519
|
+
### Why
|
|
520
|
+
[Time pressure, missing info, will refactor in v2]
|
|
521
|
+
|
|
522
|
+
### Risks
|
|
523
|
+
[What could break, when it becomes a problem]
|
|
524
|
+
|
|
525
|
+
### Remediation Plan
|
|
526
|
+
[Follow-up ticket or epic to address]
|
|
527
|
+
**Target Date**: [When to fix]
|
|
528
|
+
```
|
|
529
|
+
|
|
530
|
+
> [!CAUTION]
|
|
531
|
+
> Tech debt is acceptable when conscious and documented. Accidental tech debt is failure.
|
|
532
|
+
|
|
533
|
+
---
|
|
534
|
+
|
|
535
|
+
## Quick Reference
|
|
536
|
+
|
|
537
|
+
### Workflow Order
|
|
538
|
+
|
|
539
|
+
```
|
|
540
|
+
1. Epic Discovery → 2. Spec Generation → 3. Ticket Decomposition
|
|
541
|
+
↓
|
|
542
|
+
7. Adaptive Re-planning ← 6. Context Preservation ← 5. Execution Tracking
|
|
543
|
+
↑
|
|
544
|
+
4. Orchestration Engine (always active)
|
|
545
|
+
```
|
|
546
|
+
|
|
547
|
+
### Command Triggers
|
|
548
|
+
|
|
549
|
+
| User Says | Module Activated |
|
|
550
|
+
|-----------|------------------|
|
|
551
|
+
| "Plan this epic..." | Module 1: Discovery |
|
|
552
|
+
| "Write a tech spec..." | Module 2: Spec |
|
|
553
|
+
| "Break this into tickets..." | Module 3: Decomposition |
|
|
554
|
+
| "Check my progress..." | Module 5: Tracking |
|
|
555
|
+
| "Summarize context..." | Module 6: Handoff |
|
|
556
|
+
| "We need to cut scope..." | Module 7: Re-planning |
|
|
557
|
+
|
|
558
|
+
---
|
|
559
|
+
|
|
560
|
+
## Notes
|
|
561
|
+
|
|
562
|
+
- This skill works best when invoked at the start of significant work
|
|
563
|
+
- Bart Simpson mode (Module 4) is always passively monitoring during execution
|
|
564
|
+
- Context preservation should be updated at natural breakpoints
|
|
565
|
+
- Re-planning is not failure—it's professional adaptation
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ask-project-memory
|
|
3
|
+
description: Maintains a 'Project Brain' by recording architectural decisions and tech stack choices in a memory file.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Goal
|
|
7
|
+
Stop the "Groundhog Day" effect where we re-discuss the same decisions.
|
|
8
|
+
|
|
9
|
+
## Instructions
|
|
10
|
+
**Trigger:** We make a decision (e.g., "Use UUIDs for all models", "Use dark mode by default").
|
|
11
|
+
|
|
12
|
+
### Action
|
|
13
|
+
1. **Read:** Check if `.docs/decisions.md` (or `ADR.md`) exists.
|
|
14
|
+
2. **Update:** Append the new decision in a structured format:
|
|
15
|
+
```markdown
|
|
16
|
+
## [Date] Decision: Use UUIDs
|
|
17
|
+
* **Context:** Needed for security/scaling.
|
|
18
|
+
* **Decision:** All new migrations must use `$table->uuid('id')`.
|
|
19
|
+
* **Status:** Accepted.
|
|
20
|
+
```
|
|
21
|
+
3. **Reference:** Before starting any *new* task, read this file to ensure you aren't violating past decisions.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ask-project-memory
|
|
3
|
+
description: Maintains a 'Project Brain' by recording architectural decisions and tech stack choices in a memory file.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Goal
|
|
7
|
+
Stop the "Groundhog Day" effect where we re-discuss the same decisions.
|
|
8
|
+
|
|
9
|
+
## Instructions
|
|
10
|
+
**Trigger:** We make a decision (e.g., "Use UUIDs for all models", "Use dark mode by default").
|
|
11
|
+
|
|
12
|
+
### Action
|
|
13
|
+
1. **Read:** Check if `.docs/decisions.md` (or `ADR.md`) exists.
|
|
14
|
+
2. **Update:** Append the new decision in a structured format:
|
|
15
|
+
```markdown
|
|
16
|
+
## [Date] Decision: Use UUIDs
|
|
17
|
+
* **Context:** Needed for security/scaling.
|
|
18
|
+
* **Decision:** All new migrations must use `$table->uuid('id')`.
|
|
19
|
+
* **Status:** Accepted.
|
|
20
|
+
```
|
|
21
|
+
3. **Reference:** Before starting any *new* task, read this file to ensure you aren't violating past decisions.
|