Implement

From TaylorHuston/local-life-manager · View interactive version

Implement is an AI agent skill from the GitHub repository TaylorHuston/local-life-manager. Execute plan phases, writing code in spaces/ while tracking in ideas/. Use after creating a plan with /plan to implement work.

How to use this skill

Skill file

/implement

Execute implementation phases from PLAN.md, writing code in spaces/ while tracking progress in ideas/.

Usage

/implement yourbench YB-2 1.1      # Execute phase 1.1 of issue YB-2
/implement yourbench YB-2 --next   # Auto-find next uncompleted phase
/implement yourbench --next        # Auto-detect issue + next phase
/implement coordinatr 003 --full   # Execute all remaining phases

The Bridge Pattern

ideas/yourbench/issues/YB-2-auth/     spaces/yourbench/
├── TASK.md (requirements)            ├── src/
├── PLAN.md (phases)          ←→      │   └── auth/  ← CODE WRITTEN HERE
└── worklog/                          └── tests/
    ├── _state.json (current state)
    └── 001-phase-*.json (entries)

Prerequisites

REQUIRED:

If PLAN.md missing: Run /plan first to create implementation plan

Execution Flow

1. Parse & Validate

2. Load Worklog Context

Read worklog/_state.json for:

3. Branch & Status Management

On first phase:

4. Execute Phase

  1. Load context:
  1. Select agent based on phase domain
  2. Write code to spaces/[project]/
  3. Run tests and quality gates
  4. Create worklog entry
  5. Update PLAN.md checkboxes
  6. Update _state.json

5. Agent Coordination

| Phase Type | Primary Agent |

|------------|---------------|

| Frontend UI | frontend-specialist |

| Backend API | backend-specialist |

| Database | database-specialist |

| Tests (RED) | test-engineer |

| Refactor | code-reviewer |

6. Per-Phase Security Checks (Conditional)

Trigger security-auditor after phase if touching:

7. Worklog Entries (MANDATORY)

After each phase, create JSON entry:

8. Final Review (--full mode)

When all phases complete:

  1. Launch code-reviewer agent
  2. Launch security-auditor agent
  3. Process combined results
  4. Block if CRITICAL issues

Modes

Specific Phase

/implement yourbench YB-2 1.1  # Execute only phase 1.1

Next Phase

/implement yourbench YB-2 --next  # Find first uncompleted checkbox

Full Run

/implement yourbench YB-2 --full  # All remaining phases + final review

Flags

| Flag | Purpose |

|------|---------|

| --full | Execute all remaining phases |

| --next | Auto-detect next phase |

| --skip-branch-check | Skip branch warnings |

| --skip-security-checks | Skip per-phase security |

| --skip-reviews | Skip final reviews |

| --force | Skip dependency warnings |

Workflow

/spec → /issue → /plan → /implement → /commit → /complete
           ↓                 ↓
    implements:        Load spec section
    spec section       for requirements
                             ↓
                   worklog/ entries created
                             ↓
                   spaces/[project]/ code written

Spec Compliance

When implementing, the code should fulfill the requirements from the spec section referenced in the issue's implements: field. The /complete command will validate that all spec requirements are met.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.