Agent skill
next-steps-planner
Intelligent planning for what to do next after completing a task in Dashboard Link SaaS development. Use when user asks "what next?", "what should I do now?", "what's the next step?", after completing a feature, after fixing bugs, or when uncertain about priorities. Also use for sprint planning, task prioritization, and development roadmap guidance.
Stars
163
Forks
31
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/product/next-steps-planner
SKILL.md
Next Steps Planner
Overview
Provides intelligent guidance on what to do next in the development lifecycle, ensuring you don't miss critical steps like testing, documentation, deployment, or follow-up tasks.
After Completing ANY Task
Follow this checklist systematically:
1. โ Verify the Change Works
Manual Verification:
- Run the affected code/feature
- Test happy path
- Test error cases
- Check edge cases
- Review console for errors
- Check network tab for API calls
Automated Verification:
bash
# Lint
pnpm lint
# Type check
pnpm --filter <package-name> typecheck
# Tests
pnpm test
# Build
pnpm build
2. ๐ Update Documentation
- Update README if user-facing changes
- Update API docs if endpoints changed
- Update architecture docs if structure changed
- Add/update JSDoc comments
- Update .env.example if new env vars
- Update migration guide if breaking changes
3. ๐งช Add/Update Tests
- Unit tests for new functions
- Integration tests for API endpoints
- Component tests for React components
- E2E tests for critical flows (if applicable)
4. ๐ Security Review
- No hardcoded secrets
- Input validation in place
- Authentication/authorization correct
- RLS policies applied
- No SQL injection risks
- XSS prevention in place
5. ๐ Performance Check
- No N+1 queries
- Proper indexing
- Efficient algorithms
- Pagination for large datasets
- Memoization where needed
6. ๐จ Code Quality
- Follow naming conventions
- No console.log statements
- Proper error handling
- TypeScript types correct
- Comments only where needed
7. ๐พ Commit & Push
bash
git status
git add .
git commit -m "feat: descriptive message"
git push
8. ๐ Deploy/Merge
- Create PR with description
- Request review
- Address feedback
- Merge to main
- Deploy to staging
- Test in staging
- Deploy to production
- Monitor for issues
Common "What Next?" Scenarios
After Fixing a Bug
- โ Verify bug is fixed
- ๐งช Add test to prevent regression
- ๐ Update changelog
- ๐พ Commit with "fix:" prefix
- ๐ Deploy quickly if critical
- ๐ Check monitoring for similar issues
After Adding a New Feature
- โ Verify feature works
- ๐งช Add comprehensive tests
- ๐ Update docs and examples
- ๐ Security review
- ๐ Performance review
- ๐พ Commit with "feat:" prefix
- ๐ Deploy to staging first
- ๐ฏ Plan next feature iteration
After Refactoring
- โ Verify nothing broke
- ๐งช Run full test suite
- ๐ Update architecture docs
- ๐ Check performance metrics
- ๐พ Commit with "refactor:" prefix
- ๐ Deploy carefully
- ๐ Monitor for regressions
When Starting a New Day
- ๐ง Check for urgent issues (bugs, alerts)
- ๐ Review open PRs
- ๐ฏ Check project board/backlog
- ๐ Run full build to ensure clean state
- ๐ฏ Pick highest priority task
- ๐ Read related docs/code before starting
When Stuck or Blocked
- ๐ค Clearly define the problem
- ๐ Check documentation
- ๐ Search for similar issues
- ๐งช Create minimal reproduction
- ๐ฌ Ask for help (with context)
- ๐ฏ Work on different task while waiting
Feature Development Priority Matrix
Critical (Do Now)
- Security vulnerabilities
- Production bugs
- Data integrity issues
- Authentication/authorization bugs
High Priority (Do Soon)
- Core feature development
- Performance issues
- User-facing bugs
- Database migrations
Medium Priority (Can Wait)
- Feature enhancements
- Code quality improvements
- Documentation updates
- Technical debt
Low Priority (Nice to Have)
- Refactoring for cleanliness
- Minor optimizations
- Style improvements
- Extra documentation
Decision Tree: What to Work On Next?
Are there production issues?
โโ YES โ Fix immediately
โโ NO โ Continue
Are there security vulnerabilities?
โโ YES โ Fix immediately
โโ NO โ Continue
Are there open PRs waiting for you?
โโ YES โ Review and merge
โโ NO โ Continue
Are you blocked on current task?
โโ YES โ Work on different task or ask for help
โโ NO โ Continue current task
Is current task complete?
โโ YES โ Follow "After Completing ANY Task" checklist
โโ NO โ Continue working on it
What's highest priority in backlog?
โโ Critical โ Start immediately
โโ High โ Plan and start
โโ Medium โ Schedule for later
โโ Low โ Defer for now
Sprint/Weekly Planning
Monday Morning
- Review last week's completed work
- Check production metrics/issues
- Review and prioritize backlog
- Plan this week's goals
- Break down large tasks
- Assign rough time estimates
Daily
- Morning: Check for urgent issues
- Mid-day: Review progress
- End of day: Update task status, plan tomorrow
Friday Afternoon
- Complete in-progress work
- Write documentation
- Clean up branches
- Deploy pending changes
- Review week's progress
When Uncertain About Priority
Ask these questions:
- Does this affect users right now? (Security, bugs)
- Does this unblock other people?
- Is this time-sensitive?
- What's the impact if delayed?
- How long will it take?
Then prioritize:
- High impact + Quick โ Do now
- High impact + Slow โ Plan carefully, start soon
- Low impact + Quick โ Do when blocked on other work
- Low impact + Slow โ Defer or don't do
Resources
- See
references/development-workflow.mdfor detailed workflow - See
references/task-templates.mdfor common task patterns
Common Pitfalls
- Skipping testing because "it works on my machine"
- Forgetting documentation updates
- Deploying without staging test
- Not checking for related changes needed
- Committing without reviewing changes
- Merging without testing
Best Practices
- Always complete the verification checklist
- Update docs as you code, not after
- Write tests before marking task complete
- Deploy to staging before production
- Monitor after deployment
- Keep task sizes small (1-3 days max)
- Don't start new feature while another is incomplete
Didn't find tool you were looking for?