/everything-sudocode:implementfrom everything-sudocode
Start implementation of a sudocode issue. Claims the issue, loads context, creates session tasks, and guides through implementation with feedback on completion.
Ships in everything-sudocode. Installing the plugin adds it to Claude Code.
This command starts implementation of a sudocode issue, integrating with TDD and other implementation agents.
Use /implement when:
/discuss-issue confirms clarityThe command will:
ready to show available issues/implement <issue-id> # Implement specific issue
/implement # Select from ready issues
/implement --agent=X # Use specific agent (tdd-guide, etc.)
User: /implement
Agent:
# Ready Issues
| ID | Title | Priority | Blocked By |
|----|-------|----------|------------|
| i-3e4f | Implement login endpoint | 2 | - |
| i-4g5h | Implement logout endpoint | 2 | - |
| i-5i6j | Implement session management | 2 | - |
Which issue would you like to implement?
User: i-3e4f
Agent:
# Starting Implementation: Implement login endpoint (i-3e4f)
## Claiming Issue
✅ Issue i-3e4f status → in_progress
## Loading Context
**Issue:** Implement login endpoint
**Implements:** [[s-a1b2]] User Authentication System
### Acceptance Criteria
- [ ] POST /api/auth/login accepts email and password
- [ ] Returns JWT token on success (user_id, email, 24h exp)
- [ ] Returns 401 on invalid credentials (generic message)
- [ ] Rate limits: 5 attempts / 15 min / IP
### From Spec [[s-a1b2]]
- Use bcrypt for password verification
- Secure password storage already implemented in registration
### Related Issues
- i-2c3d (Registration) - completed, has shared auth utils
## Session Tasks Created
- [ ] Write login endpoint tests (TDD)
- [ ] Implement login endpoint
- [ ] Add rate limiting
- [ ] Verify all tests pass
- [ ] Provide feedback to spec
## Starting TDD Workflow
[Invokes tdd-guide agent...]
### Step 1: Write Failing Tests (RED)
```typescript
// app/api/auth/login/route.test.ts
describe('POST /api/auth/login', () => {
it('returns JWT token for valid credentials', async () => {
// Test implementation...
})
it('returns 401 for invalid email', async () => {
// Test implementation...
})
it('returns 401 for invalid password', async () => {
// Test implementation...
})
it('rate limits after 5 failed attempts', async () => {
// Test implementation...
})
})
[TDD workflow continues...]
[After implementation complete...]
add_feedback to [[s-a1b2]]:
✅ Requirements met: Login endpoint implemented per spec
📝 Design decisions:
- Used existing auth utils from registration
- JWT includes: sub, email, iat, exp (24h)
- Rate limiting via Redis with sliding window
✅ Evidence:
- 8 tests passing
- 94% coverage
- Manual testing verified
✅ Issue i-3e4f status → closed
Ready issues now available:
Run /implement i-6k7l to continue?
## Implementation Agents
The command can invoke different agents based on the work:
| Agent | When Used | Focus |
|-------|-----------|-------|
| `tdd-guide` | Default for features | Test-driven development |
| `build-error-resolver` | Build failures | Fix compilation issues |
| `refactor-cleaner` | Cleanup work | Remove dead code |
## Workflow Integration
/spec → /discuss-spec → /plan-issues → /discuss-issue ↓ /implement ← YOU ARE HERE ↓ /feedback (auto on completion)
## Session Task Tracking
During implementation, tasks track progress:
Session Tasks for i-3e4f: [x] Write login endpoint tests [x] Implement login endpoint [x] Add rate limiting [x] Verify all tests pass [ ] Provide feedback to spec ← In progress
Tasks are session-scoped (via TaskCreate/TaskUpdate).
Issues are persistent (survive sessions).
## Feedback on Completion
When closing an issue, feedback is provided to the linked spec:
```markdown
✅ Requirements met: [what was done]
📝 Design decisions: [choices made]
⚠️ Challenges: [if any]
✅ Evidence: [tests, verification]
💡 Suggestions: [spec improvements, if any]
If implementation is interrupted:
User: I need to stop for now
Agent:
## Saving Progress
**Issue:** i-3e4f remains in_progress
**Tasks completed:** 3/5
### Resume Later
Run `/implement i-3e4f` to continue.
Context will be reloaded from issue and spec.
### If Blocked
If you discovered a blocker:
1. Create blocker issue with `/spec` or directly
2. Link: blocker blocks i-3e4f
3. Set i-3e4f status to blocked
/discuss-issue - Review issue before implementing/plan-issues - Create issues to implement/feedback - Review feedback after implementation/tdd - Direct TDD workflow (without issue context)This command coordinates with multiple agents:
tdd-guide - Test-driven implementationcode-reviewer - Review on completionbuild-error-resolver - Fix build issues/discuss-issue first for complex issuesWhat the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub sudocode-ai/everything-sudocode --plugin everything-sudocode21 commands in this plugin
/build-fixBuild and FixIncrementally fix TypeScript and build errors:/checkpointCheckpoint CommandCreate or verify a checkpoint in your workflow./code-reviewCode ReviewComprehensive security and quality review of uncommitted changes:/discuss-issueDiscuss Issue CommandReview issue context, gather requirements from linked specs, and identify ambiguities before implementation. Ensures clarity before starting work./discuss-specDiscuss Spec CommandReview a sudocode spec for completeness, ambiguities, and missing information before planning issues. Surfaces questions for discussion./e2eE2E CommandGenerate and run end-to-end tests with Playwright. Creates test journeys, runs tests, captures screenshots/videos/traces, and uploads artifacts.Other plugins' commands for the same job