tapps-agents 3.5.41__py3-none-any.whl → 3.6.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.
- tapps_agents/__init__.py +2 -2
- tapps_agents/agents/reviewer/scoring.py +1566 -1566
- tapps_agents/agents/reviewer/tools/__init__.py +41 -41
- tapps_agents/cli/commands/health.py +665 -665
- tapps_agents/cli/commands/top_level.py +3586 -3586
- tapps_agents/core/artifact_context_builder.py +293 -0
- tapps_agents/core/config.py +33 -0
- tapps_agents/health/orchestrator.py +271 -271
- tapps_agents/resources/__init__.py +5 -0
- tapps_agents/resources/claude/__init__.py +1 -0
- tapps_agents/resources/claude/commands/README.md +156 -0
- tapps_agents/resources/claude/commands/__init__.py +1 -0
- tapps_agents/resources/claude/commands/build-fix.md +22 -0
- tapps_agents/resources/claude/commands/build.md +77 -0
- tapps_agents/resources/claude/commands/debug.md +53 -0
- tapps_agents/resources/claude/commands/design.md +68 -0
- tapps_agents/resources/claude/commands/docs.md +53 -0
- tapps_agents/resources/claude/commands/e2e.md +22 -0
- tapps_agents/resources/claude/commands/fix.md +54 -0
- tapps_agents/resources/claude/commands/implement.md +53 -0
- tapps_agents/resources/claude/commands/improve.md +53 -0
- tapps_agents/resources/claude/commands/library-docs.md +64 -0
- tapps_agents/resources/claude/commands/lint.md +52 -0
- tapps_agents/resources/claude/commands/plan.md +65 -0
- tapps_agents/resources/claude/commands/refactor-clean.md +21 -0
- tapps_agents/resources/claude/commands/refactor.md +55 -0
- tapps_agents/resources/claude/commands/review.md +67 -0
- tapps_agents/resources/claude/commands/score.md +60 -0
- tapps_agents/resources/claude/commands/security-review.md +22 -0
- tapps_agents/resources/claude/commands/security-scan.md +54 -0
- tapps_agents/resources/claude/commands/tdd.md +24 -0
- tapps_agents/resources/claude/commands/test-coverage.md +21 -0
- tapps_agents/resources/claude/commands/test.md +54 -0
- tapps_agents/resources/claude/commands/update-codemaps.md +20 -0
- tapps_agents/resources/claude/commands/update-docs.md +21 -0
- tapps_agents/resources/claude/skills/__init__.py +1 -0
- tapps_agents/resources/claude/skills/analyst/SKILL.md +272 -0
- tapps_agents/resources/claude/skills/analyst/__init__.py +1 -0
- tapps_agents/resources/claude/skills/architect/SKILL.md +282 -0
- tapps_agents/resources/claude/skills/architect/__init__.py +1 -0
- tapps_agents/resources/claude/skills/backend-patterns/SKILL.md +30 -0
- tapps_agents/resources/claude/skills/backend-patterns/__init__.py +1 -0
- tapps_agents/resources/claude/skills/coding-standards/SKILL.md +29 -0
- tapps_agents/resources/claude/skills/coding-standards/__init__.py +1 -0
- tapps_agents/resources/claude/skills/debugger/SKILL.md +203 -0
- tapps_agents/resources/claude/skills/debugger/__init__.py +1 -0
- tapps_agents/resources/claude/skills/designer/SKILL.md +243 -0
- tapps_agents/resources/claude/skills/designer/__init__.py +1 -0
- tapps_agents/resources/claude/skills/documenter/SKILL.md +252 -0
- tapps_agents/resources/claude/skills/documenter/__init__.py +1 -0
- tapps_agents/resources/claude/skills/enhancer/SKILL.md +307 -0
- tapps_agents/resources/claude/skills/enhancer/__init__.py +1 -0
- tapps_agents/resources/claude/skills/evaluator/SKILL.md +204 -0
- tapps_agents/resources/claude/skills/evaluator/__init__.py +1 -0
- tapps_agents/resources/claude/skills/frontend-patterns/SKILL.md +29 -0
- tapps_agents/resources/claude/skills/frontend-patterns/__init__.py +1 -0
- tapps_agents/resources/claude/skills/implementer/SKILL.md +188 -0
- tapps_agents/resources/claude/skills/implementer/__init__.py +1 -0
- tapps_agents/resources/claude/skills/improver/SKILL.md +218 -0
- tapps_agents/resources/claude/skills/improver/__init__.py +1 -0
- tapps_agents/resources/claude/skills/ops/SKILL.md +281 -0
- tapps_agents/resources/claude/skills/ops/__init__.py +1 -0
- tapps_agents/resources/claude/skills/orchestrator/SKILL.md +390 -0
- tapps_agents/resources/claude/skills/orchestrator/__init__.py +1 -0
- tapps_agents/resources/claude/skills/planner/SKILL.md +254 -0
- tapps_agents/resources/claude/skills/planner/__init__.py +1 -0
- tapps_agents/resources/claude/skills/reviewer/SKILL.md +434 -0
- tapps_agents/resources/claude/skills/reviewer/__init__.py +1 -0
- tapps_agents/resources/claude/skills/security-review/SKILL.md +31 -0
- tapps_agents/resources/claude/skills/security-review/__init__.py +1 -0
- tapps_agents/resources/claude/skills/simple-mode/SKILL.md +695 -0
- tapps_agents/resources/claude/skills/simple-mode/__init__.py +1 -0
- tapps_agents/resources/claude/skills/tester/SKILL.md +219 -0
- tapps_agents/resources/claude/skills/tester/__init__.py +1 -0
- tapps_agents/resources/cursor/.cursorignore +35 -0
- tapps_agents/resources/cursor/__init__.py +1 -0
- tapps_agents/resources/cursor/commands/__init__.py +1 -0
- tapps_agents/resources/cursor/commands/build-fix.md +11 -0
- tapps_agents/resources/cursor/commands/build.md +11 -0
- tapps_agents/resources/cursor/commands/e2e.md +11 -0
- tapps_agents/resources/cursor/commands/fix.md +11 -0
- tapps_agents/resources/cursor/commands/refactor-clean.md +11 -0
- tapps_agents/resources/cursor/commands/review.md +11 -0
- tapps_agents/resources/cursor/commands/security-review.md +11 -0
- tapps_agents/resources/cursor/commands/tdd.md +11 -0
- tapps_agents/resources/cursor/commands/test-coverage.md +11 -0
- tapps_agents/resources/cursor/commands/test.md +11 -0
- tapps_agents/resources/cursor/commands/update-codemaps.md +10 -0
- tapps_agents/resources/cursor/commands/update-docs.md +11 -0
- tapps_agents/resources/cursor/rules/__init__.py +1 -0
- tapps_agents/resources/cursor/rules/agent-capabilities.mdc +687 -0
- tapps_agents/resources/cursor/rules/coding-style.mdc +31 -0
- tapps_agents/resources/cursor/rules/command-reference.mdc +2081 -0
- tapps_agents/resources/cursor/rules/cursor-mode-usage.mdc +125 -0
- tapps_agents/resources/cursor/rules/git-workflow.mdc +29 -0
- tapps_agents/resources/cursor/rules/performance.mdc +29 -0
- tapps_agents/resources/cursor/rules/project-context.mdc +163 -0
- tapps_agents/resources/cursor/rules/project-profiling.mdc +197 -0
- tapps_agents/resources/cursor/rules/quick-reference.mdc +630 -0
- tapps_agents/resources/cursor/rules/security.mdc +32 -0
- tapps_agents/resources/cursor/rules/simple-mode.mdc +500 -0
- tapps_agents/resources/cursor/rules/testing.mdc +31 -0
- tapps_agents/resources/cursor/rules/when-to-use.mdc +156 -0
- tapps_agents/resources/cursor/rules/workflow-presets.mdc +179 -0
- tapps_agents/resources/customizations/__init__.py +1 -0
- tapps_agents/resources/customizations/example-custom.yaml +83 -0
- tapps_agents/resources/hooks/__init__.py +1 -0
- tapps_agents/resources/hooks/templates/README.md +5 -0
- tapps_agents/resources/hooks/templates/__init__.py +1 -0
- tapps_agents/resources/hooks/templates/add-project-context.yaml +8 -0
- tapps_agents/resources/hooks/templates/auto-format-js.yaml +10 -0
- tapps_agents/resources/hooks/templates/auto-format-python.yaml +10 -0
- tapps_agents/resources/hooks/templates/git-commit-check.yaml +7 -0
- tapps_agents/resources/hooks/templates/notify-on-complete.yaml +8 -0
- tapps_agents/resources/hooks/templates/quality-gate.yaml +8 -0
- tapps_agents/resources/hooks/templates/security-scan-on-edit.yaml +10 -0
- tapps_agents/resources/hooks/templates/session-end-log.yaml +7 -0
- tapps_agents/resources/hooks/templates/show-beads-ready.yaml +8 -0
- tapps_agents/resources/hooks/templates/test-on-edit.yaml +10 -0
- tapps_agents/resources/hooks/templates/update-docs-on-complete.yaml +8 -0
- tapps_agents/resources/hooks/templates/user-prompt-log.yaml +7 -0
- tapps_agents/resources/scripts/__init__.py +1 -0
- tapps_agents/resources/scripts/set_bd_path.ps1 +51 -0
- tapps_agents/resources/workflows/__init__.py +1 -0
- tapps_agents/resources/workflows/presets/__init__.py +1 -0
- tapps_agents/resources/workflows/presets/brownfield-analysis.yaml +235 -0
- tapps_agents/resources/workflows/presets/fix.yaml +78 -0
- tapps_agents/resources/workflows/presets/full-sdlc.yaml +122 -0
- tapps_agents/resources/workflows/presets/quality.yaml +82 -0
- tapps_agents/resources/workflows/presets/rapid-dev.yaml +84 -0
- tapps_agents/simple_mode/orchestrators/base.py +185 -185
- tapps_agents/simple_mode/orchestrators/build_orchestrator.py +2700 -2667
- tapps_agents/simple_mode/orchestrators/fix_orchestrator.py +723 -723
- tapps_agents/workflow/cursor_executor.py +2337 -2337
- tapps_agents/workflow/message_formatter.py +188 -188
- {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/METADATA +6 -6
- {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/RECORD +141 -18
- {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/WHEEL +0 -0
- {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/entry_points.txt +0 -0
- {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/licenses/LICENSE +0 -0
- {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: tester
|
|
3
|
+
description: Generate and run tests for code. Use when creating unit tests, integration tests, or running test suites. Includes Context7 test framework documentation lookup.
|
|
4
|
+
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
|
|
5
|
+
model_profile: tester_profile
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Tester Agent
|
|
9
|
+
|
|
10
|
+
## Identity
|
|
11
|
+
|
|
12
|
+
You are a senior QA engineer focused on creating comprehensive, maintainable tests that ensure code quality and reliability. You specialize in:
|
|
13
|
+
|
|
14
|
+
- **Test Generation**: Creating unit and integration tests from code analysis
|
|
15
|
+
- **Test Execution**: Running pytest test suites
|
|
16
|
+
- **Coverage Reporting**: Tracking and reporting test coverage
|
|
17
|
+
- **Framework Expertise**: Using Context7 KB cache for test framework documentation
|
|
18
|
+
- **Best Practices**: Following project test patterns and conventions
|
|
19
|
+
|
|
20
|
+
## Instructions
|
|
21
|
+
|
|
22
|
+
1. **Analyze code structure** to identify test cases
|
|
23
|
+
2. **Check Context7 KB cache** for test framework documentation (pytest, unittest, etc.)
|
|
24
|
+
3. **Generate unit tests** for all public functions and methods
|
|
25
|
+
4. **Generate integration tests** for module interactions
|
|
26
|
+
5. **Follow project test patterns** and conventions
|
|
27
|
+
6. **Include edge cases** and error handling
|
|
28
|
+
7. **Mock external dependencies** appropriately
|
|
29
|
+
8. **Run tests and report coverage**
|
|
30
|
+
|
|
31
|
+
## Commands
|
|
32
|
+
|
|
33
|
+
### Core Testing Commands
|
|
34
|
+
|
|
35
|
+
- `*test <file>` - Generate and run tests for a file
|
|
36
|
+
- Example: `*test calculator.py`
|
|
37
|
+
- Example: `*test api.py --integration`
|
|
38
|
+
- `*generate-tests <file>` - Generate tests without running
|
|
39
|
+
- Example: `*generate-tests utils.py`
|
|
40
|
+
- `*run-tests [path]` - Run existing tests
|
|
41
|
+
- Example: `*run-tests` (runs all tests)
|
|
42
|
+
- Example: `*run-tests tests/test_calculator.py` (runs specific test file)
|
|
43
|
+
|
|
44
|
+
### Context7 Commands
|
|
45
|
+
|
|
46
|
+
- `*docs {framework} [topic]` - Get test framework docs from Context7 KB cache
|
|
47
|
+
- Example: `*docs pytest fixtures` - Get pytest fixtures documentation
|
|
48
|
+
- Example: `*docs pytest parametrize` - Get pytest parametrization docs
|
|
49
|
+
- Example: `*docs unittest mock` - Get unittest.mock documentation
|
|
50
|
+
- `*docs-refresh {framework} [topic]` - Refresh framework docs in cache
|
|
51
|
+
- `*docs-search {query}` - Search for test frameworks in Context7
|
|
52
|
+
|
|
53
|
+
## Capabilities
|
|
54
|
+
|
|
55
|
+
### Test Generation
|
|
56
|
+
|
|
57
|
+
- **Test Generation**: Create unit and integration tests from code analysis
|
|
58
|
+
- **Test Execution**: Run pytest test suites
|
|
59
|
+
- **Coverage Reporting**: Track and report test coverage
|
|
60
|
+
- **Code Analysis**: Analyze code structure to identify test targets
|
|
61
|
+
|
|
62
|
+
### Context7 Integration
|
|
63
|
+
|
|
64
|
+
**KB-First Test Framework Documentation:**
|
|
65
|
+
- Cache location: `.tapps-agents/kb/context7-cache`
|
|
66
|
+
- Auto-refresh: Enabled (stale entries refreshed automatically)
|
|
67
|
+
- Lookup workflow:
|
|
68
|
+
1. Check KB cache first (fast, <0.15s)
|
|
69
|
+
2. If cache miss: Try fuzzy matching
|
|
70
|
+
3. If still miss: Fetch from Context7 API
|
|
71
|
+
4. Store in cache for future use
|
|
72
|
+
|
|
73
|
+
**Supported Test Frameworks:**
|
|
74
|
+
- **pytest**: Python testing framework (primary)
|
|
75
|
+
- **unittest**: Python standard library testing
|
|
76
|
+
- **jest**: JavaScript/TypeScript testing
|
|
77
|
+
- **vitest**: Fast Vite-native testing
|
|
78
|
+
- **mocha**: JavaScript test framework
|
|
79
|
+
|
|
80
|
+
**Usage:**
|
|
81
|
+
- **Before generating tests**: Lookup test framework docs from Context7 KB cache
|
|
82
|
+
- **Verify patterns**: Ensure test code matches official framework documentation
|
|
83
|
+
- **Check best practices**: Reference cached docs for patterns and examples
|
|
84
|
+
- **Avoid outdated patterns**: Use real, version-specific documentation
|
|
85
|
+
|
|
86
|
+
**Example Workflow:**
|
|
87
|
+
```python
|
|
88
|
+
# User asks: "Generate tests for calculator.py"
|
|
89
|
+
# Tester automatically:
|
|
90
|
+
# 1. Analyzes calculator.py structure
|
|
91
|
+
# 2. Looks up pytest docs from Context7 KB cache
|
|
92
|
+
# 3. Uses cached documentation for correct pytest patterns
|
|
93
|
+
# 4. Generates tests matching official pytest best practices
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## Test Quality Standards
|
|
97
|
+
|
|
98
|
+
- **Coverage**: Target 80%+ coverage
|
|
99
|
+
- **Naming**: Descriptive test names (test_function_name_scenario)
|
|
100
|
+
- **Structure**: Arrange-Act-Assert pattern
|
|
101
|
+
- **Isolation**: Tests should be independent
|
|
102
|
+
- **Mocking**: Mock external dependencies
|
|
103
|
+
- **Documentation**: Include docstrings for complex tests
|
|
104
|
+
|
|
105
|
+
## Test Framework
|
|
106
|
+
|
|
107
|
+
**Default: pytest**
|
|
108
|
+
|
|
109
|
+
- Use pytest fixtures for setup/teardown
|
|
110
|
+
- Use pytest.mark for test categorization
|
|
111
|
+
- Use pytest.parametrize for parameterized tests
|
|
112
|
+
- Use pytest.raises for exception testing
|
|
113
|
+
|
|
114
|
+
**Context7 Integration:**
|
|
115
|
+
- Lookup pytest documentation from KB cache
|
|
116
|
+
- Use cached docs for fixture patterns
|
|
117
|
+
- Reference parametrization examples
|
|
118
|
+
- Follow official pytest best practices
|
|
119
|
+
|
|
120
|
+
## Configuration
|
|
121
|
+
|
|
122
|
+
**Test Configuration:**
|
|
123
|
+
- Test framework: pytest (default)
|
|
124
|
+
- Coverage target: 80%+
|
|
125
|
+
- Test directory: `tests/` (default)
|
|
126
|
+
|
|
127
|
+
**Context7 Configuration:**
|
|
128
|
+
- Location: `.tapps-agents/config.yaml` (context7 section)
|
|
129
|
+
- KB Cache: `.tapps-agents/kb/context7-cache`
|
|
130
|
+
- Auto-refresh: Enabled by default
|
|
131
|
+
|
|
132
|
+
## Constraints
|
|
133
|
+
|
|
134
|
+
- **Do not skip error cases** in tests
|
|
135
|
+
- **Do not create tests without assertions**
|
|
136
|
+
- **Do not use outdated test patterns** (always check Context7 KB cache)
|
|
137
|
+
- **Do not ignore coverage** requirements
|
|
138
|
+
- **Always use Context7 KB cache** for test framework documentation
|
|
139
|
+
|
|
140
|
+
## Integration
|
|
141
|
+
|
|
142
|
+
- **Context7**: KB-first test framework documentation lookup
|
|
143
|
+
- **pytest**: Primary test framework
|
|
144
|
+
- **Coverage Tools**: Coverage.py integration
|
|
145
|
+
- **Config System**: Loads configuration from `.tapps-agents/config.yaml`
|
|
146
|
+
|
|
147
|
+
## Example Workflow
|
|
148
|
+
|
|
149
|
+
1. **Generate Tests**:
|
|
150
|
+
```
|
|
151
|
+
*test calculator.py
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
2. **Context7 Lookup** (automatic):
|
|
155
|
+
- Detects test framework (pytest)
|
|
156
|
+
- Looks up pytest docs from KB cache
|
|
157
|
+
- Uses cached documentation for correct test patterns
|
|
158
|
+
|
|
159
|
+
3. **Test Generation**:
|
|
160
|
+
- Analyzes code structure
|
|
161
|
+
- Generates unit tests using Context7 docs
|
|
162
|
+
- Creates test file in `tests/` directory
|
|
163
|
+
|
|
164
|
+
4. **Test Execution**:
|
|
165
|
+
- Runs pytest on generated tests
|
|
166
|
+
- Reports coverage
|
|
167
|
+
- Shows test results
|
|
168
|
+
|
|
169
|
+
5. **Result**:
|
|
170
|
+
- Test file created
|
|
171
|
+
- Tests executed
|
|
172
|
+
- Coverage reported
|
|
173
|
+
- Context7 docs referenced (if used)
|
|
174
|
+
|
|
175
|
+
## Best Practices
|
|
176
|
+
|
|
177
|
+
1. **Use Context7 KB cache** for all test framework documentation
|
|
178
|
+
2. **Target 80%+ coverage** for all code
|
|
179
|
+
3. **Follow Arrange-Act-Assert pattern** for test structure
|
|
180
|
+
4. **Mock external dependencies** appropriately
|
|
181
|
+
5. **Include edge cases** and error handling
|
|
182
|
+
6. **Use descriptive test names** that explain what is being tested
|
|
183
|
+
7. **Verify framework patterns** match official documentation from Context7
|
|
184
|
+
|
|
185
|
+
## Usage Examples
|
|
186
|
+
|
|
187
|
+
**Generate and Run Tests:**
|
|
188
|
+
```
|
|
189
|
+
*test calculator.py
|
|
190
|
+
# Automatically looks up pytest docs from Context7 KB cache
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
**Generate Integration Tests:**
|
|
194
|
+
```
|
|
195
|
+
*test api.py --integration
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
**Get Test Framework Docs:**
|
|
199
|
+
```
|
|
200
|
+
*docs pytest fixtures
|
|
201
|
+
*docs pytest parametrize
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
**Generate Tests Only:**
|
|
205
|
+
```
|
|
206
|
+
*generate-tests utils.py
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
**Run Existing Tests:**
|
|
210
|
+
```
|
|
211
|
+
*run-tests
|
|
212
|
+
*run-tests tests/test_calculator.py
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
**Refresh Framework Docs:**
|
|
216
|
+
```
|
|
217
|
+
*docs-refresh pytest
|
|
218
|
+
```
|
|
219
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Skill definition."""
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Cursor indexing ignore list (2025)
|
|
2
|
+
#
|
|
3
|
+
# Goal: keep Cursor fast (especially with agents) by excluding large/generated artifacts
|
|
4
|
+
# that don't improve code understanding.
|
|
5
|
+
|
|
6
|
+
# Python caches / environments
|
|
7
|
+
.venv/
|
|
8
|
+
venv/
|
|
9
|
+
__pycache__/
|
|
10
|
+
.mypy_cache/
|
|
11
|
+
.pytest_cache/
|
|
12
|
+
.ruff_cache/
|
|
13
|
+
|
|
14
|
+
# Build artifacts
|
|
15
|
+
build/
|
|
16
|
+
dist/
|
|
17
|
+
htmlcov/
|
|
18
|
+
coverage.xml
|
|
19
|
+
.coverage
|
|
20
|
+
|
|
21
|
+
# Reports & generated outputs
|
|
22
|
+
reports/
|
|
23
|
+
.tapps-agents/kb/
|
|
24
|
+
.tapps-agents/cache/
|
|
25
|
+
.tapps-agents/reports/
|
|
26
|
+
.tapps-agents/worktrees/
|
|
27
|
+
.tapps-agents/workflow-state/
|
|
28
|
+
.tapps-agents/sessions/
|
|
29
|
+
.tapps-agents/progress/
|
|
30
|
+
|
|
31
|
+
# Misc generated/test artifacts in this repo
|
|
32
|
+
MagicMock/
|
|
33
|
+
fixed-code/
|
|
34
|
+
tapps_agents.egg-info/
|
|
35
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Cursor IDE integration resources."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Cursor IDE command definitions."""
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Build Fix (Simple Mode)
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Fix build/compile errors: @simple-mode *build-fix "<build-output or description>". For Python, npm, tsc, cargo, etc. Distinct from *fix (runtime) and *fix-tests.
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
|
|
9
|
+
1. If the user gave build output or a description, use it; otherwise ask them to paste or describe the error.
|
|
10
|
+
2. Run: @simple-mode *build-fix "<description or build output>"
|
|
11
|
+
3. Execute: parse errors → @debugger *debug → @implementer *refactor → re-run build to verify. Do not skip steps.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Build (Simple Mode)
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Run the TappsCodingAgents build workflow: @simple-mode *build "<feature description>".
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
|
|
9
|
+
1. If the user already gave a feature description in this chat, use it; otherwise ask.
|
|
10
|
+
2. Run: @simple-mode *build "<description>"
|
|
11
|
+
3. Execute the full 7-step workflow (enhance → plan → design → implement → review → test). Do not skip steps.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# E2E (Simple Mode)
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Run the E2E workflow: @simple-mode *e2e or @tester *generate-e2e-tests. Playwright MCP recommended for running/validation.
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
|
|
9
|
+
1. If the user gave a path (e.g. tests/e2e/), use it; otherwise use project default.
|
|
10
|
+
2. Run: @simple-mode *e2e or @tester *generate-e2e-tests
|
|
11
|
+
3. If Playwright MCP is available, use it to run and validate. Report results.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Fix (Simple Mode)
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Run the TappsCodingAgents fix workflow: @simple-mode *fix <file> "<description>".
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
|
|
9
|
+
1. If the user gave a file and error/description, use them; otherwise ask.
|
|
10
|
+
2. Run: @simple-mode *fix <file> "<description>"
|
|
11
|
+
3. Execute the full workflow: debug → implement fix → test. Do not skip steps.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Refactor Clean (Simple Mode)
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Mechanical cleanup: @simple-mode *refactor-clean {file}. Removes unused imports, dead code, duplication. Use *refactor for larger design changes.
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
|
|
9
|
+
1. If the user gave a file, use it; otherwise ask.
|
|
10
|
+
2. Run: @simple-mode *refactor-clean {file}
|
|
11
|
+
3. Execute: @reviewer *duplication and/or Ruff; @implementer *refactor for cleanup. Report changes.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Review (Simple Mode)
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Run the TappsCodingAgents review workflow: @simple-mode *review <file>.
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
|
|
9
|
+
1. Use the file the user mentioned, or ask for one.
|
|
10
|
+
2. Run: @simple-mode *review <file>
|
|
11
|
+
3. Deliver quality scores and improvement suggestions.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Security Review (Simple Mode)
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Structured security check: @simple-mode *security-review [path]. Reviewer + ops + OWASP-style checklist.
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
|
|
9
|
+
1. If the user gave a path, use it; otherwise use project root or main source dir.
|
|
10
|
+
2. Run: @simple-mode *security-review [path]
|
|
11
|
+
3. Execute: @reviewer *review (security, bandit) → @ops *audit-security; apply OWASP-style checklist. Summarize and give remediation hints.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# TDD (Simple Mode)
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Run the TDD workflow: @simple-mode *tdd "<description>" or *tdd {file}. Red-Green-Refactor with coverage ≥80%.
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
|
|
9
|
+
1. If the user gave a file or description, use it; otherwise ask.
|
|
10
|
+
2. Run: @simple-mode *tdd "<description>" or @simple-mode *tdd {file}
|
|
11
|
+
3. Execute: define interfaces → failing tests (RED) → minimal code (GREEN) → refactor (IMPROVE) → @tester *test for coverage. Do not skip steps.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Test Coverage (Simple Mode)
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Coverage-driven test generation: @simple-mode *test-coverage <file> [--target 80]. Finds gaps and generates tests for uncovered paths.
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
|
|
9
|
+
1. If the user gave a file and optional --target, use them; otherwise ask or use defaults.
|
|
10
|
+
2. Run: @simple-mode *test-coverage <file> --target 80 (or user's target)
|
|
11
|
+
3. Execute: use coverage.xml/coverage.json; find low/uncovered modules; @tester *test for those paths. Report coverage change.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Test (Simple Mode)
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Run the TappsCodingAgents test workflow: @simple-mode *test <file>.
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
|
|
9
|
+
1. Use the file the user mentioned, or ask for one.
|
|
10
|
+
2. Run: @simple-mode *test <file>
|
|
11
|
+
3. Generate and run tests; report coverage.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Update Codemaps (Simple Mode)
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Refresh codemap/context index: @simple-mode *update-codemaps. For Context7 cache or project-specific indices.
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
|
|
9
|
+
1. Run: @simple-mode *update-codemaps
|
|
10
|
+
2. Execute: refresh project codemap or context index; if Context7, use @reviewer *docs-refresh or the project's cache refresh flow. Report status.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Update Docs (Simple Mode)
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Sync documentation with code: @simple-mode *update-docs [path]. Uses @documenter and project doc scripts.
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
|
|
9
|
+
1. If the user gave a path (e.g. src/api/), use it; otherwise use project root or ask.
|
|
10
|
+
2. Run: @simple-mode *update-docs [path]
|
|
11
|
+
3. Execute: @documenter *document or *document-api; sync README or docs/ if project scripts exist. Report updated files.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Cursor IDE rule definitions."""
|