AGENT SKILL

bubbles-feature-template

Use the canonical Bubbles feature artifact template when creating or revising a feature's spec.md, design.md, scopes.md, report.md, uservalidation.md, or state.json. Use when starting a new feature, refreshing a stale feature, or auditing whether a feature folder has the required artifact shape. Covers the v3 control-plane fields (policySnapshot, scenario-manifest.json, certification.*).

License 许可
MIT
最近更新
2026-11-07
Stars
★ 1
Forks
0

01 前言 Front Matter

name
bubbles-feature-template
description
Use the canonical Bubbles feature artifact template when creating or revising a feature's spec.md, design.md, scopes.md, report.md, uservalidation.md, or state.json. Use when starting a new feature, refreshing a stale feature, or auditing whether a feature folder has the required artifact shape. Covers the v3 control-plane fields (policySnapshot, scenario-manifest.json, certification.*).

03 SKILL.md 正文

Bubbles Feature Template

Goal

Produce feature artifacts that match the canonical shape so the state-transition guard, artifact lint, and capability ledger work without exemptions.

When to use

  • Creating a new feature folder under specs/NNN-feature-name/
  • Refreshing a stale feature after bubbles.spec-review returns MAJOR_DRIFT or OBSOLETE
  • Adding control-plane fields (policySnapshot, scenario manifest, certification) to an existing feature

Required artifacts (every feature)

File Owner Notes
spec.md analyst (creation), clarify (revision) acceptance criteria + Gherkin scenarios + exposure contract
design.md design objective research pass for brownfield; Design Brief at the top
scopes.md or scopes/_index.md + scopes/NN-name/scope.md plan DAG Depends On, Test Plan ↔ DoD parity
report.md (or per-scope report.md) implement/test (or scope owners) inline ≥10-line evidence per DoD item
uservalidation.md human user checkbox items default to [x] after audit; user unchecks [ ] to report regression
state.json various; certification.* validate-only execution.* (implement claims), certification.* (validate authority)

Control-plane fields (v3+)

  • state.json.policySnapshot — effective defaults snapshot with provenance, written when the spec enters in_progress
  • scenario-manifest.json — stable SCN-* user-journey contracts; tests preserve scenario IDs across revisions
  • state.json.certification.* — validate-owned certification claims; observations[] for low/medium findings; high-severity must block
  • state.json.execution.executionHistory[] — per-round provenance, no implausible jumps
  • state.json.followUps[] (under done_with_concerns only) — explicit owner + action + target

Anti-patterns

  • ❌ Placeholder spec/design content committed as done — the artifact-lint rejects
  • ❌ Per-scope reports without per-DoD-item inline evidence
  • ❌ policySnapshot missing when status > specs_scoped
  • ❌ Tests that reference dropped SCN-* IDs without explicit scenario invalidation

Authoritative modules

  • agents/bubbles_shared/feature-templates.md — full template text
  • agents/bubbles_shared/artifact-lifecycle.md — lifecycle rules
  • agents/bubbles_shared/scope-templates.md — scope.md / scope-dir templates
  • bubbles/scripts/artifact-lint.sh — template/section presence enforcement
  • docs/guides/CONTROL_PLANE_DESIGN.md — v3 control-plane rationale
  • docs/guides/CONTROL_PLANE_SCHEMAS.md — schemas

04 同仓库更多 Skills

pkirsanov
pkirsanov/smackerel

smackerel-trace-capture

Wire Smackerel's concrete validate-plane stack into the framework trace-driven defect-discovery method. Use when running live-category tests (integration/e2e/e2e-ui/stress) against the ephemeral test stack; capturing SLO or trace evidence; hunting latency/error/perf bugs from spans; querying the test-stack Jaeger or Prometheus; or touching `.specify/runtime/observability`. Concrete smackerel endpoints + the exact `capture-slo.sh` command; do NOT duplicate `bubbles-observability-adapter` — this only adds the wiring.

★ 1
pkirsanov
pkirsanov/smackerel

smackerel-no-defaults

Enforce Smackerel's NO-DEFAULTS / fail-loud SST policy. Use when editing config, Docker Compose, deploy adapters, docs, instructions, skills, env handling, host bind addresses, or any runtime value that could be hidden by fallback syntax.

★ 1
pkirsanov
pkirsanov/smackerel

bubbles-workflow-mode-resolution

Resolve a Bubbles workflow mode against `bubbles/workflows.yaml`, including template inheritance, status ceilings, gate wiring, and decision policy. Use when picking a mode for a request, when a guard reports a mode-related failure, or when extending workflows.yaml with a new mode or template. Covers natural-language intent routing and the workflow registry consistency rules.

★ 1
pkirsanov
pkirsanov/smackerel

bubbles-workflow-execution-loops

Run per-round synchronous workflow execution loops correctly. Use when orchestrating a multi-round workflow, dispatching specialist subagents, handling round-based remediation, or interpreting a workflow mode's execution policy. Covers authorized direct execution, dispatch-and-wait, batch-then-summarize prohibition, and mapped-mode execution.

★ 1
pkirsanov
pkirsanov/smackerel

bubbles-vscode-agent-constraints

Design agents that fit the VS Code Copilot Chat runtime instead of fighting it. Use when authoring or editing any `*.agent.md`; when adding `tools:`, `agents:`, `handoffs:`, `model:`, `user-invocable:`, or `disable-model-invocation:` frontmatter; when designing an orchestrator that dispatches specialists; when a design implies agent-calls-agent-calls-agent chaining; when a subagent dispatch silently no-ops or an agent cannot be selected in the dropdown; or when writing a governance rule about delegation that the runtime cannot actually enforce. Prevents multi-level-subagent designs, prose-only dispatch laws, and frontmatter/body contradictions.

★ 1
pkirsanov
pkirsanov/smackerel

bubbles-upkeep-cadence

How to schedule, dispatch, and record recurring operational upkeep tasks (backup, restore-drill, BCDR-drill, patch-cycle, secret-rotation, flag-cleanup, compliance-sweep). Use when authoring or modifying `config/upkeep-calendar.yaml`, when investigating a missed task, when reading the upkeep ledger, or when adding a new task type.

★ 1