kickoff
Use when starting work on a ticket after checking out the feature branch. Fetches the ticket, explores the codebase, routes vague tickets through spec, routes large work through break-spec, then hands implementation-ready work to blueprint and implement. Adapts to whatever ticket tracker and domain tooling the environment provides — driven by `<repo>/.beislid/workflow.md`.
- License 许可
- MIT
- 所属仓库
- sandsower/nopal
- 最近更新
- 2026-10-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- kickoff
- description
- Use when starting work on a ticket after checking out the feature branch. Fetches the ticket, explores the codebase, routes vague tickets through spec, routes large work through break-spec, then hands implementation-ready work to blueprint and implement. Adapts to whatever ticket tracker and domain tooling the environment provides — driven by `<repo>/.beislid/workflow.md`.
02 资源文件 15
- 参考文档action-policy-protocol.md4.2 KB
- 参考文档kickoff-templates.md4.9 KB
- 参考文档nopal-seam-protocol.md7.7 KB
- 参考文档output-templates.md8.1 KB
- 参考文档probe-semantics.md22.5 KB
- 参考文档step-1-ticket.md3.5 KB
- 参考文档step-2-context.md3.5 KB
- 参考文档step-3-team-guidance.md1.0 KB
- 参考文档step-4-checkpoint.md3.5 KB
- 参考文档step-4-readiness.md2.7 KB
- 参考文档step-5-scope.md3.5 KB
- 参考文档step-6-blueprint.md1.9 KB
- 参考文档step-7-discoveries.md2.3 KB
- 参考文档step-8-ticket-update.md2.4 KB
- 参考文档workflow-md-format.md60.4 KB
03 SKILL.md 正文
Start Work on Ticket
Turn a checked-out feature branch into an implementation plan. Kickoff is the front door: ticket → context → spec/blueprint/breakdown → update → implement
Don't use this for: creating PRs, handling review/QA feedback, or PR handoff for completed work. Use ready-for-review or review-response for those.
Project config: <repo>/.beislid/workflow.md (see workflow-md-format.md). Probe lazily; policy-check side effects per action-policy-protocol.md. Output follows templates.
Read workflow.md
Read <repo>/.beislid/workflow.md. If missing, hard-fail and stop:
🛑 No
workflow.mdfound in.beislid/. If this is a fresh project, run/setupto create one. If you moved your config, restore it to<repo>/.beislid/workflow.md.
Validate line 1 is exactly <!-- beislid-workflow: v1 -->. If missing or wrong, hard-fail and stop; kickoff will not silently mis-parse.
When beislid:agent_isolation is present, load workspace placement plus the current host adapter before the first repo write. Run ensure_orchestrator_workspace; a requested transition requires a clean source and acknowledged destination, or kickoff stops with the configured manual fallback.
Compute cache identifiers:
repo_hash=$(git rev-list --max-parents=0 HEAD | sort | head -c 12)
workflow_hash=$(git hash-object .beislid/workflow.md)
Try to read ${BEISLID_STATE_DIR:-$HOME/.local/state/beislid}/probes/<repo_hash>.json:
- Missing → empty in-memory probe state; cache state
cold. workflow_hashmismatch → empty in-memory probe state; cache statestale.- Hash matches → load capability entries; cache state
fresh. Per-cap freshness usesprobe_cache.ttl_hours, default 24.
Print orientation prose from kickoff-templates.md (≤240 chars).
On continue this ticket / continue from checkpoint, read .beislid/checkpoints/latest.json first. Prefer matching kickoff_context_ready; ask if unclear. Use as planning context; validate the live ticket first. Bad/missing pointers are non-blocking. beislid run-ledger resume --flow kickoff --ticket-id <id> --branch <branch> may add context but never replaces live validation or checkpoints.
For durable evidence, probe(nopal_seam); on ok, best-effort nopal ledger init --skill kickoff --flow kickoff --json, else beislid run-ledger init --skill kickoff --flow kickoff (nopal-seam-protocol.md). Record checkpoints with the same seam's ledger checkpoint --run-id <run_id> --flow kickoff --name kickoff_context_ready (later checkpoints use --name <step_name>). Warn on ledger failure; don't block kickoff.
Internal: probe(<cap>)
Reusable lazy-probe contract. Do not re-probe within a run; the in-memory probe state is authoritative.
- Look up
<cap>in memory. - If present,
status: ok, and within TTL → return ok; no probe ran. - Else run the probe per
probe-semantics.mdfor the cap kind (mcp,cli,file,paste,skill,subagent,path). Multi-command logical CLI caps such aslifecycle_actions.kickoff_startprobe every configured binary for the current event once. Record the result in memory. - On success → return ok.
- On failure → use the call-site-specific prose prompt from
kickoff-templates.mdwith retry / proceed-this-session fallback / abort. - On retry → re-probe. On fallback → mark
session_skip: true; exclude from run-end writeback. On abort → stop and do not write cache.
On clean run end, write probed/re-probed capability entries back to <repo_hash>.json, excluding session_skip. Preserve top-level fields doctor owns; orchestrators do not update doctor_run_at.
Global tripwires
.beislid/workflow.mdis the only project config source; no legacy YAML fallback.- Do not execute a step from memory if its aux file cannot be read.
- Ticket-source fallback means strict pasted ticket context, not blind continuation.
- No implementation starts before approved design.
- Do not treat
.beislid/checkpoints/latest.jsonas the durable run ledger. - Show and approve ticket update bodies before posting.
- Policy-check ticket/lifecycle/checkpoint side effects;
askrequires approval,denystops or prints manual fallback. - CLI ticket updates must use
{body_file}, never raw body interpolation. - Lifecycle actions are configured side effects; run only supported providers and do not silently ignore failures.
Step protocol loading
Complete steps in order. At each step entry, read the step aux file and follow it as the authoritative protocol. Do not execute a step from memory if the aux read fails; hard-fail and stop:
🛑 Could not read
skills/kickoff/<step-file>.md. Kickoff cannot safely execute this step from memory; reinstall Beislið or restore the file.
Read action-policy-protocol.md before Step 1 side effects. Verbose mode prints aux load stamps and step exit checks when practical.
Checklist and required outputs
- Ticket — read
step-1-ticket.md. Outputs:ticket_id, title, body, acceptance criteria, labels/metadata, attachments/screenshots summary, ticket-source status, lifecycle-action status. - Context — read
step-2-context.md. Outputs: relevant files/patterns/tests/docs, domain context status, open uncertainties. - Team guidance — read
step-3-team-guidance.md. Outputs: team config status and constraints. - Readiness — read
step-4-readiness.md. Outputs: route tospecor blueprint path, with rationale. 4b. Checkpoint — readstep-4-checkpoint.md. Outputs:kickoff_context_readyartifact/pointer status; ledger checkpoint if active. - Scope — read
step-5-scope.md. Outputs:scope_classification, derived route summary, approval/split fields, and selected phase if any. - Blueprint — read
step-6-blueprint.md. Outputs: approved design summary, expected files/modules, tests, risks/open questions. - Discoveries — read
step-7-discoveries.md. Outputs: discovery status and any durable notes recorded. - Ticket update — read
step-8-ticket-update.md. Outputs: update status/body and implement handoff context; ledger final checkpoint/report if active.
Run end: write back probe cache
After Step 8 or a clean routed handoff, write in-memory probe state to <repo_hash>.json: update probed/re-probed entries, exclude session_skip: true, preserve doctor_run_at, update workflow_hash, and keep the workflow TTL. If workflow.md changed mid-run or the run aborted, do not overwrite stale state.
Common mistakes
- Continuing without ticket context.
- Treating
knowledge_store.pathas useful alone. - Posting ticket updates without approval.
- Dropping ticket + codebase findings + domain summary + team config between gates.
Key principles
- Workflow.md is the source of truth.
- Lazy probes, not preflight tables.
- No blind planning.
- Blueprint before implement.
04 同仓库更多 Skills
walk-the-diff
Use when the user wants to walk through their local changes interactively before or instead of a PR review — e.g., "guided review", "walk me through the changes", "review my branch", "let's go through the diff". Also use when the user explicitly invokes the walk-the-diff skill through the host agent. This is for interactive human-facing walkthroughs of code changes, not automated code review.
verify
Use before claiming work is complete, fixed, or passing. Requires running verification commands and reading output before making any success claims. Evidence before assertions.
spec
Trigger immediately when the user says any of: 'spec it out', 'spec this out', 'before you build', 'before we build', 'before implementation', 'let's discuss before building', 'discuss and spec', 'PRD this', 'shape this', 'product spec', 'lightweight spec'. Also use for brainstorming, vague tickets, product shaping, or writing a lightweight product spec/PRD when the problem, scope, desired behavior, or success criteria are unclear. Do not skip this skill and answer conversationally yourself — if a trigger phrase appears, route here even if the request seems clear or auto mode is active. Do not use for implementation design when requirements are already clear; use blueprint instead.
show-me
Use when the user asks for a visual HTML evidence/explanation artifact: 'show-me', 'show me this', 'make a proof deck', 'make an HTML deck', 'visualize this as HTML', 'this would be better as slides', 'make this visual', 'create a walkthrough deck', 'document this visually', or 'review this visually'. Manual/user-requested only in v1. Produces a polished local HTML portfolio/deck with evidence, media, logs, provenance, and clear missing-evidence markers.
setup
Configure Beislið project config (`.beislid/workflow.md`) interactively, or update an installed Beislið distribution. Use when the user says "setup", "/setup", "setup update", "/setup update", "update beislid", "configure beislid", "set up workflow", "add scopes", "change ticket source", "reconfigure beislid", or any intent to add, change, or remove a workflow.md section. Walks through sections conversationally; shows a diff before any destructive write.
rinse
Use when the user asks to 'rinse', 'run a review/fix loop', 'iterate on review findings', 'review and fix until clean', or harden a branch before PR handoff. Orchestrates side-effect-free review, user-approved fixes, verification, reruns, and redesign stop conditions.