Skip to main content

Template catalog

This page is a reference for reusable delegation patterns and .lmctl teamfile templates. lmctl's current public model is teamfile + members + lmctl chat; use these patterns as prompts for the Lead, not as CLI-loaded workflow objects.

Delegation patterns

PatternDescription
bugfix-extended-v2Investigates a bug report, develops a fix through coder and reviewer turns, verifies, reports final status.
bugfix-v2Takes a bug description, an agent diagnoses and fixes it in the project, then verifies and reports.
bugfix-pr-fixer-v2Claims a bugfix project work item, fixes it with a coder/reviewer loop, prepares the project for PR follow-up.
bugfix-pr-fixer-direct-v2Direct bugfix PR workflow for a known task, coder + reviewer agents produce and verify a change.
bugfix-pr-fixer-autosubmit-v2Claims a bugfix task, repairs with review, prepares an autosubmitted pull request.
pr-fixClaims one project issue, reads the failing test chapter, fixes with a coder/reviewer loop, commits, closes the issue.
pr-followup-v2Follows up on PR feedback, applies changes, verifies, reports whether the PR is ready.
triage-v2Triages incoming issues, filters duplicates/unclear reports, assesses fixability, produces candidate work items.
qa-suiteRuns project QA chapters, interprets failures, creates project issues for failing chapters, reports open issue count.
image-qaReviews image/visual output against expected criteria, produces a QA verdict with evidence.
info-qaInformation-oriented QA: checks project facts, evidence, and expected outcomes without modifying the project.
document-creationCreates or revises a project document through agent drafting and review, writes the accepted document.
newspaperBuilds a newspaper-style summary from project/external inputs into a readable generated artifact.
spec-driven-taskTurns a written task specification into project changes through implementation, review, and verification.
durable-memory-consolidation-v2Consolidates durable project memory from recent work so future sessions recover context quickly.
provider-probeChecks whether configured AI providers and team members can respond in the current environment.
example-v2Demonstrates a simple multi-step workflow (agent work + review) for smoke testing and as a template example.
claim-check-spike-v2Explores whether issue claiming and follow-up queues behave correctly (small spike).

Each pattern is built from the delegation archetypes described in Delegation patterns & archetypes: Review, Consolidate, Interactive, Loop, ShellStep, and AssertRepoClean.

Config templates

The .lmctl scaffolding lmctl writes for a team. Edit these after they are written; they are starting points, not fixed files.

ai-test chapters

Scaffold an ai-test/ directory. These chapters are useful as human-readable test prompts for a Lead-driven QA pass.

FilePurpose
index.mdThe chapter index for the project's ai-test/ directory.
example-test.mdA sample manual test chapter to copy and adapt.

durable-memory

Scaffold a project's durable-memory/ directory. durable-memory is the canonical knowledge layer, read on demand by agents.

FilePurpose
index.mdThe memory index for the project's durable-memory/.
skills_general.mdGeneral skills chapter.
skills_lmdebug.mdSkills chapter for debugging with lmctl.
skills_lmprobe.mdSkills chapter for probing with lmctl.

See Durable Memory Index for what belongs in the index and how fresh agents should use it.