
implement
by call1800messiah
SKILL.md
name: implement description: Implement and refactor code to match UI/UX flow diagrams (full stack) allowed-tools:
- Read
- Glob
- Grep
- Write
- Edit
- Task
- Bash(npm run build:*)
- Bash(npm test:*)
- Bash(npx nx build:*)
- Bash(npx nx test:*)
- Bash(npx nx lint:*)
- Bash(npx tsc:*)
- Bash(npx vitest:*)
- Bash(npx nx run global-schema-shared:generate-schema)
- Bash(git status:*)
- Bash(git diff:*)
- Bash(git log:*)
- WebFetch
Implementation Skill
Purpose
Implement code following the planned architecture:
- Read Bill of Materials (BOM) from description.md
- Follow interface designs
- Implement tests per test-plan.md
IMPORTANT: Read planning docs first. Follow existing patterns.
Modes
Standalone Mode
Invoked directly: /implement "task description"
Feature Mode (PREFERRED)
Called by /feature skill during Phase 5:
/implement docs/features/{feature-name}/
REQUIRES: Path to feature folder with completed architecture and TODO checklist in todos.md.
Workflow
Feature Mode Workflow (when called by /feature)
-
Read feature folder (provided as argument)
- Read
todos.mdfor TODO checklist - Read
description.mdfor source locations - Read
journey.mdfor architecture and UI/UX wireframes
- Read
-
Verify prerequisites:
- journey.md contains approved UI/UX wireframes
- journey.md contains architecture diagrams
- todos.md has
## Active TODOssection with checkboxes
-
Follow the TODO checklist:
- Read
## Active TODOssection in todos.md - Work through items IN ORDER
- After completing each item:
- Update todos.md to check off
[x]the item - Update
**Status**:to "In Progress"
- Update todos.md to check off
- When all items done, set status to "Complete"
- Read
-
If user requests changes:
- STOP current work
- Update todos.md with the change
- Add/modify TODO items if needed
- Continue implementation
-
Verify each layer before moving to next
-
Run full verification: build, lint, test
TODO Checklist Rules (CRITICAL)
MUST follow these rules:
- Never skip TODO items
- Never work on items out of order (unless dependencies require it)
- Always update todos.md after completing an item
- If blocked on an item, note it in todos.md and ask user
- User changes = update todos.md FIRST, then continue
TODO Item Format
Each TODO item is self-contained with all info needed:
- [ ] **TODO-XXX**: {Action} | File: `{path}` | Depends: {TODO-YYY or none}
- What: {detailed description}
- Why: {purpose}
- How: {implementation details}
- Accept: {acceptance criteria}
Full Stack Scope
| Layer | Location |
|---|---|
| Routes | src/app/{feature}/{feature}-routing-module.ts |
| Features | src/app/{feature} |
| Shared Components | src/app/shared/components |
| Shared Directives | src/app/shared/directives |
Verification Commands
# Build
npm run build
# Lint
npm run lint
# Tests
npm run test
Implementation Standards
CRITICAL: Follow Approved UI/UX Wireframes
Before implementing any frontend code, verify against journey.md:
- Field visibility: Only show fields confirmed in UI/UX review
- Loading behavior: Use approved pattern (eager/lazy) for relations
- URL architecture: Implement confirmed URL params
- Component split: Follow planned split (one component per file, ~150 lines max)
3. Tests (MANDATORY - NOT OPTIONAL)
# Read test-plan.md
# Implement EVERY T-{FEAT}-* test case
# Run tests to verify they pass
describe('T-FEAT-001: Feature happy path', () => {
it('should return data', () => { /* ... */ });
});
Tests are NOT optional. Implementation is NOT complete until tests pass.
4. Quality Verification
See "Quality Verification" section below.
Verification Sequence
# 1. Lint
npm run lint
# 2. Test
npm run test
# 3. Build
npm run build
Run after each layer, not just at the end.
Code Style Check (MANDATORY - BLOCKING)
After completing implementation, run codestyle check:
/codestyle --integration {implemented-files-or-folder}
What Gets Checked
- Naming conventions (files, components, types)
- Import order and patterns
- Testing compliance
Severity Levels
| Level | Action |
|---|---|
| CRITICAL | MUST fix before continuing |
| ERROR | Should fix before merge |
| WARNING | Advisory, can proceed |
Quality Verification (MANDATORY - BLOCKING)
Before marking feature complete, verify ALL quality standards.
Pre-Completion Checklist
- Read
.claude/skills/QUALITY-STANDARDS.md - Check EVERY item below:
UI Checklist
- Implementation matches approved wireframes in journey.md
- Only approved fields are displayed (no extras)
- URL architecture matches plan
- Component split follows plan (one per file, ~150 lines)
- No component duplication (check shared first)
- Styling uses SCSS files (NO inline styles)
- CSS variables used for colors (NO hardcoded values)
- Responsive design with CSS media queries
Test Checklist (BLOCKING)
- All T-{FEAT}-* tests from test-plan.md implemented
- Tests pass:
npm run test - Coverage meets targets (80% hooks, 70% resolvers)
Completion Rules
When to Mark Complete
Feature is complete ONLY when:
- ✅ All TODO items checked off
- ✅ All tests implemented AND passing
- ✅ Quality verification checklist complete
- ✅ Build passes
- ✅ Lint passes
When to BLOCK Completion
DO NOT mark complete if:
- ❌ Tests are failing
- ❌ Tests are not implemented
- ❌ Quality checklist has unchecked items
- ❌ Build or lint fails
If blocked, continue implementation until all items pass.
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です