next
2
总安装量
2
周安装量
#66161
全站排名
安装命令
npx skills add https://github.com/cerico/macfair --skill next
Agent 安装分布
trae
2
claude-code
2
github-copilot
2
codex
2
windsurf
2
kiro-cli
2
Skill 文档
Next
Analyze project state and suggest the most appropriate next action.
When to Use
- Finished a task, wondering what’s next
- Not sure which skill to run
- Starting a session and want guidance
- Feel stuck or overwhelmed
Instructions
1. Check Project State
Run these checks to understand current state:
# Git status
git status --short
git branch --show-current
# Are we ahead/behind main?
git rev-list --left-right --count main...HEAD 2>/dev/null || echo "no main branch"
# Any uncommitted changes?
git diff --stat
# Recent activity
git log --oneline -5
2. Check for Signals
Look for indicators of what needs attention:
| Signal | Suggests |
|---|---|
| Uncommitted changes on feature branch | /refactor then commit |
| On main with no changes | Check TODO.md or ask what to build |
| PR open for current branch | /review-pr for final check |
tmp/*.md files from previous reviews |
Review suggestions, decide what to address |
| Build errors in terminal | /debug |
TODO.md has unchecked items |
/todo |
| Package updates available | /outdated |
3. Check Files
# TODO.md exists and has items?
[[ -f TODO.md ]] && grep -c "^\- \[ \]" TODO.md
# tmp/ has review files?
ls tmp/*.md 2>/dev/null
# Any error logs?
ls *.log tmp/*.log 2>/dev/null
4. Decision Tree
What's the current state?
â
âââ Uncommitted changes on branch?
â âââ Run /refactor â review and improve before committing
â
âââ Changes committed but not pushed?
â âââ Run /preflight â catch issues before PR
â
âââ Ready to create PR?
â âââ Run /review-pr on your own branch â final sanity check
â
âââ PR exists and approved?
â âââ Merge and deploy
â
âââ On main, nothing in progress?
â âââ TODO.md has items? â /todo
â âââ Want to check dependencies? â /outdated
â âââ Ask user what to build next
â
âââ Something broken?
â âââ /debug
â
âââ Tests need review?
â âââ /test-review
â
âââ Not sure?
âââ /skills to see all options
Output Format
## What's Next?
**Current State:**
- Branch: `{branch-name}`
- Status: {clean / uncommitted changes / ahead of main by X commits}
- TODO.md: {X items remaining / not found}
**Recommended Action:**
### /refactor
{Why this is recommended based on current state}
**Other Options:**
- `/preflight` - {when this would be useful}
- `/todo` - {when this would be useful}
**Or tell me what you want to work on.**
Skill Quick Reference
| Skill | Use When |
|---|---|
/refactor |
Review your branch, improve until 90+ |
/review-pr |
Review someone’s PR or final-check your own |
/preflight |
Quick issue scan before creating PR |
/debug |
Something’s broken, find the cause |
/test-review |
Check test coverage and quality |
/todo |
Work through TODO.md tasks |
/outdated |
Check for major version upgrades |
/scaffold-route |
Create new Next.js feature |
/zod-extract |
Centralize inline Zod schemas |
/prototype |
Quick React demo |
/infopage |
Generate reference HTML page |
/creative-design |
Distinctive UI for landing pages |
/mcp |
Build MCP server |
/skills |
List all available skills |
Notes
- This skill is for orientation, not automation
- It suggests, you decide
- If none of the suggestions fit, just say what you want to do
- Run
/skillsif you want the full list with descriptions