methodology-system
npx skills add https://github.com/asiaostrich/universal-dev-standards --skill methodology-system
Skill 文档
[!WARNING] Experimental Feature / 坦驿§åè½
This feature is under active development and may change significantly in v4.0. æ¤åè½æ£å¨ç©æ¥µéç¼ä¸ï¼å¯è½å¨ v4.0 䏿éå¤§è®æ´ã
Methodology System Skill
Language: English | ç¹é«ä¸æ
Version: 1.0.0 Last Updated: 2026-01-12
Overview
The Methodology System provides a unified framework for managing development methodologies in projects that adopt Universal Development Standards. It supports:
- TDD – Test-Driven Development (Red â Green â Refactor)
- BDD – Behavior-Driven Development (Discovery â Formulation â Automation)
- SDD – Spec-Driven Development (Proposal â Review â Implementation â Verification â Archive)
- ATDD – Acceptance Test-Driven Development (Workshop â Distillation â Development â Demo)
- Custom – User-defined methodologies
Features
1. Phase-Aware Guidance
AI automatically tracks the current phase and provides context-appropriate guidance:
âââââââââââââââââââââââââââââââââââââââââââââââ
â ð Current Methodology: TDD â
â ð Current Phase: ð´ RED (1-5 min) â
â â
â Checklist: â
â â
Test describes behavior â
â â
Test name is clear â
â ⬠Test follows AAA pattern â
â ⬠Test fails when run â
â â
â Next: Write the test following AAA pattern â
âââââââââââââââââââââââââââââââââââââââââââââââ
2. Checkpoint Reminders
Automatic reminders based on methodology triggers:
- Phase Transition: Suggest commit when phase completes
- Accumulation Warning: Warn when changes exceed threshold
- Skip Warning: Alert after consecutive skipped check-ins
3. Methodology Switching
Switch between methodologies as project needs change:
/methodology switch bdd
4. Custom Methodology Support
Define team-specific workflows in .standards/methodologies/:
id: my-team-workflow
name: My Team Workflow
phases:
- id: plan
name: Planning
checklist:
- id: requirements-clear
text: Requirements understood
required: true
Commands
| Command | Description |
|---|---|
/methodology |
Show current methodology status |
/methodology switch <id> |
Switch to different methodology |
/methodology phase [phase] |
Show or change current phase |
/methodology checklist |
Show current phase checklist |
/methodology skip |
Skip current phase (with warning) |
/methodology list |
List available methodologies |
/methodology create |
Create custom methodology |
Configuration
Methodology configuration is stored in .standards/manifest.json:
{
"methodology": {
"active": "tdd",
"available": ["tdd", "bdd", "sdd", "atdd"],
"config": {
"tdd": {
"checkpointsEnabled": true,
"reminderIntensity": "suggest",
"skipLimit": 3
}
}
}
}
Configuration Options
| Option | Values | Description |
|---|---|---|
active |
methodology id | Currently active methodology |
checkpointsEnabled |
true/false |
Enable checkpoint reminders |
reminderIntensity |
suggest/warning/strict |
How strongly to enforce checkpoints |
skipLimit |
number | Consecutive skips before warning |
AI Behavior
Detection
- Check
.standards/manifest.jsonformethodology.active - Load methodology definition from:
- Built-in:
methodologies/{id}.methodology.yaml - Custom:
.standards/methodologies/{id}.methodology.yaml
- Built-in:
Phase Tracking
- Track current phase based on trigger conditions
- Update phase when exit conditions are met
- Provide phase-specific guidance and checklist
Context Keywords
AI will automatically activate methodology context when these keywords are detected:
| Methodology | Keywords |
|---|---|
| TDD | test first, red green refactor, failing test |
| BDD | given when then, gherkin, cucumber, scenario |
| SDD | specification, spec first, proposal, acceptance criteria |
| ATDD | acceptance test, user story, product owner |
Integration with Other Standards
Check-in Standards
When a phase completes, the methodology system integrates with checkin-standards.md:
Phase GREEN completed.
Changes:
- Files: 3
- Lines: +45 / -2
Suggested commit:
test(auth): add login validation test
feat(auth): implement login validation
[1] Commit now [2] Continue working [3] View changes
Code Review
Additional review checks are added based on active methodology:
- TDD: Tests follow naming conventions, single behavior per test
- BDD: Declarative style, reusable steps
- SDD: Change matches spec, no scope creep
- ATDD: All acceptance criteria have tests
Related Skills
- TDD Assistant – Detailed TDD guidance
- Spec-Driven Dev – SDD workflow
- Code Review Assistant – Review integration
Files
- runtime.md – AI behavior and runtime guide
- create-methodology.md – Custom methodology creation wizard
Version History
| Version | Date | Changes |
|---|---|---|
| 1.0.0 | 2026-01-12 | Initial methodology system |