Skill: Save + Bank
Purpose
Ensure every run ends with persisted artifacts and an updated run outputs ledger.
Scope
- Applies after execution and review steps.
- Covers file persistence, ledger update, and promotion routing.
- Does not replace domain-specific QA or approval workflows.
Inputs
- Run context (task prompt, workflow used, operator).
- List of files created/updated during the run.
- Review status (
draft,reviewed,banked). - Current run ledger file (
S20-workflows/run-ledger.md). - Ledger schema reference (
S20-workflows/run-ledger-schema.md).
Outputs (Artifact Format)
- Saved run outputs at canonical file paths.
- Updated
S20-workflows/run-ledger.mdwith a new appended row. - Promotion note in ledger when artifacts move to
S10,S20, orS30.
Steps
- Collect Output Inventory
- Enumerate all files created and modified in the run.
- Verify each output exists on disk.
- Route Outputs to Correct Paths
- Place procedural guidance in
S20-workflows/. - Place primitives in
S10-primitives/. - Place exemplars in
S30-examples/. - Keep project-specific outputs in project-local folders.
- Place procedural guidance in
- Apply Status Metadata
- Set each artifact to
draft,reviewed, orbanked. - Ensure filenames follow living file naming policy.
- Set each artifact to
- Update Run Ledger
- Open
S20-workflows/run-ledger.md. - Append a new row using
S20-workflows/run-ledger-schema.mdcolumns. - Include commit hash when available.
- Open
- Validate Completion
- Confirm no run output is left only in chat.
- Confirm ledger row references all outputs.
Stop Rules
- Complete when all outputs are saved and ledger entry is appended.
- Fail when required output paths are missing or ledger cannot be updated.
Review Checklist
- Every declared output exists in the repository.
- Ledger row is appended (not overwritten).
- Review status is accurate for the run.
- Promotion target is recorded when banking occurred.
Versioning
- v1.0.0 (2026-02-16): Initial release of Save + Bank skill.
- v1.1.0 (2026-02-16): Added explicit ledger schema dependency and clarified bank-step update requirements.