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:
@@ -11,17 +11,20 @@ Run `/learn` at any point during a session when you've solved a non-trivial prob
|
||||
Look for:
|
||||
|
||||
1. **Error Resolution Patterns**
|
||||
|
||||
- What error occurred?
|
||||
- What was the root cause?
|
||||
- What fixed it?
|
||||
- Is this reusable for similar errors?
|
||||
|
||||
2. **Debugging Techniques**
|
||||
|
||||
- Non-obvious debugging steps
|
||||
- Tool combinations that worked
|
||||
- Diagnostic patterns
|
||||
|
||||
3. **Workarounds**
|
||||
|
||||
- Library quirks
|
||||
- API limitations
|
||||
- Version-specific fixes
|
||||
@@ -42,15 +45,19 @@ Create a skill file at `.agents/skills/learned/[pattern-name].md`:
|
||||
**Context:** [Brief description of when this applies]
|
||||
|
||||
## Problem
|
||||
|
||||
[What problem this solves - be specific]
|
||||
|
||||
## Solution
|
||||
|
||||
[The pattern/technique/workaround]
|
||||
|
||||
## Example
|
||||
|
||||
[Code example if applicable]
|
||||
|
||||
## When to Use
|
||||
|
||||
[Trigger conditions - what should activate this skill]
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user