AGENT SKILL

retro

Use when the user says "retro", "/retro", "retrospect", "post-run retro", "tune workflow", "refine gates", "improve workflow.md", or asks what should change after a run. Reviews available run/session evidence and the whole `.beislid/workflow.md`, then recommends workflow improvements. Does not edit config; route accepted changes through `setup`.

License 许可
MIT
所属仓库
sandsower/nopal
最近更新
2026-10-15
Stars
★ 0
Forks
0

01 前言 Front Matter

name
retro
description
Use when the user says "retro", "/retro", "retrospect", "post-run retro", "tune workflow", "refine gates", "improve workflow.md", or asks what should change after a run. Reviews available run/session evidence and the whole `.beislid/workflow.md`, then recommends workflow improvements. Does not edit config; route accepted changes through `setup`.

02 资源文件 2

03 SKILL.md 正文

Retro

Turn a run or session into workflow-improvement recommendations. retro answers: what should change about this repo's Beislið workflow after what we just learned?

retro is recommendation-only. It never edits .beislid/workflow.md; setup remains the canonical config writer.

Use this for:

  • Post-run/session reflection
  • Gate tuning suggestions
  • Workflow default refinement
  • Reviewing skipped, noisy, missing, slow, or ambiguous workflow steps
  • Preparing a handoff for a later setup run

Do not use this for:

  • Checking whether config is valid or probes pass — use doctor
  • Direct config editing — use setup
  • Product shaping — use spec
  • PR readiness gates — use ready-for-review

Process

1. Load available context

Inspect before interviewing. Use what the current host and repo provide, then ask only for missing high-value context.

Collect, when available:

  • Current user request and any extra notes they supplied
  • Current session context, including recent gate/review/setup friction already visible in chat
  • Git repo root, branch, status, and changed-file summary
  • <repo>/.beislid/workflow.md as the current workflow baseline
  • .beislid/checkpoints/latest.json and readable referenced checkpoint artifacts
  • Beislið run-ledger summaries or final reports for relevant recent runs, if the CLI/state is available
  • Session-memory or memento notes, if the host exposes memory/search tools
  • Recent local evidence such as gate output summaries, skipped checks, accepted risks, or repeated manual prompts

If a source is missing, unavailable, stale, or too expensive to inspect, say so briefly and continue with the evidence you have. Do not fail solely because durable context is absent.

2. Compare evidence to workflow config

Review the whole workflow, not just gates. Look for friction in:

  • ticket source and branch detection
  • scopes, gate sets, gate metadata, cost, selectors, and parallel-safety hints
  • lifecycle/checkpoint artifacts
  • action policy prompts or unsafe defaults
  • PR review/update paths
  • final check and review handoff behavior
  • model routing disclosures or repeated model-fit issues
  • setup/doctor discoverability gaps
  • prose in workflow.md that should encode a default, warning, or team preference

Keep observations evidence-based. Do not invent changes from taste alone.

3. Recommend conversationally

Lead with the practical recommendation, not a scored report. Keep the tone simple:

  • What I would change via setup — concrete workflow changes worth making
  • What I would leave alone — friction noticed but not worth config churn
  • What needs your call — ambiguous choices, each with a suggested default
  • Not project config — Beislið distro/skill improvements or team/process notes

For ambiguous UX, do not stall immediately. Suggest the default you would choose and ask only when the decision affects the setup handoff.

4. Build the setup handoff

If there are project-config recommendations, include a paste-ready handoff for setup:

Setup handoff:
- Goal: <one sentence>
- Sections to change: <workflow.md sections>
- Recommended defaults: <concrete values/prose>
- Open decisions: <questions with recommended defaults>
- Evidence: <brief source list>

Make it clear that this is input for setup, not a patch and not a source of truth.

If the user wants to apply changes now, route to setup with the handoff. Do not edit config yourself.

5. Optional handoff artifact

Default is no write. After presenting the recommendations, ask at most once:

Save this retro as a setup handoff note? [y/N]

Only on explicit yes, write a Markdown handoff artifact. Before writing, read action-policy-protocol.md when present and evaluate action id file.write with class workspace-write if the project provides the Beislið CLI. Handle ask exactly as the protocol requires; the generic save offer is not enough unless it includes the policy envelope and explicit approval.

Default path:

recommendations/retro-{date}-{branch}.md

Path rules:

  • path must be repo-relative, stay inside the repo, contain no .., and end in .md
  • create parent directories only as part of the approved write
  • if the target exists, ask overwrite / choose another path / skip
  • never write or modify .beislid/workflow.md

Artifact content:

  • title and timestamp when known
  • evidence sources used and skipped
  • recommendation summary
  • setup handoff block
  • open decisions
  • explicit note: setup remains the canonical workflow.md writer

6. Output and route

Finish with:

  • concise recommendation summary
  • setup handoff, if any changes are recommended
  • artifact status (not offered, skipped, written, or failed)
  • next step:
    • setup when the user wants to apply project config changes
    • doctor when config/probe validity is uncertain
    • spec/issue capture when the finding is a Beislið product improvement
    • no action when the current workflow should stay as-is

Guardrails

  • Never directly modify .beislid/workflow.md.
  • Never present a generated config diff as approved truth; label examples as illustrative.
  • Do not replace doctor; use it when the question is capability health.
  • Do not require memento, run ledger, or checkpoints; they enrich the retro but are optional.
  • Prefer one conversational pass with suggested defaults over a long upfront interview.

04 同仓库更多 Skills

sandsower
sandsower/nopal

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.

★ 0
sandsower
sandsower/nopal

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.

★ 0
sandsower
sandsower/nopal

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.

★ 0
sandsower
sandsower/nopal

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.

★ 0
sandsower
sandsower/nopal

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.

★ 0
sandsower
sandsower/nopal

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.

★ 0