Loading...
Loading...
Orchestrator skill for the complete feature development lifecycle. Coordinates 5 phases - task selection, component design, build loop, analytics setup, and commit/documentation. Use when building any new feature or enhancement that requires multiple steps.
npx skill4agent add aussiegingersnap/cursor-skills feature-build┌───────────────────────────────────────────────────────────────────────────────┐
│ │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌─────────────┐ │
│ │ Task │──▶│Component │──▶│ Build │──▶│Analytics │──▶│ Build │ │
│ │Selection │ │ Design │ │ Loop │ │ Setup │ │Verification │ │
│ └──────────┘ └──────────┘ └──────────┘ └──────────┘ └─────────────┘ │
│ ▲ │ │ │ │ │
│ │ ▼ ▼ ▼ ▼ │
│ │ ◀────────────◀─────────────◀──────────────────────────────────│
│ │ (loop back if criteria fail or build errors) │
│ │ │
│ │ ┌──────────────┐ │
│ └────────────────────────────────────────────────────│ Commit & │◀──│
│ (next feature) │ Document │ │
│ └──────────────┘ │
└───────────────────────────────────────────────────────────────────────────────┘Read TASKS.md and identify the next unchecked item in Current Sprint### Feature: [Name]
**Acceptance Criteria:**
- [ ] User can [specific action]
- [ ] System [specific behavior] when [condition]
- [ ] Error case: [scenario] displays [message]
- [ ] Mobile: [behavior] works on viewport < 768pxNavigate to /style-guide and snapshot to see existing componentscomponents/ui/<section id="my-component">
<SectionHeader title="My Component" />
<div className="space-y-6">
<h4 className="text-xs font-medium text-muted-foreground uppercase tracking-wide">
Variants
</h4>
<div className="flex flex-wrap gap-3">
<MyComponent variant="default" />
<MyComponent variant="secondary" />
</div>
<h4 className="text-xs font-medium text-muted-foreground uppercase tracking-wide">
States
</h4>
<div className="flex flex-wrap gap-3">
<MyComponent loading />
<MyComponent disabled />
<MyComponent error="Error message" />
</div>
</div>
</section>/style-guidecomponents/ui/index.ts1. Navigate to the page being tested
2. Snapshot to get element references
3. Interact with elements (click, type, etc.)
4. Re-snapshot after state changes
5. Verify expected behavior
6. Screenshot if visual verification neededreferences/testing-patterns.md| Feature Type | Typical Events |
|---|---|
| Form | |
| Feature | |
| Navigation | |
| Pro Feature | |
posthog.capture('{feature}_{action}', {
feature: 'feature-name',
// action-specific properties
})Use mcp_posthog-study-bible_dashboard-create for new dashboards
Use mcp_posthog-study-bible_insight-create-from-query for insightsuseProFeature()_attempted_upgrade_shown_upgrade_clicked{feature}_{action}
Examples:
- notes_created
- notes_synced
- chat_message_sent
- upgrade_modal_shown
- model_changednpm run buildnpm run lintnpm run buildnpm run lint<type>(<scope>): <subject>
Types: feat, fix, docs, style, refactor, perf, test, chore, ci, build, revert### Done
**Summary**: [Brief description of what was built]
**Commits** (ohmyzsh):
gaa && gcmsg "feat(scope): add feature description"
gcmsg "fix(scope): fix related issue"
gp## Completed
- [x] Feature name (YYYY-MM-DD)
- [x] Sub-task 1 ✓
- [x] Sub-task 2 ✓
- [x] Sub-task 3 ✓| Phase | Entry | Exit |
|---|---|---|
| 1. Task Selection | Feature request | Criteria defined |
| 2. Component Design | Criteria clear | Components in style-guide |
| 3. Build Loop | Components ready | All criteria pass in browser |
| 4. Analytics | Feature working | Events instrumented |
| 5. Build Verification | Analytics done | |
| 6. Commit | Build passes | Docs updated, committed |
# Start dev server
npm run dev
# Clear Next.js cache if issues
rm -rf .next
# Rebuild native modules
npm rebuild better-sqlite3
# Git workflow (ohmyzsh)
gaa && gcmsg "feat(scope): description"
gp1. mcp_cursor-ide-browser_browser_navigate → load page
2. mcp_cursor-ide-browser_browser_snapshot → get elements
3. mcp_cursor-ide-browser_browser_click/type → interact
4. mcp_cursor-ide-browser_browser_snapshot → verify changes
5. mcp_cursor-ide-browser_browser_take_screenshot → visual check