원클릭으로
check-feature-docs
Audit recent changes and verify that README.md, ROADMAP.md, and CLAUDE.md were all updated.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Audit recent changes and verify that README.md, ROADMAP.md, and CLAUDE.md were all updated.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Run deep browser UI tests against the admin panels (global and project-level) using MCP Playwright.
Run deep browser UI tests against the SlateFlow Kanban board using MCP Playwright — covers board load, card CRUD, DnD lane transitions, card modal tabs, task checklists, filters, and lane management.
Run interactive browser UI tests against the running SlateFlow dev server using MCP Playwright.
Create a GitHub issue from a bug or problem description found during testing.
Reset and re-seed slateflow.db with realistic test data for local dev and demos.
Keep the OpenAPI spec in sync with route changes by diffing spec against actual route definitions.
| name | check-feature-docs |
| description | Audit recent changes and verify that README.md, ROADMAP.md, and CLAUDE.md were all updated. |
SlateFlow's CLAUDE.md enforces a rule: Every new feature must update three documentation files before it's considered complete:
This skill audits your recent commits and verifies all three were touched.
Determine your base branch (usually main) and your current branch:
git branch -v
git log --oneline -1 origin/main
List the files you've modified since branching off main:
git diff main...HEAD --name-only
This will show all changed files on your branch. If it's empty, your branch is up-to-date with main (no feature changes to document).
Grep the diff to see if any of these files were touched:
git diff main...HEAD --name-only | grep -E '^(README\.md|ROADMAP\.md|CLAUDE\.md)$'
If all three appear, you're compliant — stop here and proceed to Step 5.
If one or more are missing, continue to Step 4.
To understand what needs documenting, review the actual code changes:
# Show all changes (excluding the three doc files)
git diff main...HEAD --stat | grep -v -E '(README|ROADMAP|CLAUDE)'
This tells you which files changed (route, feature, config, etc.). Then decide which of the three doc files need updating:
Show the current state of the doc files to understand what should be added:
# View current README Features section
git show HEAD:README.md | grep -A 30 "^## Features"
# View current ROADMAP
git show HEAD:ROADMAP.md | head -50
# View the updated CLAUDE.md section on your branch
git show HEAD:CLAUDE.md | grep -A 20 "Feature Development Rules"
Decide what to add to each file:
Find the Features section and add your feature to the bullet list:
## Features
- Kanban board with drag-and-drop
- Sprint planning and burndown
- Roadmap with Gantt timeline
- **[NEW]** Retrospective board (per-sprint)
Update the status of the feature in the Phase section where it lives:
## Phase 2: Collaboration & Insights
- [x] Real-time SSE event sync
- [ ] Email notifications (in progress — see PR #123)
Add patterns, env vars, or flags to the appropriate section:
## Feature Flags
- `retrospective` (boolean, default false) — enables retrospective board and sidebar nav
- ...
If it's a new environment variable, also update the environment variables table:
| `FEATURE_RETROSPECTIVE` | `false` | Enables the per-sprint Retrospective Board |
If it's a new API pattern, add a section under Architecture pointers.
Using the Edit tool, update each file. Then verify:
# Stage the doc updates
git add README.md ROADMAP.md CLAUDE.md
# Show what will be committed
git diff --staged
After making updates, verify all three files are now included:
git diff main...HEAD --name-only | grep -E '^(README\.md|ROADMAP\.md|CLAUDE\.md)$'
You should see all three. If still missing, go back to Step 4.
When the feature code is ready and all three doc files are updated, include them in your final commit:
git commit -m "Update docs for [feature name]"
Or include them in the same commit as the feature code:
git add .
git commit -m "Implement [feature name]
- Add [feature] to README Features
- Update ROADMAP Phase X status
- Document [env var / pattern / flag] in CLAUDE.md"
To enforce this automatically on every commit, add a pre-commit hook to .git/hooks/pre-commit:
#!/bin/bash
# Warn if a feature was added but docs weren't touched
CHANGED=$(git diff --cached --name-only)
if echo "$CHANGED" | grep -E '^server/src/routes|^client/src/(pages|components|store)' | grep -qv -E '(README|ROADMAP|CLAUDE)'; then
echo "⚠️ Warning: You've modified code but haven't updated README.md, ROADMAP.md, or CLAUDE.md"
read -p "Continue anyway? (y/n) " -n 1
echo
[[ $REPLY = [Yy] ]] || exit 1
fi
exit 0
This runs automatically before every commit and warns if code changed but docs didn't.
| Problem | Solution |
|---|---|
git diff main...HEAD shows too many changes | Your branch is stale or based on an old commit. Consider rebasing: git rebase main |
| Can't find the Features section in README | The file structure may have changed. Run cat README.md | head -100 to explore. |
ROADMAP.md doesn't have a Phase section for my feature | Add it under the appropriate phase (1–4). If unsure, ask the team or add to Phase 3 (future). |
| Not sure what to document in CLAUDE.md | If it's a new env var, config, or API pattern, document it. Otherwise, skip it. |
Feature added: retrospective board (per-sprint reflection).
README.md update:
- Per-sprint Retrospective Board for team reflection
ROADMAP.md update:
### Phase 2: Collaboration & Insights
- [x] Real-time SSE event sync
- [x] Per-sprint Retrospective Board ← moved to done
CLAUDE.md update:
Added to Environment Variables table:
| `FEATURE_RETROSPECTIVE` | `false` | Enables the per-sprint Retrospective Board (sidebar nav + `/api/sprints/:id/retrospective` and item endpoints) |
Then:
git add README.md ROADMAP.md CLAUDE.md
git commit -m "Document retrospective feature"
Done!