agentleFS
kv0906kv0906/pm-kit/.claude/skills/vault-ops/SKILL.md

vault-ops

Skill138 starsChanged 8 months agoMITView on GitHub

Core vault file operations — read/write notes, manage wiki-links, process templates with Handlebars syntax, enforce naming conventions. Auto-invoked for all file operations.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check if note already exists (naming-as-API enables fast lookup)

    line 47
  2. Distinctive:

    Add YAML frontmatter with type, project, status, date, tags

    line 50
  3. Distinctive:

    Write to correct folder per naming convention

    line 52
  4. Distinctive:

    Use consistent heading hierarchy

    line 57
  5. Distinctive:

    When processing templates, replace Handlebars syntax:

    line 70
  6. Distinctive:

    All notes require frontmatter:

    line 79

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

Vault Operations Skill

Core operations for reading, writing, and managing files in a PM-Kit vault.

Vault Structure

pm-kit/
├── CLAUDE.md           # Vault context (read first)
├── _core/              # config.yaml, MANIFESTO.md, PROCESSING.md
├── _templates/         # Note templates (ALWAYS USE)
├── 00-inbox/           # Unprocessed captures
├── 01-index/           # Project MOCs
├── daily/              # YYYY-MM-DD.md (multi-project)
├── docs/{project}/     # PRDs, specs
├── decisions/{project}/ # Decision records
├── blockers/{project}/  # Active blockers
├── meetings/           # Meeting notes
├── reports/            # Generated reports
│   └── previews/       # HTML previews (/preview, /report --preview)
└── _archive/           # Archived by YYYY-MM/

Naming Conventions (Naming-as-API)

Strict filename patterns enable glob queries without a database:

TypePatternExample
Dailydaily/YYYY-MM-DD.mddaily/2026-01-15.md
Docdocs/{project}/{slug}.mddocs/project-a/checkout-flow.md
Decisiondecisions/{project}/YYYY-MM-DD-{slug}.mddecisions/project-a/2026-01-15-auth-approach.md
Blockerblockers/{project}/YYYY-MM-DD-{slug}.mdblockers/project-a/2026-01-15-api-rate-limit.md
Meetingmeetings/YYYY-MM-DD-{type}-{slug}.mdmeetings/2026-01-15-sync-sprint-review.md
Inbox00-inbox/YYYY-MM-DD-{slug}.md00-inbox/2026-01-15-quick-thought.md
Index01-index/{project}.md01-index/project-a.md

File Operations

Creating Notes

  1. Check if note already exists (naming-as-API enables fast lookup)
  2. Load appropriate template from _templates/
  3. Replace template variables (Handlebars syntax)
  4. Add YAML frontmatter with type, project, status, date, tags
  5. Insert wiki-links to related notes
  6. Write to correct folder per naming convention

Editing Notes

  • Preserve YAML frontmatter structure
  • Maintain existing wiki-links
  • Use consistent heading hierarchy
  • Apply standard tag format

Wiki-Link Format

[[Note Name]]                    # Simple link
[[Note Name|Display Text]]       # Link with alias
[[Note Name#Section]]            # Link to heading
[[folder/Note Name]]             # Link with path

Template Variables

When processing templates, replace Handlebars syntax:

  • {{date}} → Today's date (YYYY-MM-DD)
  • {{project}} → Project ID
  • {{project_name}} → Project display name
  • {{title}} → Note title
  • {{slug}} → URL-safe slug

YAML Frontmatter

All notes require frontmatter:

---
type: [daily|doc|decision|blocker|meeting|inbox|index]
project: {project-id}
status: {per note_types in config.yaml}
date: YYYY-MM-DD
tags: []
---

Auto-Linking Rules

FromLinks To
Daily (blocked item)blockers/{project}/
Meetingdecisions/{project}/, blockers/{project}/
Decisiondocs/{project}/
Docdecisions, blockers

Archive Rules

Move to _archive/YYYY-MM/ when:

  • Blocker status → resolved
  • Doc status → shipped
  • Decision status → superseded

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.