From sdd-mcp
Implements small features, bug fixes, and quick enhancements using TDD, SOLID principles, code quality reviews, and security checks. Invoke via /simple-task <description>.
npx claudepluginhub yi-john-huang/sdd-mcpThis skill uses the workspace's default tool permissions.
Implement small features, bug fixes, or quick enhancements while following best practices from the project's steering documents.
Guides feature implementation in SDD workflow using TDD cycle (Red-Green-Refactor), SOLID principles, and security best practices. Invoke via /sdd-implement <feature-name>.
Enforces strict code simplicity rules (20-line functions, 200-line files), TDD workflow, functional core patterns, and immediate refactoring for all projects.
Fixes scoped bugs via lightweight TDD workflow: parses description, applies project standards, reproduces with failing test, implements fix, verifies, escalates complex issues.
Share bugs, ideas, or general feedback.
Implement small features, bug fixes, or quick enhancements while following best practices from the project's steering documents.
Use /simple-task for:
Use full SDD workflow for:
Reference: .spec/steering/tdd-guideline.md
Follow the Red-Green-Refactor cycle:
1. RED → Write a failing test first
2. GREEN → Write minimal code to pass
3. REFACTOR → Clean up while tests pass
Quick TDD Checklist:
Reference: .spec/steering/principles.md
SOLID Quick Reference:
Other Principles:
Reference: .spec/steering/linus-review.md
Before finalizing, ask:
Quality Checklist:
Reference: .spec/steering/owasp-top10-check.md
Quick Security Checklist:
These steering documents provide detailed guidance:
| Document | Content |
|---|---|
tdd-guideline.md | TDD methodology, test pyramid, Red-Green-Refactor |
principles.md | SOLID, DRY, KISS, YAGNI, Separation of Concerns |
linus-review.md | Code quality, "good taste", simplicity standards |
owasp-top10-check.md | Security checklist (OWASP Top 10) |
After implementing, provide:
## Implementation Summary
**Task:** {what was implemented}
**Changes:**
- {file1}: {what changed}
- {file2}: {what changed}
**Tests Added:**
- {test description}
**Principles Applied:**
- TDD: {how TDD was followed}
- Design: {which principles were applied}
- Security: {security considerations}
**Ready for:** {commit / further review / testing}
User: /simple-task add a logout button to the navbar
Claude:
1. Understand: Add logout button that clears session and redirects to login
2. TDD: Write test for logout functionality first
3. Principles: Single responsibility - logout logic in AuthService
4. Security: Ensure session is properly invalidated
5. Implement: Button component + logout handler
6. Test: Verify all tests pass