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.
- License 许可
- MIT
- 所属仓库
- sandsower/nopal
- 最近更新
- 2026-10-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- setup
- description
- 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.
02 资源文件 31
- 参考文档agents-integration.md1.2 KB
- 参考文档first-run.md4.9 KB
- 参考文档menu.md7.7 KB
- 参考文档parse-recovery.md993 B
- 参考文档probe-semantics.md22.5 KB
- 参考文档sections/agent-isolation.md2.6 KB
- 参考文档sections/babysit.md1.6 KB
- 参考文档sections/browser-compatibility.md599 B
- 参考文档sections/checkpoint-artifacts.md2.4 KB
- 参考文档sections/clean-evaluator.md1.3 KB
- 参考文档sections/domain-capture.md625 B
- 参考文档sections/explore.md634 B
- 参考文档sections/fresh-eyes.md1.0 KB
- 参考文档sections/guided-walkthrough.md542 B
- 参考文档sections/lifecycle-actions.md3.2 KB
- 参考文档sections/lifecycle-hooks.md1.2 KB
- 参考文档sections/model-routing.md1.8 KB
- 参考文档sections/planning-artifacts.md3.0 KB
- 参考文档sections/pr-description-formatter.md563 B
- 参考文档sections/pr-host.md454 B
- 参考文档sections/pr-review.md2.2 KB
- 参考文档sections/review-feedback-profiles.md715 B
- 参考文档sections/scopes-quality-gates.md3.0 KB
- 参考文档sections/ship-time-artifacts.md825 B
- 参考文档sections/ticket-updates.md1.3 KB
- 参考文档sections/translation-sync.md556 B
- 参考文档sections/visual-surfaces.md1.4 KB
- 参考文档sections/workflow-signals.md1.3 KB
- 参考文档update.md1.9 KB
- 参考文档workflow-md-format.md60.4 KB
- 参考文档write-and-report.md1.7 KB
03 SKILL.md 正文
Setup
In verbose mode, emit ✓ setup/router v1 loaded immediately after reading this file.
Initialize or update Beislið's per-project config at <repo>/.beislid/workflow.md, or run the distribution updater for update intent.
Setup is the canonical config interface.
Direct file editing remains a quiet escape hatch.
Resource resolution
Resolve canonical resources only when the selected route needs them.
When the Beislið CLI is available, run beislid resource resolve workflow-md-format for workflow grammar and beislid resource resolve probe-semantics for capability discovery, then read the returned absolute file.
If the command is unavailable or fails, read the exact sibling resource workflow-md-format.md or probe-semantics.md shipped with this skill and disclose the fallback.
Never search the repository, home directory, .agents, .claude, .codex, or another skill root for a replacement.
Route
- For
setup update,/setup update,update beislid, or equivalent update intent, load update only. Do not inspect or modify project config in that route. - Otherwise apply the repository precheck and mode detection below.
- If
.beislid/workflow.mdis absent, load first run. Before preview or write, load write and report. After a confirmed first-run write, load AGENTS integration, then offer menu mode. - If
.beislid/workflow.mdexists and parses cleanly, load menu mode. Load write and report only when a preview or write boundary is reached. - If existing config does not parse cleanly, load parse recovery and do not load menu section protocols.
Do not preload update, first-run, menu, write, AGENTS, parse-recovery, or optional-section resources before their route is selected.
1. Precheck git repo
Run git rev-parse --show-toplevel.
If it errors or returns non-zero, hard-fail with prose:
🛑 Setup needs a git repo with at least one commit. Run `git init` and make
the first commit, then re-run /setup.
Also check git rev-list --max-parents=0 HEAD exits 0 (at least one commit).
Same hard-fail otherwise.
2. Detect mode
Check <git-toplevel>/.beislid/workflow.md:
- Missing -> load first run, then write and report at its preview boundary.
- Exists -> load menu mode.
Common mistakes
- Asking the user to type an MCP tool name - never.
Use
probe-semantics.mdMCP discovery; if discovery returns nothing, pivot tocli/paste. - Suggesting a branch_pattern below the 60% coverage threshold - never. Below threshold, ask whether to skip.
- Writing without showing a diff first - every destructive write shows a diff and asks for
[Y/n]. - Modifying CLAUDE.md - never. AGENTS.md is the always-preferred target.
- Refusing to run when workflow.md exists - superseded; menu mode handles re-runs (Q17 amended in Phase 2).
- Writing commented-out template sections - superseded; the file contains only filled-in sections. Discovery happens via the menu, not via reading commented prose.
- Touching the probe cache - setup never reads or writes the cache. That's doctor's responsibility (and orchestrators write back individual entries on re-probe). Setup only writes workflow.md and AGENTS.md.
Key principles
- Setup is the canonical config interface. Every workflow.md change goes through it (or through direct edit, which is a quiet escape hatch).
- Never silently overwrites. Every destructive write shows a diff and waits for explicit
[Y/n]confirmation. - Atomic whole-section writes. Setup never partially mutates a fenced block; it rewrites the whole section.
- Targeted detection, never silent fill. Every auto-suggested value is presented for explicit Y/n/different confirmation.
- One question at a time. Don't batch prompts; the user answers in order.
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.
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.
review
Review a local diff or supplied patch against requirements. Produces severity-categorized findings and a readiness verdict. Side-effect-free primitive used by ready-for-review, future rinse-style loops, PR patrol workflows, and ad-hoc review requests.