antigravity-ai-kit 2.1.0 → 3.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.
- package/.agent/README.md +4 -4
- package/.agent/agents/README.md +16 -12
- package/.agent/agents/architect.md +1 -0
- package/.agent/agents/backend-specialist.md +11 -0
- package/.agent/agents/code-reviewer.md +1 -0
- package/.agent/agents/database-architect.md +11 -0
- package/.agent/agents/devops-engineer.md +11 -0
- package/.agent/agents/e2e-runner.md +1 -0
- package/.agent/agents/explorer-agent.md +11 -0
- package/.agent/agents/frontend-specialist.md +11 -0
- package/.agent/agents/mobile-developer.md +11 -0
- package/.agent/agents/performance-optimizer.md +11 -0
- package/.agent/agents/planner.md +1 -0
- package/.agent/agents/refactor-cleaner.md +1 -0
- package/.agent/agents/reliability-engineer.md +11 -0
- package/.agent/agents/security-reviewer.md +1 -0
- package/.agent/agents/sprint-orchestrator.md +10 -0
- package/.agent/agents/tdd-guide.md +1 -0
- package/.agent/commands/code-review.md +1 -0
- package/.agent/commands/debug.md +1 -0
- package/.agent/commands/deploy.md +1 -0
- package/.agent/commands/help.md +252 -31
- package/.agent/commands/plan.md +1 -0
- package/.agent/commands/status.md +1 -0
- package/.agent/commands/tdd.md +1 -0
- package/.agent/contexts/brainstorm.md +26 -0
- package/.agent/contexts/debug.md +28 -0
- package/.agent/contexts/implement.md +29 -0
- package/.agent/contexts/review.md +27 -0
- package/.agent/contexts/ship.md +28 -0
- package/.agent/engine/identity.json +13 -0
- package/.agent/engine/loading-rules.json +23 -1
- package/.agent/engine/marketplace-index.json +29 -0
- package/.agent/engine/reliability-config.json +14 -0
- package/.agent/engine/sdlc-map.json +44 -0
- package/.agent/engine/workflow-state.json +28 -2
- package/.agent/hooks/hooks.json +27 -25
- package/.agent/manifest.json +12 -4
- package/.agent/rules.md +2 -1
- package/.agent/skills/README.md +10 -5
- package/.agent/skills/i18n-localization/SKILL.md +191 -0
- package/.agent/skills/mcp-integration/SKILL.md +224 -0
- package/.agent/skills/parallel-agents/SKILL.md +1 -1
- package/.agent/skills/shell-conventions/SKILL.md +92 -0
- package/.agent/skills/ui-ux-pro-max/SKILL.md +557 -0
- package/.agent/skills/ui-ux-pro-max/data/charts.csv +26 -0
- package/.agent/skills/ui-ux-pro-max/data/colors.csv +97 -0
- package/.agent/skills/ui-ux-pro-max/data/icons.csv +101 -0
- package/.agent/skills/ui-ux-pro-max/data/landing.csv +31 -0
- package/.agent/skills/ui-ux-pro-max/data/products.csv +97 -0
- package/.agent/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/.agent/skills/ui-ux-pro-max/data/styles.csv +68 -0
- package/.agent/skills/ui-ux-pro-max/data/typography.csv +58 -0
- package/.agent/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/.agent/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/.agent/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/.agent/skills/ui-ux-pro-max/scripts/core.py +253 -0
- package/.agent/skills/ui-ux-pro-max/scripts/design_system.py +1067 -0
- package/.agent/skills/ui-ux-pro-max/scripts/search.py +114 -0
- package/.agent/templates/adr-template.md +32 -0
- package/.agent/templates/bug-report.md +37 -0
- package/.agent/templates/feature-request.md +32 -0
- package/.agent/workflows/README.md +92 -78
- package/.agent/workflows/brainstorm.md +154 -100
- package/.agent/workflows/create.md +142 -75
- package/.agent/workflows/debug.md +157 -98
- package/.agent/workflows/deploy.md +195 -144
- package/.agent/workflows/enhance.md +157 -65
- package/.agent/workflows/orchestrate.md +171 -114
- package/.agent/workflows/plan.md +147 -72
- package/.agent/workflows/preview.md +140 -83
- package/.agent/workflows/quality-gate.md +196 -0
- package/.agent/workflows/retrospective.md +197 -0
- package/.agent/workflows/review.md +188 -0
- package/.agent/workflows/status.md +142 -91
- package/.agent/workflows/test.md +168 -95
- package/.agent/workflows/ui-ux-pro-max.md +181 -127
- package/README.md +215 -78
- package/bin/ag-kit.js +344 -10
- package/lib/agent-registry.js +214 -0
- package/lib/agent-reputation.js +351 -0
- package/lib/cli-commands.js +235 -0
- package/lib/conflict-detector.js +245 -0
- package/lib/engineering-manager.js +354 -0
- package/lib/error-budget.js +294 -0
- package/lib/hook-system.js +252 -0
- package/lib/identity.js +245 -0
- package/lib/loading-engine.js +208 -0
- package/lib/marketplace.js +298 -0
- package/lib/plugin-system.js +604 -0
- package/lib/security-scanner.js +309 -0
- package/lib/self-healing.js +434 -0
- package/lib/session-manager.js +261 -0
- package/lib/skill-sandbox.js +244 -0
- package/lib/task-governance.js +523 -0
- package/lib/task-model.js +317 -0
- package/lib/updater.js +201 -0
- package/lib/verify.js +240 -0
- package/lib/workflow-engine.js +353 -0
- package/lib/workflow-persistence.js +160 -0
- package/package.json +7 -3
|
@@ -1,75 +1,142 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Create new features, components, or modules from scratch
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
-
|
|
61
|
-
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
-
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
1
|
+
---
|
|
2
|
+
description: Create new features, components, or modules from scratch.
|
|
3
|
+
version: 2.1.0
|
|
4
|
+
sdlc-phase: build
|
|
5
|
+
skills: [app-builder, clean-code]
|
|
6
|
+
commit-types: [feat]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# /create — Scaffold New Features
|
|
10
|
+
|
|
11
|
+
> **Trigger**: `/create [description]`
|
|
12
|
+
> **Lifecycle**: Build — after `/plan` approval
|
|
13
|
+
|
|
14
|
+
> [!IMPORTANT]
|
|
15
|
+
> This workflow creates new code. All scaffolded code MUST follow existing project patterns and conventions. No orphan code — everything must integrate with the existing architecture.
|
|
16
|
+
|
|
17
|
+
> [!TIP]
|
|
18
|
+
> This workflow leverages the **app-builder** skill. Read `.agent/skills/app-builder/SKILL.md` for extended guidance.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Critical Rules
|
|
23
|
+
|
|
24
|
+
1. **Follow existing patterns** — scan the codebase for conventions before writing anything
|
|
25
|
+
2. **No orphan code** — every new file must be imported, referenced, or routed
|
|
26
|
+
3. **Tests required** — every new feature must include appropriate tests
|
|
27
|
+
4. **Stack-agnostic detection** — auto-detect the project type before scaffolding
|
|
28
|
+
5. **User approval for major scaffolds** — present the plan before creating >5 files
|
|
29
|
+
6. **Document public APIs** — add inline documentation for all exported functions/components
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Steps
|
|
34
|
+
|
|
35
|
+
// turbo
|
|
36
|
+
1. **Clarify Requirements**
|
|
37
|
+
- What type of component, feature, or module?
|
|
38
|
+
- What is the acceptance criteria?
|
|
39
|
+
- Any specific patterns, libraries, or constraints?
|
|
40
|
+
|
|
41
|
+
// turbo
|
|
42
|
+
2. **Detect Project Stack**
|
|
43
|
+
- Auto-detect the project type from config files (`package.json`, `pyproject.toml`, `Cargo.toml`, `go.mod`, etc.)
|
|
44
|
+
- Identify the framework, language, and conventions in use
|
|
45
|
+
- Determine the appropriate scaffold structure
|
|
46
|
+
|
|
47
|
+
// turbo
|
|
48
|
+
3. **Analyze Existing Patterns**
|
|
49
|
+
- Search for similar components/modules in the codebase
|
|
50
|
+
- Identify naming conventions, file structure, and import patterns
|
|
51
|
+
- Note relevant utilities, helpers, and shared modules to reuse
|
|
52
|
+
|
|
53
|
+
4. **Present Scaffold Plan**
|
|
54
|
+
- Show the proposed file structure and integration points
|
|
55
|
+
- For major scaffolds (>5 files): present plan and wait for user approval
|
|
56
|
+
- For minor scaffolds: proceed with creation
|
|
57
|
+
|
|
58
|
+
5. **Implement**
|
|
59
|
+
- Create files following detected project conventions
|
|
60
|
+
- Apply SOLID principles and project-specific patterns
|
|
61
|
+
- Wire up imports, routes, and exports
|
|
62
|
+
|
|
63
|
+
6. **Add Tests**
|
|
64
|
+
- Unit tests for utilities and business logic
|
|
65
|
+
- Integration tests for component interactions
|
|
66
|
+
- E2E tests for critical user flows (when applicable)
|
|
67
|
+
|
|
68
|
+
7. **Document**
|
|
69
|
+
- Add inline documentation (JSDoc, docstrings, etc.)
|
|
70
|
+
- Update relevant README or docs if the feature is user-facing
|
|
71
|
+
- Create usage examples if appropriate
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## Output Template
|
|
76
|
+
|
|
77
|
+
```markdown
|
|
78
|
+
## 🏗️ Create: [Feature Name]
|
|
79
|
+
|
|
80
|
+
### Stack Detected
|
|
81
|
+
|
|
82
|
+
- **Language**: [language]
|
|
83
|
+
- **Framework**: [framework]
|
|
84
|
+
- **Conventions**: [detected patterns]
|
|
85
|
+
|
|
86
|
+
### Files Created
|
|
87
|
+
|
|
88
|
+
| File | Purpose |
|
|
89
|
+
| :--- | :------ |
|
|
90
|
+
| `path/to/file` | [description] |
|
|
91
|
+
|
|
92
|
+
### Integration Points
|
|
93
|
+
|
|
94
|
+
- [How new code connects to existing architecture]
|
|
95
|
+
|
|
96
|
+
### Tests Added
|
|
97
|
+
|
|
98
|
+
- [x] Unit tests: `path/to/tests`
|
|
99
|
+
- [x] Integration tests: `path/to/tests`
|
|
100
|
+
|
|
101
|
+
### Next Steps
|
|
102
|
+
|
|
103
|
+
After creation: proceed to `/test` for full test suite or `/preview` for visual verification.
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## Governance
|
|
109
|
+
|
|
110
|
+
**PROHIBITED:**
|
|
111
|
+
- Creating files without checking existing patterns first
|
|
112
|
+
- Scaffolding framework-specific code in a different-stack project
|
|
113
|
+
- Leaving orphan files not connected to the project
|
|
114
|
+
- Skipping tests for new features
|
|
115
|
+
- Skipping failed steps · proceeding without resolution
|
|
116
|
+
|
|
117
|
+
**REQUIRED:**
|
|
118
|
+
- Stack detection before scaffolding
|
|
119
|
+
- Pattern analysis before implementation
|
|
120
|
+
- User approval for scaffolds creating >5 files
|
|
121
|
+
- Test coverage for all new code
|
|
122
|
+
- Integration with existing project architecture
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## Completion Criteria
|
|
127
|
+
|
|
128
|
+
- [ ] Project stack is detected and documented
|
|
129
|
+
- [ ] Existing patterns are analyzed and followed
|
|
130
|
+
- [ ] All files are created and integrated (no orphans)
|
|
131
|
+
- [ ] Tests are written and passing
|
|
132
|
+
- [ ] Documentation is added for public APIs
|
|
133
|
+
- [ ] After creation: proceed to `/test` for validation or `/preview` for visual check
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## Related Resources
|
|
138
|
+
|
|
139
|
+
- **Previous**: `/plan` (implementation plan must exist for major features)
|
|
140
|
+
- **Next**: `/test` (validate new code) · `/preview` (visual verification)
|
|
141
|
+
- **Skill**: `.agent/skills/app-builder/SKILL.md`
|
|
142
|
+
- **Related Skills**: `.agent/skills/clean-code/SKILL.md` · `.agent/skills/architecture/SKILL.md`
|
|
@@ -1,98 +1,157 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Systematic debugging workflow. Activates DEBUG mode for problem investigation.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
2. **
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
##
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
1
|
+
---
|
|
2
|
+
description: Systematic debugging workflow. Activates DEBUG mode for problem investigation.
|
|
3
|
+
version: 2.1.0
|
|
4
|
+
sdlc-phase: reactive
|
|
5
|
+
skills: [debugging-strategies]
|
|
6
|
+
commit-types: [fix]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# /debug — Systematic Problem Investigation
|
|
10
|
+
|
|
11
|
+
> **Trigger**: `/debug [issue description]`
|
|
12
|
+
> **Lifecycle**: Reactive — any SDLC phase
|
|
13
|
+
|
|
14
|
+
> [!CAUTION]
|
|
15
|
+
> Debugging may involve production systems. Never apply untested fixes to production. Always identify and document the root cause before implementing changes.
|
|
16
|
+
|
|
17
|
+
> [!TIP]
|
|
18
|
+
> This workflow leverages the **debugging-strategies** skill. Read `.agent/skills/debugging-strategies/SKILL.md` for extended guidance.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Critical Rules
|
|
23
|
+
|
|
24
|
+
1. **Root cause required** — never apply a fix without understanding why the issue occurs
|
|
25
|
+
2. **No guessing** — form hypotheses, test them systematically, eliminate possibilities
|
|
26
|
+
3. **Prevention mandatory** — every fix must include measures to prevent recurrence
|
|
27
|
+
4. **Preserve evidence** — capture error messages, logs, and reproduction steps before changing anything
|
|
28
|
+
5. **Minimal changes** — fix only what's broken; avoid scope creep during debugging
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Argument Parsing
|
|
33
|
+
|
|
34
|
+
| Command | Action |
|
|
35
|
+
| :-------------------------- | :------------------------------------------- |
|
|
36
|
+
| `/debug` | Prompt for issue description |
|
|
37
|
+
| `/debug [issue]` | Investigate the specified issue directly |
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Steps
|
|
42
|
+
|
|
43
|
+
// turbo
|
|
44
|
+
1. **Gather Information**
|
|
45
|
+
- Capture the exact error message, stack trace, or unexpected behavior
|
|
46
|
+
- Document reproduction steps (reliable vs. intermittent)
|
|
47
|
+
- Note expected vs. actual behavior
|
|
48
|
+
|
|
49
|
+
// turbo
|
|
50
|
+
2. **Environment Diagnostics**
|
|
51
|
+
- Operating system and version
|
|
52
|
+
- Runtime versions (Node.js, Python, etc.)
|
|
53
|
+
- Recent git changes (`git log -5 --oneline`)
|
|
54
|
+
- Relevant environment variables and config
|
|
55
|
+
- Dependency versions (`package.json`, `pyproject.toml`, etc.)
|
|
56
|
+
|
|
57
|
+
// turbo
|
|
58
|
+
3. **Form Hypotheses**
|
|
59
|
+
- List 3+ possible causes, ordered by likelihood
|
|
60
|
+
- Consider: recent changes, dependency issues, environment differences, data edge cases
|
|
61
|
+
|
|
62
|
+
// turbo
|
|
63
|
+
4. **Investigate Systematically**
|
|
64
|
+
- Test each hypothesis in order of likelihood
|
|
65
|
+
- Check logs, data flow, network requests, and state
|
|
66
|
+
- Use elimination method — rule out causes definitively
|
|
67
|
+
- Document findings for each hypothesis tested
|
|
68
|
+
|
|
69
|
+
5. **Apply Fix**
|
|
70
|
+
- Implement the minimal fix that addresses the root cause
|
|
71
|
+
- Verify the fix resolves the original issue
|
|
72
|
+
- Confirm no regressions are introduced
|
|
73
|
+
|
|
74
|
+
6. **Prevent Recurrence**
|
|
75
|
+
- Add tests that would catch this issue
|
|
76
|
+
- Add validation, error handling, or guardrails as needed
|
|
77
|
+
- Document the root cause for future reference
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Output Template
|
|
82
|
+
|
|
83
|
+
```markdown
|
|
84
|
+
## 🔍 Debug: [Issue]
|
|
85
|
+
|
|
86
|
+
### 1. Symptom
|
|
87
|
+
|
|
88
|
+
[What's happening — error message, unexpected behavior]
|
|
89
|
+
|
|
90
|
+
### 2. Environment
|
|
91
|
+
|
|
92
|
+
- **OS**: [os]
|
|
93
|
+
- **Runtime**: [runtime and version]
|
|
94
|
+
- **Recent Changes**: [last 3 commits]
|
|
95
|
+
|
|
96
|
+
### 3. Hypotheses
|
|
97
|
+
|
|
98
|
+
1. ❓ [Most likely cause] — [why]
|
|
99
|
+
2. ❓ [Second possibility] — [why]
|
|
100
|
+
3. ❓ [Less likely cause] — [why]
|
|
101
|
+
|
|
102
|
+
### 4. Investigation
|
|
103
|
+
|
|
104
|
+
**Hypothesis 1:** [What I checked] → [Result: confirmed / eliminated]
|
|
105
|
+
**Hypothesis 2:** [What I checked] → [Result]
|
|
106
|
+
|
|
107
|
+
### 5. Root Cause
|
|
108
|
+
|
|
109
|
+
🎯 **[Root cause explanation]**
|
|
110
|
+
|
|
111
|
+
### 6. Fix Applied
|
|
112
|
+
|
|
113
|
+
[Code changes with explanation]
|
|
114
|
+
|
|
115
|
+
### 7. Prevention
|
|
116
|
+
|
|
117
|
+
🛡️ [Tests added, validation added, documentation updated]
|
|
118
|
+
|
|
119
|
+
After fix: proceed to `/test` for regression verification.
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## Governance
|
|
125
|
+
|
|
126
|
+
**PROHIBITED:**
|
|
127
|
+
- Applying fixes without identifying the root cause
|
|
128
|
+
- Guessing randomly without structured hypothesis testing
|
|
129
|
+
- Modifying production systems without rollback plan
|
|
130
|
+
- Ignoring prevention measures after a fix
|
|
131
|
+
- Skipping failed steps · proceeding without resolution
|
|
132
|
+
|
|
133
|
+
**REQUIRED:**
|
|
134
|
+
- Evidence-based hypothesis testing
|
|
135
|
+
- Root cause documentation before any fix
|
|
136
|
+
- Prevention measures (tests, validation, guardrails)
|
|
137
|
+
- Regression verification after fix
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## Completion Criteria
|
|
142
|
+
|
|
143
|
+
- [ ] Error/issue is fully reproduced and documented
|
|
144
|
+
- [ ] Environment diagnostics are captured
|
|
145
|
+
- [ ] Root cause is identified with evidence
|
|
146
|
+
- [ ] Fix is applied and verified
|
|
147
|
+
- [ ] Prevention measures are implemented (tests, validation)
|
|
148
|
+
- [ ] No regressions introduced
|
|
149
|
+
- [ ] After fix: proceed to `/test` for full regression check
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## Related Resources
|
|
154
|
+
|
|
155
|
+
- **Next**: `/test` (regression verification after fix)
|
|
156
|
+
- **Skill**: `.agent/skills/debugging-strategies/SKILL.md`
|
|
157
|
+
- **Related Skills**: `.agent/skills/testing-patterns/SKILL.md`
|