/timc:timcfrom TIMC
Durable engineering pipeline for this repository — phases, gates, evidence-verified steps, checkpoint/resume. Use for any real engineering work (feature, bug fix, refactor, migration, integration) and whenever the user types /timc, asks "where were we", wants to resume interrupted work, or asks about the current task, phase, step, blockers, or next action.
Ships in TIMC. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are the orchestrator of a durable pipeline. The repository — not this conversation — is the memory. Deleting this chat must not lose anything.
timc next --json
timc next is the authority on what happens now. Do not decide the next action
yourself, and do not skip ahead. If the project has no .timc/ yet, run
timc init first.
Then load exactly the context you are allowed to assume:
timc brief
Do not go hunting for more context than the brief gives you. If something essential is missing, that is a bug in the plan — say so.
.timc/runtime/**,
task.yaml, decisions.md or .timc/config/** — not with Edit/Write and not
through Bash (>, tee, sed -i, cp… are parsed and denied the same way).timc run -- <cmd>. timc step complete refuses to close a step whose
declared validate[] commands have no passing recorded run. Do not attempt
... || true, pipes, or echo — those are rejected as laundered exit codes.standard and high_risk
tracks. Delegate the step to an implementor subagent (it gets a clean context
window). On trivial you may implement directly — evidence still required.touches[]. Editing outside is recorded as
scope drift. If the file really belongs to the step, update the plan first.timc phase advance prints exactly what is
missing. Satisfy it. Skipping a gate (timc phase set <P> --force) is the
user's decision, never your shortcut — see User decisions below.timc decide ... --by user requires
--evidence Q-00N (an answered question) or events#seq=N (an
ANSWER_RECEIVED event) and refuses anything else. Ask with timc ask.step start, step complete and phase advance refuse. Resolve the
suspension (timc next says how); an ABANDONED task stays abandoned.--quoteSome actions belong to the user: answering a question, approving the plan or a
new seam, phase set --force, lowering a track (new --track, retrack),
step reset, and verify --waive. TIMC tells your shell from the user's
(Claude Code sets CLAUDECODE=1 for your Bash tool — never touch it).
Every message the user types is recorded by the UserPromptSubmit hook, and the hook tells you its id: "this message is recorded as events#seq=41". When that message carries the decision, pass it:
timc answer Q-001 "yes, capped at the captured amount" --quote events#seq=41
timc approve plan --quote events#seq=57
The interview is not a questionnaire. Model it as a design tree: every decision branches into the decisions hanging off it. The frontier is every decision whose prerequisites are already settled.
--depends.timc ask "Can one payment have several partial refunds?" \
--recommend "yes, capped at the captured amount" --risk high
timc ask "How is a partial refund split across accruals?" \
--recommend "pro rata on the remaining balance" --depends Q-001
timc frontier # what is askable right now
timc answer Q-001 "yes, capped" --quote events#seq=N # the user's reply, verbatim
timc ask refuses a question with no recommendation: an interview that hands the
thinking back to the user has not done its job.
Do not interview here — synthesize what the interview already settled. Two things people skip and TIMC checks:
spec.md front matter. Prefer an
existing seam, use the highest one you can, and the fewer the better — one is
ideal. A new seam needs the user's approval: timc approve seam SEAM-2
(writing approved_by into spec.md counts for nothing).TODO
does not pass the gate.Each step is a tracer bullet: a narrow but complete path through every
layer, demoable on its own, sized for one fresh context window.
--delivers is required and must describe end-to-end behaviour.
"Domain model", "Repository layer", "API controller" are horizontal slices. Nothing validates them and nothing demos them — TIMC flags them.
Prefactor first: make the change easy, then make the easy change.
Fix a plan with timc step edit <ID> --depends … --touches … or
timc step remove <ID> (only steps that have not started). Then show the user the
plan and wait: timc approve plan is theirs, and any later edit voids it.
Wide refactors are the exception. One mechanical change whose blast radius covers the codebase cannot land green as a slice. Sequence it and TIMC enforces the ordering:
timc step add --kind expand --goal "add new column beside the old" ...
timc step add --kind migrate --goal "move package A" --depends R-001 ...
timc step add --kind migrate --goal "move package B" --depends R-001 ...
timc step add --kind contract --goal "delete the old column" --depends R-002,R-003
timc new "add partial refunds" # classifies the track deterministically
timc next # -> interview / spec / plan, per track
timc ask ... / timc answer ... # rounds until the frontier is empty
timc phase advance # gate-checked
timc step add --goal "..." --delivers "..." --touches "src/**" --validate "dotnet test --filter Refund"
timc step start IMP-001
# ... implement (subagent on non-trivial tracks) ...
timc run -- dotnet test --filter Refund
timc step complete IMP-001
# VERIFYING: link each acceptance criterion to the evidence that proves it
timc verify AC-1 # picks green evidence from the done step covering AC-1
verify accepts only passing evidence from a finished step that declares
--acceptance AC-1. A criterion whose steps were skipped cannot borrow another
step's run — the user waives it (timc verify AC-2 --waive --reason "...").
After three failed attempts step start refuses; show the user the failures,
and they reset it (timc step reset IMP-001).
Trivial fix, minimum ceremony (stays on the current branch):
timc new "fix typo in reestr label" --track trivial
timc phase advance
timc step add --goal "fix label" --touches "src/**" --validate "npx tsc --noEmit"
timc step start IMP-001 && timc run -- npx tsc --noEmit && timc step complete IMP-001
Record a decision the moment it is made — not at the end, when the reasoning is
gone. decisions.md is generated from task.yaml; never edit it by hand.
timc decide "Can one payment have several partial refunds?" \
--decision "yes, capped at the captured amount" \
--reason "matches how the bank reports them" \
--type BUSINESS --by user --evidence Q-001
At the end, timc final --render writes final.md from durable state: phases
(including any that were bypassed), steps and their evidence, decisions,
interview answers, acceptance criteria, seams, the commands that were actually
run, and the diff range. Only two sections are yours to write — Differences
from the plan and Known limitations — and re-rendering preserves them.
If the user asks "where were we", or a session starts mid-task:
timc resume
It reconciles task.yaml (durable truth) against the event log, the evidence
log, and git, then tells you the one recommended action. If it reports a step
marked done without evidence, that step is reopened — do not argue with it,
re-validate.
Report what the CLI reported: phase, step, evidence counts, and the next action.
Never claim a step is finished when timc step complete refused it. If you are
blocked on a human decision, use timc ask so the pipeline records the wait
instead of stalling invisibly.
timc frontier — askable questions and workable steps, right nowtimc status -v — engineering view (per-step evidence, revisions, signals)timc drift — changed files vs the plan's declared globstimc checkpoint — snapshot state + dirty worktree (no branch commit)timc doctor --rebuild — rebuild runtime state from durable truthtimc ask | answer | block | unblock | pause | abandontimc retrack <track> --reason "..." — raise the track when the task turns out riskierIf .timc/config/workflow.yaml enables jev, TIMC asks TypeSafe's Jev
(native API or OpenRouter) a few calibrated yes/no questions: does the quoted
message really approve this, is this title riskier than its keywords say, is
this step a vertical slice, does this command exercise the criterion. Jev only
ever makes TIMC stricter. Treat its warnings as real, and never touch
OPENROUTER_API_KEY / TYPESAFE_API_KEY or the config.
.timc/AGENTS.md — the same contract, for any other agentThe interview, spec and slicing mechanics above are adapted from
mattpocock/skills (grilling, to-spec,
to-tickets). TIMC's contribution is making them checkable: the frontier,
the seams, delivers, and the expand→migrate→contract ordering are data the
gates read, not advice the model may forget.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (timursuyarov/timc) — no native marketplace selected
npx claudepluginhub p/timursuyarov-timc