mirror of
https://github.com/azaion/detections.git
synced 2026-04-22 09:06:31 +00:00
Generalize tracker references, restructure refactor skill, and strengthen coding rules
- Replace all Jira-specific references with generic tracker/work-item terminology (TRACKER-ID, work item epics); delete project-management.mdc and mcp.json.example - Restructure refactor skill: extract 8 phases (00–07) and templates into separate files; add guided mode for pre-built change lists - Add Step 3 "Code Testability Revision" to existing-code workflow (renumber steps 3–12 → 3–13) - Simplify autopilot state file to minimal current-step pointer - Strengthen coding rules: AAA test comments per language, test failures as blocking gates, dependency install policy - Add Docker Suitability Assessment to test-spec and test-run skills (local vs Docker execution) - Narrow human-attention sound rule to human-input-needed only - Add AskQuestion fallback to plain text across skills - Rename FINAL_implementation_report to implementation_report_* - Simplify cursor-meta (remove _docs numbering table, quality thresholds) - Make techstackrule alwaysApply, add alwaysApply:false to openapi
This commit is contained in:
@@ -17,26 +17,11 @@ globs: [".cursor/**"]
|
||||
## Agent Files (.cursor/agents/)
|
||||
- Must have `name` and `description` in frontmatter
|
||||
|
||||
## _docs/ Directory Numbering Convention
|
||||
| Prefix | Content |
|
||||
|--------|---------|
|
||||
| `00_` | Problem definition, research artifacts |
|
||||
| `01_` | Solution drafts |
|
||||
| `02_` | Documentation, tasks |
|
||||
| `03_` | Implementation reports |
|
||||
| `04_` | Deploy, refactoring |
|
||||
| `05_` | Security audit |
|
||||
| `06_` | Metrics / retrospective |
|
||||
## User Interaction
|
||||
- Use the AskQuestion tool for structured choices (A/B/C/D) when available — it provides an interactive UI. Fall back to plain-text questions if the tool is unavailable.
|
||||
|
||||
## Quality Thresholds (project-wide)
|
||||
| Metric | Target | Used by |
|
||||
|--------|--------|---------|
|
||||
| Test coverage (black-box) | >= 70% of acceptance criteria | test-spec |
|
||||
| Test coverage (refactor safety net) | >= 75% line, 90% critical paths | refactor |
|
||||
| CI pipeline coverage gate | >= 75% | deploy |
|
||||
|
||||
## Work Item Tracker
|
||||
Skills reference Jira MCP by default. Azure DevOps MCP is an equal alternative. The autopilot protocols handle authentication for whichever is configured.
|
||||
## Execution Safety
|
||||
- Never run test suites, builds, Docker commands, or other long-running/resource-heavy/security-risky operations without asking the user first - unlsess it is explicilty stated in skill or agent, or user already asked to do so.
|
||||
|
||||
## Security
|
||||
- All `.cursor/` files must be scanned for hidden Unicode before committing (see cursor-security.mdc)
|
||||
|
||||
Reference in New Issue
Block a user