agentleFS
devnomad-bytedevnomad-byte/techneering/skills/vault/SKILL.md

vault

Skill13 starsChanged 5 months agoMITView on GitHub

Archive a completed change — delta spec merge and move to archive. Use when the user wants to finalize and archive a completed change.

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 10 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Always announce: "Archiving change: <name>"

    line 23
  2. Distinctive:

    Artifact completion: Check all artifacts exist (proposal, specs, design, tasks).

    line 27
  3. Very specific:

    Task completion: Read techneering/changes/<name>/tasks.md, count - [ ] (incomplete) vs - [x] (complete).

    line 29
  4. Distinctive:

    If incomplete tasks: warn user, confirm before proceeding

    line 30
  5. Very specific:

    If delta specs exist at techneering/changes/<name>/specs/:

    line 34
  6. Distinctive:

    REMOVED: Delete the matching requirement block from the main spec

    line 50
  7. Distinctive:

    No duplicate requirement names

    line 63
  8. Distinctive:

    If no delta specs exist, skip merge step.

    line 65
  9. Distinctive:

    If target archive already exists, report error and suggest renaming.

    line 74
  10. Distinctive:

    Always confirm with user if incomplete artifacts or tasks exist

    line 116
  11. Distinctive:

    Don't block archive on warnings — inform and confirm

    line 118
  12. Distinctive:

    If delta spec merge encounters conflicts, stop and ask user

    line 120

“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Archive a Change

Merge delta specs into main specs and move the change to archive. The final step in the Techneering workflow.

Core Principle

NO ARCHIVE WITHOUT CONFIRMATION.
Every artifact checked. Every delta applied. Every conflict reported.

Steps

Step 1: Select the Change

Same selection logic as tn:forge — auto-detect or ask user.

Always announce: "Archiving change: <name>"

Step 2: Pre-Archive Checks

Artifact completion: Check all artifacts exist (proposal, specs, design, tasks).

Task completion: Read techneering/changes/<name>/tasks.md, count - [ ] (incomplete) vs - [x] (complete).

  • If incomplete tasks: warn user, confirm before proceeding

Step 3: Delta Spec Merge

If delta specs exist at techneering/changes/<name>/specs/:

3a. Read Delta Specs

For each delta spec file, parse the delta blocks:

  • ## ADDED Requirements
  • ## MODIFIED Requirements
  • ## REMOVED Requirements
  • ## RENAMED Requirements

3b. Apply Deltas to Main Specs

Execute operations in this strict order: RENAMED → REMOVED → MODIFIED → ADDED

  • ADDED: Append requirement blocks to the end of the corresponding chapter in the main spec
  • MODIFIED: Replace the matching requirement block in the main spec (match by ### Requirement: <name>)
  • REMOVED: Delete the matching requirement block from the main spec
  • RENAMED: Rename the requirement block header in the main spec (FROM → TO)

3c. Handle Edge Cases

  • MODIFIED/REMOVED target not found in main spec → Skip, log warning
  • ADDED target chapter doesn't exist → Create chapter, then append
  • Conflict (same requirement targeted by multiple deltas) → Stop merge, report to user

3d. Post-Merge Verification

  • Confirm main spec structure is intact
  • No orphaned references
  • No duplicate requirement names

If no delta specs exist, skip merge step.

Step 4: Perform Archive

mkdir -p techneering/archive
mv techneering/changes/<name> techneering/archive/YYYY-MM-DD-<name>

If target archive already exists, report error and suggest renaming.

Step 5: Display Summary

## Archive Complete

**Change:** <change-name>
**Archived to:** techneering/archive/YYYY-MM-DD-<name>/
**Specs:** Synced to main specs (or "No delta specs" or "Sync skipped")

All artifacts complete. All tasks complete.

Red Flags

ThoughtReality
"Can archive even if not finished"Incomplete tasks must be warned and confirmed
"Delta merge errors don't matter"Merge conflicts corrupt the main spec — must stop
"Archive is just moving files"Archive = delta merge + verification + move, all required
"Skip verification to speed up"Unverified main spec may be structurally broken

Quick Reference

DimensionKey point
Core operationdelta spec merge → move into archive/
Merge orderRENAMED → REMOVED → MODIFIED → ADDED
Pre-checksartifact completeness + task completion
Exception handlingtarget missing → skip + warn / conflict → stop + report
Path placeholderAlways use techneering/changes/<name>/

Next Step

When done:

  • Normal case → done, Techneering workflow complete
  • Merge conflict found during archive → pause, report to user for manual handling
  • User requests stop → end the current flow

Guardrails

  • Always confirm with user if incomplete artifacts or tasks exist
  • Preserve .tn.yaml when moving to archive
  • Don't block archive on warnings — inform and confirm
  • Show clear summary of what happened
  • If delta spec merge encounters conflicts, stop and ask user
  • Unified path placeholder: always use techneering/changes/<name>/

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.