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.
Files changed (141) hide show
  1. tapps_agents/__init__.py +2 -2
  2. tapps_agents/agents/reviewer/scoring.py +1566 -1566
  3. tapps_agents/agents/reviewer/tools/__init__.py +41 -41
  4. tapps_agents/cli/commands/health.py +665 -665
  5. tapps_agents/cli/commands/top_level.py +3586 -3586
  6. tapps_agents/core/artifact_context_builder.py +293 -0
  7. tapps_agents/core/config.py +33 -0
  8. tapps_agents/health/orchestrator.py +271 -271
  9. tapps_agents/resources/__init__.py +5 -0
  10. tapps_agents/resources/claude/__init__.py +1 -0
  11. tapps_agents/resources/claude/commands/README.md +156 -0
  12. tapps_agents/resources/claude/commands/__init__.py +1 -0
  13. tapps_agents/resources/claude/commands/build-fix.md +22 -0
  14. tapps_agents/resources/claude/commands/build.md +77 -0
  15. tapps_agents/resources/claude/commands/debug.md +53 -0
  16. tapps_agents/resources/claude/commands/design.md +68 -0
  17. tapps_agents/resources/claude/commands/docs.md +53 -0
  18. tapps_agents/resources/claude/commands/e2e.md +22 -0
  19. tapps_agents/resources/claude/commands/fix.md +54 -0
  20. tapps_agents/resources/claude/commands/implement.md +53 -0
  21. tapps_agents/resources/claude/commands/improve.md +53 -0
  22. tapps_agents/resources/claude/commands/library-docs.md +64 -0
  23. tapps_agents/resources/claude/commands/lint.md +52 -0
  24. tapps_agents/resources/claude/commands/plan.md +65 -0
  25. tapps_agents/resources/claude/commands/refactor-clean.md +21 -0
  26. tapps_agents/resources/claude/commands/refactor.md +55 -0
  27. tapps_agents/resources/claude/commands/review.md +67 -0
  28. tapps_agents/resources/claude/commands/score.md +60 -0
  29. tapps_agents/resources/claude/commands/security-review.md +22 -0
  30. tapps_agents/resources/claude/commands/security-scan.md +54 -0
  31. tapps_agents/resources/claude/commands/tdd.md +24 -0
  32. tapps_agents/resources/claude/commands/test-coverage.md +21 -0
  33. tapps_agents/resources/claude/commands/test.md +54 -0
  34. tapps_agents/resources/claude/commands/update-codemaps.md +20 -0
  35. tapps_agents/resources/claude/commands/update-docs.md +21 -0
  36. tapps_agents/resources/claude/skills/__init__.py +1 -0
  37. tapps_agents/resources/claude/skills/analyst/SKILL.md +272 -0
  38. tapps_agents/resources/claude/skills/analyst/__init__.py +1 -0
  39. tapps_agents/resources/claude/skills/architect/SKILL.md +282 -0
  40. tapps_agents/resources/claude/skills/architect/__init__.py +1 -0
  41. tapps_agents/resources/claude/skills/backend-patterns/SKILL.md +30 -0
  42. tapps_agents/resources/claude/skills/backend-patterns/__init__.py +1 -0
  43. tapps_agents/resources/claude/skills/coding-standards/SKILL.md +29 -0
  44. tapps_agents/resources/claude/skills/coding-standards/__init__.py +1 -0
  45. tapps_agents/resources/claude/skills/debugger/SKILL.md +203 -0
  46. tapps_agents/resources/claude/skills/debugger/__init__.py +1 -0
  47. tapps_agents/resources/claude/skills/designer/SKILL.md +243 -0
  48. tapps_agents/resources/claude/skills/designer/__init__.py +1 -0
  49. tapps_agents/resources/claude/skills/documenter/SKILL.md +252 -0
  50. tapps_agents/resources/claude/skills/documenter/__init__.py +1 -0
  51. tapps_agents/resources/claude/skills/enhancer/SKILL.md +307 -0
  52. tapps_agents/resources/claude/skills/enhancer/__init__.py +1 -0
  53. tapps_agents/resources/claude/skills/evaluator/SKILL.md +204 -0
  54. tapps_agents/resources/claude/skills/evaluator/__init__.py +1 -0
  55. tapps_agents/resources/claude/skills/frontend-patterns/SKILL.md +29 -0
  56. tapps_agents/resources/claude/skills/frontend-patterns/__init__.py +1 -0
  57. tapps_agents/resources/claude/skills/implementer/SKILL.md +188 -0
  58. tapps_agents/resources/claude/skills/implementer/__init__.py +1 -0
  59. tapps_agents/resources/claude/skills/improver/SKILL.md +218 -0
  60. tapps_agents/resources/claude/skills/improver/__init__.py +1 -0
  61. tapps_agents/resources/claude/skills/ops/SKILL.md +281 -0
  62. tapps_agents/resources/claude/skills/ops/__init__.py +1 -0
  63. tapps_agents/resources/claude/skills/orchestrator/SKILL.md +390 -0
  64. tapps_agents/resources/claude/skills/orchestrator/__init__.py +1 -0
  65. tapps_agents/resources/claude/skills/planner/SKILL.md +254 -0
  66. tapps_agents/resources/claude/skills/planner/__init__.py +1 -0
  67. tapps_agents/resources/claude/skills/reviewer/SKILL.md +434 -0
  68. tapps_agents/resources/claude/skills/reviewer/__init__.py +1 -0
  69. tapps_agents/resources/claude/skills/security-review/SKILL.md +31 -0
  70. tapps_agents/resources/claude/skills/security-review/__init__.py +1 -0
  71. tapps_agents/resources/claude/skills/simple-mode/SKILL.md +695 -0
  72. tapps_agents/resources/claude/skills/simple-mode/__init__.py +1 -0
  73. tapps_agents/resources/claude/skills/tester/SKILL.md +219 -0
  74. tapps_agents/resources/claude/skills/tester/__init__.py +1 -0
  75. tapps_agents/resources/cursor/.cursorignore +35 -0
  76. tapps_agents/resources/cursor/__init__.py +1 -0
  77. tapps_agents/resources/cursor/commands/__init__.py +1 -0
  78. tapps_agents/resources/cursor/commands/build-fix.md +11 -0
  79. tapps_agents/resources/cursor/commands/build.md +11 -0
  80. tapps_agents/resources/cursor/commands/e2e.md +11 -0
  81. tapps_agents/resources/cursor/commands/fix.md +11 -0
  82. tapps_agents/resources/cursor/commands/refactor-clean.md +11 -0
  83. tapps_agents/resources/cursor/commands/review.md +11 -0
  84. tapps_agents/resources/cursor/commands/security-review.md +11 -0
  85. tapps_agents/resources/cursor/commands/tdd.md +11 -0
  86. tapps_agents/resources/cursor/commands/test-coverage.md +11 -0
  87. tapps_agents/resources/cursor/commands/test.md +11 -0
  88. tapps_agents/resources/cursor/commands/update-codemaps.md +10 -0
  89. tapps_agents/resources/cursor/commands/update-docs.md +11 -0
  90. tapps_agents/resources/cursor/rules/__init__.py +1 -0
  91. tapps_agents/resources/cursor/rules/agent-capabilities.mdc +687 -0
  92. tapps_agents/resources/cursor/rules/coding-style.mdc +31 -0
  93. tapps_agents/resources/cursor/rules/command-reference.mdc +2081 -0
  94. tapps_agents/resources/cursor/rules/cursor-mode-usage.mdc +125 -0
  95. tapps_agents/resources/cursor/rules/git-workflow.mdc +29 -0
  96. tapps_agents/resources/cursor/rules/performance.mdc +29 -0
  97. tapps_agents/resources/cursor/rules/project-context.mdc +163 -0
  98. tapps_agents/resources/cursor/rules/project-profiling.mdc +197 -0
  99. tapps_agents/resources/cursor/rules/quick-reference.mdc +630 -0
  100. tapps_agents/resources/cursor/rules/security.mdc +32 -0
  101. tapps_agents/resources/cursor/rules/simple-mode.mdc +500 -0
  102. tapps_agents/resources/cursor/rules/testing.mdc +31 -0
  103. tapps_agents/resources/cursor/rules/when-to-use.mdc +156 -0
  104. tapps_agents/resources/cursor/rules/workflow-presets.mdc +179 -0
  105. tapps_agents/resources/customizations/__init__.py +1 -0
  106. tapps_agents/resources/customizations/example-custom.yaml +83 -0
  107. tapps_agents/resources/hooks/__init__.py +1 -0
  108. tapps_agents/resources/hooks/templates/README.md +5 -0
  109. tapps_agents/resources/hooks/templates/__init__.py +1 -0
  110. tapps_agents/resources/hooks/templates/add-project-context.yaml +8 -0
  111. tapps_agents/resources/hooks/templates/auto-format-js.yaml +10 -0
  112. tapps_agents/resources/hooks/templates/auto-format-python.yaml +10 -0
  113. tapps_agents/resources/hooks/templates/git-commit-check.yaml +7 -0
  114. tapps_agents/resources/hooks/templates/notify-on-complete.yaml +8 -0
  115. tapps_agents/resources/hooks/templates/quality-gate.yaml +8 -0
  116. tapps_agents/resources/hooks/templates/security-scan-on-edit.yaml +10 -0
  117. tapps_agents/resources/hooks/templates/session-end-log.yaml +7 -0
  118. tapps_agents/resources/hooks/templates/show-beads-ready.yaml +8 -0
  119. tapps_agents/resources/hooks/templates/test-on-edit.yaml +10 -0
  120. tapps_agents/resources/hooks/templates/update-docs-on-complete.yaml +8 -0
  121. tapps_agents/resources/hooks/templates/user-prompt-log.yaml +7 -0
  122. tapps_agents/resources/scripts/__init__.py +1 -0
  123. tapps_agents/resources/scripts/set_bd_path.ps1 +51 -0
  124. tapps_agents/resources/workflows/__init__.py +1 -0
  125. tapps_agents/resources/workflows/presets/__init__.py +1 -0
  126. tapps_agents/resources/workflows/presets/brownfield-analysis.yaml +235 -0
  127. tapps_agents/resources/workflows/presets/fix.yaml +78 -0
  128. tapps_agents/resources/workflows/presets/full-sdlc.yaml +122 -0
  129. tapps_agents/resources/workflows/presets/quality.yaml +82 -0
  130. tapps_agents/resources/workflows/presets/rapid-dev.yaml +84 -0
  131. tapps_agents/simple_mode/orchestrators/base.py +185 -185
  132. tapps_agents/simple_mode/orchestrators/build_orchestrator.py +2700 -2667
  133. tapps_agents/simple_mode/orchestrators/fix_orchestrator.py +723 -723
  134. tapps_agents/workflow/cursor_executor.py +2337 -2337
  135. tapps_agents/workflow/message_formatter.py +188 -188
  136. {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/METADATA +6 -6
  137. {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/RECORD +141 -18
  138. {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/WHEEL +0 -0
  139. {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/entry_points.txt +0 -0
  140. {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/licenses/LICENSE +0 -0
  141. {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,156 @@
1
+ # Claude Desktop Commands
2
+
3
+ This directory contains Claude Desktop commands that work alongside Cursor Skills. These commands provide the same functionality in both Claude Desktop and Cursor IDE.
4
+
5
+ ## Quick Start
6
+
7
+ Use commands in Claude Desktop by typing `@command-name`:
8
+
9
+ ```
10
+ @review src/api/auth.py
11
+ @build "Create a user authentication feature"
12
+ @test src/api/auth.py
13
+ ```
14
+
15
+ ## Available Commands
16
+
17
+ ### Core Development Commands
18
+
19
+ | Command | Description | Cursor Equivalent |
20
+ |---------|-------------|-------------------|
21
+ | `@review` | Full code review with scoring | `@reviewer *review` |
22
+ | `@score` | Quick quality scoring | `@reviewer *score` |
23
+ | `@implement` | Generate code from description | `@implementer *implement` |
24
+ | `@test` | Generate and run tests | `@tester *test` |
25
+ | `@debug` | Debug errors and find root cause | `@debugger *debug` |
26
+ | `@refactor` | Refactor code with instructions | `@implementer *refactor` |
27
+ | `@improve` | Improve code quality | `@improver *improve` |
28
+ | `@lint` | Run code linting | `@reviewer *lint` |
29
+
30
+ ### Planning & Design Commands
31
+
32
+ | Command | Description | Cursor Equivalent |
33
+ |---------|-------------|-------------------|
34
+ | `@plan` | Create development plan | `@planner *plan` |
35
+ | `@design` | Design system architecture | `@architect *design` |
36
+ | `@docs` | Generate documentation | `@documenter *document` |
37
+
38
+ ### Quality & Security Commands
39
+
40
+ | Command | Description | Cursor Equivalent |
41
+ |---------|-------------|-------------------|
42
+ | `@security-scan` | Scan for vulnerabilities | `@reviewer *security-scan` |
43
+ | `@library-docs` | Get library documentation | `@reviewer *docs` |
44
+
45
+ ### Workflow Commands (Simple Mode)
46
+
47
+ | Command | Description | Cursor Equivalent |
48
+ |---------|-------------|-------------------|
49
+ | `@build` | Complete feature workflow | `@simple-mode *build` |
50
+ | `@fix` | Fix bugs with debugging | `@simple-mode *fix` |
51
+
52
+ ## Usage Examples
53
+
54
+ ### Code Review
55
+ ```
56
+ @review src/api/auth.py
57
+ @score src/utils/helpers.py
58
+ @lint src/ --fix
59
+ ```
60
+
61
+ ### Code Generation
62
+ ```
63
+ @implement "Create a user authentication API" src/api/auth.py
64
+ @refactor src/api/auth.py "Improve error handling"
65
+ @improve src/utils/helpers.py "Add type hints"
66
+ ```
67
+
68
+ ### Testing
69
+ ```
70
+ @test src/api/auth.py
71
+ @test src/utils/helpers.py --integration
72
+ ```
73
+
74
+ ### Debugging
75
+ ```
76
+ @debug "Null pointer error on line 42" --file src/api/auth.py
77
+ @fix src/api/auth.py "Fix authentication token validation"
78
+ ```
79
+
80
+ ### Planning & Design
81
+ ```
82
+ @plan "Create a user authentication feature"
83
+ @design "REST API for product management"
84
+ @docs src/api/auth.py
85
+ ```
86
+
87
+ ### Complete Workflows
88
+ ```
89
+ @build "Create a user authentication API with JWT tokens"
90
+ @fix src/api/auth.py "Fix the null pointer error"
91
+ ```
92
+
93
+ ### Library Documentation
94
+ ```
95
+ @library-docs fastapi
96
+ @library-docs fastapi routing
97
+ @library-docs pytest fixtures
98
+ ```
99
+
100
+ ## Integration with Cursor Skills
101
+
102
+ These commands are designed to work alongside Cursor Skills:
103
+
104
+ - **Claude Desktop**: Use `@command-name` (these commands)
105
+ - **Cursor IDE**: Use `@agent-name *command` (Cursor Skills)
106
+ - **CLI**: Use `tapps-agents <agent> <command>` (terminal)
107
+
108
+ All three interfaces provide the same functionality, so you can use whichever is most convenient for your workflow.
109
+
110
+ ## Command Details
111
+
112
+ See individual command files for detailed usage:
113
+ - `review.md` - Code review with scoring
114
+ - `score.md` - Quick quality scoring
115
+ - `implement.md` - Code generation
116
+ - `test.md` - Test generation
117
+ - `debug.md` - Error debugging
118
+ - `build.md` - Complete feature workflow
119
+ - `fix.md` - Bug fixing workflow
120
+ - `refactor.md` - Code refactoring
121
+ - `improve.md` - Code improvement
122
+ - `lint.md` - Code linting
123
+ - `plan.md` - Development planning
124
+ - `design.md` - System design
125
+ - `docs.md` - Documentation generation
126
+ - `security-scan.md` - Security scanning
127
+ - `library-docs.md` - Library documentation
128
+
129
+ ## Best Practices
130
+
131
+ 1. **Use `@build` for new features** - Complete workflow with all quality gates
132
+ 2. **Use `@review` before committing** - Ensure code quality
133
+ 3. **Use `@test` after implementation** - Verify functionality
134
+ 4. **Use `@fix` for bugs** - Systematic debugging workflow
135
+ 5. **Use `@library-docs` for API reference** - Get up-to-date library docs
136
+
137
+ ## Configuration
138
+
139
+ Commands use the same configuration as Cursor Skills:
140
+ - `.tapps-agents/config.yaml` - Project configuration
141
+ - `.tapps-agents/kb/context7-cache` - Library documentation cache
142
+
143
+ ## Troubleshooting
144
+
145
+ If a command doesn't work:
146
+ 1. Check that TappsCodingAgents is installed: `pip list | grep tapps-agents`
147
+ 2. Verify configuration: Check `.tapps-agents/config.yaml`
148
+ 3. Check command syntax: See individual command files
149
+ 4. Try CLI equivalent: `tapps-agents <agent> <command>`
150
+
151
+ ## Related Documentation
152
+
153
+ - **Cursor Skills**: See `.claude/skills/` for Cursor Skills
154
+ - **CLI Reference**: See `docs/TAPPS_AGENTS_COMMAND_REFERENCE.md`
155
+ - **Quick Reference**: See `.cursor/rules/quick-reference.mdc`
156
+
@@ -0,0 +1 @@
1
+ """Claude Desktop command definitions."""
@@ -0,0 +1,22 @@
1
+ # Build Fix Command (Simple Mode)
2
+
3
+ Fix build/compile errors (Python, npm, tsc, cargo). Distinct from *fix (runtime) and *fix-tests.
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ @build-fix "<build-output or description>"
9
+ ```
10
+
11
+ Or: `@simple-mode *build-fix "<description>"`
12
+
13
+ ## What It Does
14
+
15
+ 1. Parse build/compile errors
16
+ 2. `@debugger *debug` with error and file/line
17
+ 3. `@implementer *refactor` to apply fix
18
+ 4. Re-run build to verify
19
+
20
+ ## Integration
21
+
22
+ - **Cursor**: `@simple-mode *build-fix "<description or build output>"`
@@ -0,0 +1,77 @@
1
+ # Build Command (Simple Mode)
2
+
3
+ Complete feature development workflow with all quality gates. This is the most powerful command for building new features.
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ @build "<description>"
9
+ ```
10
+
11
+ Or with natural language:
12
+ ```
13
+ Build a user authentication feature with JWT tokens
14
+ Create a REST API for managing products
15
+ Add user registration with email verification
16
+ ```
17
+
18
+ ## What It Does
19
+
20
+ Executes a complete 7-step workflow:
21
+
22
+ 1. **Enhance Prompt** - Analyzes requirements and creates comprehensive specification
23
+ 2. **Create User Stories** - Breaks down into user stories with acceptance criteria
24
+ 3. **Design Architecture** - Creates system architecture and component design
25
+ 4. **Design API/Models** - Designs API endpoints and data models
26
+ 5. **Implement Code** - Generates code following all specifications
27
+ 6. **Review Code** - Reviews code quality with scoring (loops if score < 70)
28
+ 7. **Generate Tests** - Creates comprehensive test suite
29
+
30
+ ## Examples
31
+
32
+ ```
33
+ @build "Create a user authentication API with JWT tokens"
34
+ @build "Add CRUD operations for products with validation"
35
+ @build "Implement user registration with email verification"
36
+ ```
37
+
38
+ ## Features
39
+
40
+ - **Complete Workflow**: All steps from requirements to tests
41
+ - **Quality Gates**: Automatic quality checks with loopback
42
+ - **Documentation**: Creates workflow documentation at each step
43
+ - **Best Practices**: Follows SDLC best practices
44
+ - **Comprehensive**: Includes architecture, design, implementation, testing
45
+
46
+ ## Output
47
+
48
+ - Enhanced requirements document
49
+ - User stories with acceptance criteria
50
+ - Architecture design document
51
+ - API/data model specifications
52
+ - Implemented code files
53
+ - Code review report
54
+ - Test suite with coverage
55
+
56
+ ## Quality Gates
57
+
58
+ - Overall score must be ≥ 70 (loops back if below)
59
+ - Security score must be ≥ 7.0
60
+ - All tests must pass
61
+
62
+ ## Integration
63
+
64
+ - **Cursor**: Use `@simple-mode *build "<desc>"` (Cursor Skill)
65
+ - **Claude Desktop**: Use `@build "<desc>"` (this command)
66
+ - **CLI**: Use `tapps-agents simple-mode full --prompt "<desc>" --auto`
67
+
68
+ ## Documentation Created
69
+
70
+ All workflow documentation is saved to:
71
+ - `docs/workflows/simple-mode/step1-enhanced-prompt.md`
72
+ - `docs/workflows/simple-mode/step2-user-stories.md`
73
+ - `docs/workflows/simple-mode/step3-architecture.md`
74
+ - `docs/workflows/simple-mode/step4-design.md`
75
+ - `docs/workflows/simple-mode/step6-review.md`
76
+ - `docs/workflows/simple-mode/step7-testing.md`
77
+
@@ -0,0 +1,53 @@
1
+ # Debug Command
2
+
3
+ Analyze errors and find root causes with systematic debugging.
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ @debug "<error-description>" --file <file-path>
9
+ ```
10
+
11
+ Or with natural language:
12
+ ```
13
+ Debug the null pointer error in src/api/auth.py
14
+ Fix the authentication error in login.py
15
+ Analyze why the API is returning 500 errors
16
+ ```
17
+
18
+ ## What It Does
19
+
20
+ 1. **Analyzes Error**: Examines error messages, stack traces, and code
21
+ 2. **Identifies Root Cause**: Finds the underlying issue
22
+ 3. **Suggests Fix**: Provides specific fix recommendations
23
+ 4. **Validates Solution**: Ensures fix resolves the issue
24
+
25
+ ## Examples
26
+
27
+ ```
28
+ @debug "Null pointer exception on line 42" --file src/api/auth.py
29
+ @debug "Authentication failed with invalid token" --file src/api/auth.py
30
+ @debug "TypeError: 'NoneType' object has no attribute 'name'" --file src/models/user.py
31
+ ```
32
+
33
+ ## Features
34
+
35
+ - **Error Analysis**: Parses error messages and stack traces
36
+ - **Code Tracing**: Traces execution flow to find issue
37
+ - **Root Cause**: Identifies underlying problem, not just symptoms
38
+ - **Fix Suggestions**: Provides specific code fixes
39
+ - **Validation**: Verifies fix resolves the issue
40
+
41
+ ## Output
42
+
43
+ - Root cause analysis
44
+ - Specific fix recommendations
45
+ - Code examples for fixes
46
+ - Validation of solution
47
+
48
+ ## Integration
49
+
50
+ - **Cursor**: Use `@debugger *debug "<error>" --file <file>` (Cursor Skill)
51
+ - **Claude Desktop**: Use `@debug "<error>" --file <file>` (this command)
52
+ - **CLI**: Use `tapps-agents debugger debug "<error>" --file <file>`
53
+
@@ -0,0 +1,68 @@
1
+ # Design Command
2
+
3
+ Create system architecture and component design for a feature or system.
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ @design "<description>"
9
+ ```
10
+
11
+ Or with natural language:
12
+ ```
13
+ Design the architecture for a user authentication system
14
+ Create a system design for a REST API
15
+ Design the component structure for user management
16
+ ```
17
+
18
+ ## What It Does
19
+
20
+ 1. **Analyzes Requirements**: Understands system requirements
21
+ 2. **Designs Architecture**: Creates high-level system architecture
22
+ 3. **Defines Components**: Identifies and designs components
23
+ 4. **Maps Data Flow**: Shows how data flows through the system
24
+ 5. **Considers Performance**: Includes performance considerations
25
+
26
+ ## Examples
27
+
28
+ ```
29
+ @design "User authentication system with JWT tokens"
30
+ @design "REST API for product management"
31
+ @design "Microservice architecture for user management"
32
+ ```
33
+
34
+ ## Output
35
+
36
+ - System architecture diagram (text/ASCII)
37
+ - Component descriptions
38
+ - Data flow diagrams
39
+ - Technology stack recommendations
40
+ - Performance considerations
41
+ - Scalability recommendations
42
+
43
+ ## Format
44
+
45
+ ```
46
+ ## System Architecture
47
+
48
+ ### Components
49
+ - Authentication Service
50
+ - User Management Service
51
+ - Token Service
52
+
53
+ ### Data Flow
54
+ 1. User → Authentication Service → Token Service
55
+ 2. Token Service → User Management Service
56
+
57
+ ### Technology Stack
58
+ - FastAPI for API
59
+ - PostgreSQL for database
60
+ - Redis for caching
61
+ ```
62
+
63
+ ## Integration
64
+
65
+ - **Cursor**: Use `@architect *design "<desc>"` (Cursor Skill)
66
+ - **Claude Desktop**: Use `@design "<desc>"` (this command)
67
+ - **CLI**: Use `tapps-agents architect design "<desc>"`
68
+
@@ -0,0 +1,53 @@
1
+ # Documentation Command
2
+
3
+ Generate documentation for code files, APIs, or entire projects.
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ @docs <file-path>
9
+ ```
10
+
11
+ Or with natural language:
12
+ ```
13
+ Document the API in src/api/auth.py
14
+ Generate documentation for src/utils/helpers.py
15
+ Create API documentation for the authentication module
16
+ ```
17
+
18
+ ## What It Does
19
+
20
+ 1. **Analyzes Code**: Examines code structure and functionality
21
+ 2. **Generates Documentation**: Creates comprehensive documentation
22
+ 3. **Includes Examples**: Adds code examples and usage patterns
23
+ 4. **Formats Properly**: Uses appropriate documentation format (Markdown, etc.)
24
+
25
+ ## Examples
26
+
27
+ ```
28
+ @docs src/api/auth.py
29
+ @docs src/utils/helpers.py
30
+ @docs README.md --update
31
+ ```
32
+
33
+ ## Features
34
+
35
+ - **API Documentation**: Documents API endpoints and parameters
36
+ - **Function Documentation**: Documents functions and methods
37
+ - **Usage Examples**: Includes code examples
38
+ - **Type Information**: Documents types and parameters
39
+ - **Error Handling**: Documents error cases
40
+
41
+ ## Output
42
+
43
+ - Documentation file (Markdown, etc.)
44
+ - API reference documentation
45
+ - Usage examples
46
+ - Type information
47
+
48
+ ## Integration
49
+
50
+ - **Cursor**: Use `@documenter *document <file>` (Cursor Skill)
51
+ - **Claude Desktop**: Use `@docs <file>` (this command)
52
+ - **CLI**: Use `tapps-agents documenter document <file>`
53
+
@@ -0,0 +1,22 @@
1
+ # E2E Command (Simple Mode)
2
+
3
+ Generate and run E2E tests. Playwright MCP recommended for execution.
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ @e2e
9
+ @e2e <path>
10
+ ```
11
+
12
+ Or: `@simple-mode *e2e` or `@tester *generate-e2e-tests`
13
+
14
+ ## What It Does
15
+
16
+ 1. `@tester *generate-e2e-tests` for the project or path
17
+ 2. If Playwright MCP is available, use it to run and validate
18
+ 3. Report results
19
+
20
+ ## Integration
21
+
22
+ - **Cursor**: `@simple-mode *e2e` or `@tester *generate-e2e-tests`
@@ -0,0 +1,54 @@
1
+ # Fix Command (Simple Mode)
2
+
3
+ Fix bugs and errors with systematic debugging workflow.
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ @fix <file-path> "<description>"
9
+ ```
10
+
11
+ Or with natural language:
12
+ ```
13
+ Fix the null pointer error in src/api/auth.py
14
+ Debug and fix the authentication issue
15
+ Resolve the bug in login.py
16
+ ```
17
+
18
+ ## What It Does
19
+
20
+ Executes a complete fix workflow:
21
+
22
+ 1. **Debug Error** - Analyzes error and finds root cause
23
+ 2. **Implement Fix** - Applies the fix to resolve the issue
24
+ 3. **Test Fix** - Generates/updates tests to verify the fix
25
+ 4. **Validate** - Ensures fix doesn't break existing functionality
26
+
27
+ ## Examples
28
+
29
+ ```
30
+ @fix src/api/auth.py "Fix the null pointer error on line 42"
31
+ @fix src/api/auth.py "Resolve the authentication token validation issue"
32
+ @fix src/models/user.py "Fix the email validation bug"
33
+ ```
34
+
35
+ ## Features
36
+
37
+ - **Systematic Debugging**: Finds root cause, not just symptoms
38
+ - **Automatic Fix**: Implements the fix based on analysis
39
+ - **Test Verification**: Ensures fix works correctly
40
+ - **Quality Check**: Verifies fix doesn't introduce new issues
41
+
42
+ ## Output
43
+
44
+ - Root cause analysis
45
+ - Fixed code file
46
+ - Test updates
47
+ - Validation results
48
+
49
+ ## Integration
50
+
51
+ - **Cursor**: Use `@simple-mode *fix <file> "<desc>"` (Cursor Skill)
52
+ - **Claude Desktop**: Use `@fix <file> "<desc>"` (this command)
53
+ - **CLI**: Use `tapps-agents simple-mode fix --file <file> --prompt "<desc>"`
54
+
@@ -0,0 +1,53 @@
1
+ # Implement Command
2
+
3
+ Generate code from natural language description following project patterns and best practices.
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ @implement "<description>" <file-path>
9
+ ```
10
+
11
+ Or with natural language:
12
+ ```
13
+ Implement a user authentication API with JWT tokens in src/api/auth.py
14
+ Create a REST endpoint for products in src/api/products.py
15
+ ```
16
+
17
+ ## What It Does
18
+
19
+ 1. **Analyzes Requirements**: Understands the description and requirements
20
+ 2. **Follows Project Patterns**: Uses existing code patterns and conventions
21
+ 3. **Generates Code**: Creates implementation following best practices
22
+ 4. **Includes Documentation**: Adds docstrings and comments
23
+ 5. **Auto-Review**: Optionally reviews generated code for quality
24
+
25
+ ## Examples
26
+
27
+ ```
28
+ @implement "Create a user authentication API with JWT tokens" src/api/auth.py
29
+ @implement "Add CRUD operations for products" src/api/products.py
30
+ @implement "Create a utility function to validate email addresses" src/utils/validation.py
31
+ ```
32
+
33
+ ## Features
34
+
35
+ - **Context-Aware**: Understands project structure and dependencies
36
+ - **Pattern Matching**: Follows existing code patterns
37
+ - **Type Hints**: Includes proper type annotations
38
+ - **Error Handling**: Includes appropriate error handling
39
+ - **Documentation**: Adds docstrings and comments
40
+
41
+ ## Output
42
+
43
+ - Generated code file
44
+ - Quality score (if auto-review enabled)
45
+ - Documentation and comments
46
+ - Integration with existing codebase
47
+
48
+ ## Integration
49
+
50
+ - **Cursor**: Use `@implementer *implement "<desc>" <file>` (Cursor Skill)
51
+ - **Claude Desktop**: Use `@implement "<desc>" <file>` (this command)
52
+ - **CLI**: Use `tapps-agents implementer implement "<desc>" <file>`
53
+
@@ -0,0 +1,53 @@
1
+ # Improve Command
2
+
3
+ Improve code quality, maintainability, and performance based on specific instructions.
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ @improve <file-path> "<instructions>"
9
+ ```
10
+
11
+ Or with natural language:
12
+ ```
13
+ Improve error handling in src/api/auth.py
14
+ Optimize performance in src/utils/helpers.py
15
+ Enhance code quality in src/models/user.py
16
+ ```
17
+
18
+ ## What It Does
19
+
20
+ 1. **Analyzes Code**: Examines current code quality
21
+ 2. **Applies Improvements**: Implements improvements based on instructions
22
+ 3. **Enhances Quality**: Improves maintainability, performance, readability
23
+ 4. **Maintains Functionality**: Ensures improvements don't break existing behavior
24
+
25
+ ## Examples
26
+
27
+ ```
28
+ @improve src/api/auth.py "Add input validation, improve error handling"
29
+ @improve src/utils/helpers.py "Optimize performance, reduce memory usage"
30
+ @improve src/models/user.py "Add type hints, improve documentation"
31
+ ```
32
+
33
+ ## Common Improvements
34
+
35
+ - **Error Handling**: Add proper error handling and validation
36
+ - **Performance**: Optimize algorithms and reduce complexity
37
+ - **Readability**: Improve code structure and naming
38
+ - **Type Safety**: Add type hints and validation
39
+ - **Documentation**: Improve docstrings and comments
40
+ - **Testing**: Add missing test coverage
41
+
42
+ ## Output
43
+
44
+ - Improved code file
45
+ - Quality improvement metrics
46
+ - Summary of changes
47
+
48
+ ## Integration
49
+
50
+ - **Cursor**: Use `@improver *improve <file> "<instructions>"` (Cursor Skill)
51
+ - **Claude Desktop**: Use `@improve <file> "<instructions>"` (this command)
52
+ - **CLI**: Use `tapps-agents improver improve <file> "<instructions>"`
53
+
@@ -0,0 +1,64 @@
1
+ # Library Documentation Command
2
+
3
+ Get up-to-date library documentation from Context7 knowledge base.
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ @library-docs <library-name> [topic]
9
+ ```
10
+
11
+ Or with natural language:
12
+ ```
13
+ Show me FastAPI routing documentation
14
+ Get pytest fixtures documentation
15
+ Look up SQLAlchemy query documentation
16
+ ```
17
+
18
+ ## What It Does
19
+
20
+ 1. **Searches Cache**: Checks Context7 KB cache first (fast, <0.15s)
21
+ 2. **Fetches Documentation**: Gets library documentation from Context7 API
22
+ 3. **Filters by Topic**: Optionally filters by specific topic
23
+ 4. **Provides Examples**: Includes code examples and usage patterns
24
+
25
+ ## Examples
26
+
27
+ ```
28
+ @library-docs fastapi
29
+ @library-docs fastapi routing
30
+ @library-docs pytest fixtures
31
+ @library-docs sqlalchemy queries
32
+ ```
33
+
34
+ ## Features
35
+
36
+ - **KB-First Caching**: Uses cached documentation when available (90%+ hit rate)
37
+ - **Up-to-Date**: Fetches latest documentation from Context7
38
+ - **Topic Filtering**: Can filter by specific topics
39
+ - **Code Examples**: Includes practical code examples
40
+ - **Cross-References**: Links to related libraries
41
+
42
+ ## Output
43
+
44
+ - Library documentation
45
+ - Code examples
46
+ - API reference
47
+ - Best practices
48
+ - Related libraries
49
+
50
+ ## Integration
51
+
52
+ - **Cursor**: Use `@reviewer *docs <library> [topic]` (Cursor Skill)
53
+ - **Claude Desktop**: Use `@library-docs <library> [topic]` (this command)
54
+ - **CLI**: Use `tapps-agents reviewer docs <library> [topic]`
55
+
56
+ ## Context7 Setup
57
+
58
+ Requires Context7 API key in `.tapps-agents/config.yaml`:
59
+ ```yaml
60
+ context7:
61
+ enabled: true
62
+ api_key: "your-api-key"
63
+ ```
64
+