chore: update .gitignore and improve coding standards documentation
- Added .cursor/sessions/* to .gitignore to prevent session files from being tracked. - Enhanced coding standards in SKILL.md by adding semicolons to TypeScript examples for consistency. - Improved formatting in continuous learning, detail layout, and other SKILL.md files for better readability. These changes aim to streamline development processes and maintain code quality across the project.
This commit is contained in:
@@ -9,25 +9,33 @@ Sequential agent workflow for complex tasks.
|
||||
## Workflow Types
|
||||
|
||||
### feature
|
||||
|
||||
Full feature implementation workflow:
|
||||
|
||||
```
|
||||
planner -> tdd-guide -> code-reviewer -> security-reviewer
|
||||
```
|
||||
|
||||
### bugfix
|
||||
|
||||
Bug investigation and fix workflow:
|
||||
|
||||
```
|
||||
explorer -> tdd-guide -> code-reviewer
|
||||
```
|
||||
|
||||
### refactor
|
||||
|
||||
Safe refactoring workflow:
|
||||
|
||||
```
|
||||
architect -> code-reviewer -> tdd-guide
|
||||
```
|
||||
|
||||
### security
|
||||
|
||||
Security-focused review:
|
||||
|
||||
```
|
||||
security-reviewer -> code-reviewer -> architect
|
||||
```
|
||||
@@ -49,18 +57,23 @@ Between agents, create handoff document:
|
||||
## HANDOFF: [previous-agent] -> [next-agent]
|
||||
|
||||
### Context
|
||||
|
||||
[Summary of what was done]
|
||||
|
||||
### Findings
|
||||
|
||||
[Key discoveries or decisions]
|
||||
|
||||
### Files Modified
|
||||
|
||||
[List of files touched]
|
||||
|
||||
### Open Questions
|
||||
|
||||
[Unresolved items for next agent]
|
||||
|
||||
### Recommendations
|
||||
|
||||
[Suggested next steps]
|
||||
```
|
||||
|
||||
@@ -73,18 +86,21 @@ Between agents, create handoff document:
|
||||
Executes:
|
||||
|
||||
1. **Planner Agent**
|
||||
|
||||
- Analyzes requirements
|
||||
- Creates implementation plan
|
||||
- Identifies dependencies
|
||||
- Output: `HANDOFF: planner -> tdd-guide`
|
||||
|
||||
2. **TDD Guide Agent**
|
||||
|
||||
- Reads planner handoff
|
||||
- Writes tests first
|
||||
- Implements to pass tests
|
||||
- Output: `HANDOFF: tdd-guide -> code-reviewer`
|
||||
|
||||
3. **Code Reviewer Agent**
|
||||
|
||||
- Reviews implementation
|
||||
- Checks for issues
|
||||
- Suggests improvements
|
||||
@@ -139,18 +155,22 @@ For independent checks, run agents in parallel:
|
||||
|
||||
```markdown
|
||||
### Parallel Phase
|
||||
|
||||
Run simultaneously:
|
||||
|
||||
- code-reviewer (quality)
|
||||
- security-reviewer (security)
|
||||
- architect (design)
|
||||
|
||||
### Merge Results
|
||||
|
||||
Combine outputs into single report
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
$ARGUMENTS:
|
||||
|
||||
- `feature <description>` - Full feature workflow
|
||||
- `bugfix <description>` - Bug fix workflow
|
||||
- `refactor <description>` - Refactoring workflow
|
||||
|
||||
Reference in New Issue
Block a user