CodeLantern Docs
Core Concepts

The Workflow

The end-to-end cl-dev skill chain that takes a request from spec to a reviewed, merged pull request.

CodeLantern turns a request into shipped code through a chain of small, focused steps called skills. Each skill does one job, hands you a clear result, and points you to the next step, so you always know where you are and what happens next. You run them from your coding agent as slash commands, like /cl-dev:spec.

You don't have to memorize the chain. Start with /cl-dev:spec and let each skill guide you forward. Larger or riskier work uses the optional design steps; small changes can skip straight from claiming an issue to planning.

One loop, two phases: a Plan row (spec, claim, design, plan, approve) and a Build row (implement, consolidate, finalize, review, merge), with you signing off at approve and review

The chain

spec → claim-issue → (design-solution → review-design / reduce-complexity)
     → create-impl-plan → approve-plan → implement
     → consolidate → finalize → review-code → merge

Define the work

  • /cl-dev:spec: interviews you about a request and turns it into a clear issue with testable acceptance criteria, so everyone agrees on what "done" means before any code is written.
  • /cl-dev:claim-issue: sets up the work surface for an issue. It assigns the issue to you, creates the feature branch, and opens a draft pull request to track progress.

Design (optional, for larger work)

  • /cl-dev:design-solution: works out the approach, key decisions, and trade-offs before you commit to a detailed plan.
  • /cl-dev:review-design: gives the design a written review across structure, security, and privacy so problems surface on paper, not in production.
  • /cl-dev:reduce-complexity: pressure-tests the design for unnecessary complexity and pushes for a simpler shape where one exists.

Plan and build

  • /cl-dev:create-impl-plan: turns the issue into a phased, step-by-step implementation plan an agent can execute.
  • /cl-dev:approve-plan: marks the plan approved, the checkpoint that signals implementation can begin.
  • /cl-dev:implement: builds the feature phase by phase, running quality checks and updating the draft pull request as it goes.

Wrap up and ship

  • /cl-dev:consolidate: captures what the work taught into your project's knowledge base, so the next task starts smarter.
  • /cl-dev:finalize: writes the summary, assembles the pull request description, and marks the PR ready for review.
  • /cl-dev:review-code: reviews the final diff for correctness, security, testing, and whether it meets the acceptance criteria.
  • merge: once the review is satisfied, you merge the pull request through your normal GitHub process.

Run locally or hand off

Every skill runs locally and interactively. You're present in your coding agent, answering questions and steering as it works. That's the default, and the best fit when you want to stay in the loop.

When you'd rather delegate a step, use /cl-dev:handoff to pass planning or implementation to the CodeLantern cloud agent. It picks up the work item and continues on its own, so you can start it and step away.

How labels track progress on your board

As an issue moves through the workflow, CodeLantern attaches cl-* labels that signal its state. Each label maps to a state, and (if you set up board automation during init) to a column on your project board. These are the defaults; you can map the columns however you like.

LabelKindSet byStateYour board moves to
(no cl-* label)NoneNonebacklogNot tracked yet
cl-spec-complete Milestonespecspec_completeReady
cl-planning In-progressclaim-issueplanningIn Progress
cl-plan-ready Gatecreate-impl-planplan_readyNo move (stays In Progress)
cl-plan-approved Milestoneapprove-planplan_approvedIn Progress
cl-implementing In-progressimplementimplementingIn Progress
cl-implementation-complete Milestonefinalizeimplementation_completeIn Review

Two layers: the knowledge base and the workflow

The workflow on this page is one layer; the knowledge base is the other. Every phase reads relevant knowledge as it runs, and the design, plan, decisions, and full session log all land in the pull request. Nothing is a black box.

Two layers: the knowledge base (markdown in your repo) on top, and the workflow phases (spec, design, plan, implement, review, consolidate) below, with the workflow writing to and reading from the knowledge base

Learn each skill

On this page