cygnusfear/claude-stuff/obsidian-plan-wiki

Claude Code and agent skill by cygnusfear/claude-stuff

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Create and manage behavior specification wikis in Obsidian format. Use when creating specs, documenting features, or when user mentions "wiki", "spec", "feature", or "Obsidian".

Install

npx vskill@latest install cygnusfear/claude-stuff/obsidian-plan-wiki

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

Obsidian Spec Wiki

Create and manage specification wikis as Obsidian-compatible markdown. Feature areas capture both what the system does (specs) and how to build it (plans).

Change Tracking (No LWW)

There is no LWW model. Specs, plans, and code are updated intentionally and together.

Required change workflow:

  1. Open or reference a tk ticket (https://github.com/wedow/ticket).
  2. Update the relevant feature spec/plan.
  3. Update the code.
  4. Add a changelog entry via tinychange.
  5. Link the tk ticket and feature ID in the changelog entry or spec note.

ADRs: Store decisions in docs/reference/decisions/ with Johnny Decimal IDs. Track updates like any other change.

When to Use

  • Creating new project specs or documentation
  • Working with existing wikis using the open-questions format: %% πŸ™‹β€β™‚οΈ ... %% / %% πŸ€– ... %%
  • User mentions "wiki", "spec", "feature", or "Obsidian"
  • Need to document behavior for agent-driven code updates

One-Shot Usage (LLM Quickstart)

When asked to use this skill, follow this sequence in a single pass:

  1. Read docs/AGENTS.md (and docs/handbook/README.md if present).
  2. Identify the structure: features/ or workstreams/ (treat workstreams as feature areas).
  3. Use Johnny Decimal with two-digit decimals (NN.NN).
  • If the human gives you only an ID like 20.01 (or 2001), treat it as a handbook lookup: locate and read the matching handbook doc and follow it.
  1. Apply the open-questions format with πŸ™‹β€β™‚οΈ/πŸ€–/βœ… and block IDs.
  2. Record changes via tk and tinychange (merge to docs/changelog.md).

Wiki Discovery

Check for existing wiki in order:

  1. docs/ - Primary location
  2. docs/wiki/ - Nested variant
  3. wiki/ - Root alternative
  4. .plans/*/ - Legacy support

First match wins. Always use `docs/` for new wikis.

Directory Structure

docs/
β”œβ”€β”€ README.md # Index with feature table (Johnny Decimal)
β”œβ”€β”€ CLAUDE.md # Symlink β†’ AGENTS.md
β”œβ”€β”€ AGENTS.md # Actual agent instructions
β”œβ”€β”€ changelog.md # Keep a Changelog format (generated via tinychange)
β”œβ”€β”€ handbook/ # Process/tooling docs (Johnny Decimal)
β”‚ β”œβ”€β”€ 10-docs/ # Documentation workflows
β”‚ β”œβ”€β”€ 50-testing/ # Testing workflows and verification
β”‚ └── 80-agent-behaviour/# Agent autonomy and behaviour rules
β”œβ”€β”€ plans/ # Timestamped design/implementation plans (optional)
β”‚ └── AGENTS.md # Naming/quality rules for plans
β”œβ”€β”€ postmortems/ # Incident postmortems and learnings
β”‚ └── AGENTS.md # Naming/structure rules for postmortems
β”œβ”€β”€ reference/ # Architecture + research (Johnny Decimal)
β”‚ └── decisions/ # ADRs (Johnny Decimal IDs)
β”œβ”€β”€ features/ # OR workstreams/ (treat as feature areas)
β”‚ └── NN-name/ # Johnny Decimal area (10-19, 20-29, ...)
β”‚ β”œβ”€β”€ README.md # Area summary + feature tables
β”‚ β”œβ”€β”€ AGENTS.md # Optional: area-specific agent rules
β”‚ β”œβ”€β”€ NN.NN-spec.md # Feature specs (what)
β”‚ └── NN.NN-plan.md # Implementation plans (how)
└── research/ # Oracle outputs (frozen)

CLAUDE.md vs AGENTS.md convention:

  • CLAUDE.md = symlink to AGENTS.md (NOT a file containing @AGENTS.md)
  • AGENTS.md = actual agent instructions and wiki operations

Why symlink? The @filename convention in file contents causes some tools to ignore the file entirely. A symlink ensures CLAUDE.md is always read as the actual AGENTS.md content.

Key concepts:

  • Feature areas = Johnny Decimal functional areas (not temporal phases). Treat everything as a feature (product, infra, tooling, docs)
  • Specs = behavior documents (what the system does)
  • Plans = implementation documents (how to build it)
  • Research = Oracle/Delphi outputs (frozen snapshots)

Plan locations (both valid):

  • Feature-scoped plans live with the feature: docs/features/NN-area/NN.NN-*-plan.md
  • Cross-cutting or timestamped plans live in docs/plans/YYYY-MM-DD-HHMM-topic.md (recommended when the plan touches many areas/files)

Codebase AGENTS.md (Required)

Every top-level code or source folder must include an AGENTS.md that explains:

  • The folder's purpose
  • Feature area IDs it implements (link to docs/features/)
  • Boundaries (what does NOT belong here)
  • Primary entry points and tests

Core Principles

1. Progressive Disclosure

Load only what's needed:

User asks about auth β†’ Read features/10-core/README.md
User asks about login β†’ Read features/10-core/10.01-auth-spec.md
User asks for overview β†’ Read README.md only

Load only what each task requires.

2. Johnny Decimal Structure

Organize features, handbook, and reference docs using Johnny Decimal (johnnydecimal.com).

Hard rules (avoid drift):

  • Use two-digit decimals everywhere: NN.NN (NOT NN.N, NOT NN, NOT 01 without .01).
  • Features: folder docs/features/NN-name/, files NN.NN-*-spec.md and NN.NN-*-plan.md.
  • Handbook: folder docs/handbook/NN-area/, files NN.NN-topic.md.
  • Reference: folder docs/reference/NN-area/, files NN.NN-topic.md.

Johnny lookup flow (common):

  • If the human says 20.01 (or 2001) with no other context, interpret it as "open handbook section 20.01".
  • Locate it by filename prefix (do not guess the topic slug):
  • docs/handbook/**/20.01-*.md
  • If multiple matches exist, pick the closest match by area/README context and link to the others.

Example:

docs/features/10-core/
β”œβ”€β”€ README.md
β”œβ”€β”€ 10.01-auth-spec.md
└── 10.01-auth-plan.md

Example handbook/reference naming:

text
docs/handbook/20-git/
β”œβ”€β”€ 20.01-methodic-rebase-merge.md
└── 20.04-post-merge-hygiene.md
docs/reference/01-design/
β”œβ”€β”€ 01.07-game-design.md
└── 01.16-ticket-metadata-audit.md

Johnny decimal drift to watch for:

  • Feature specs named 10.01 but reference docs named 01 (missing decimals) β†’ fix reference docs to 01.NN-*.
  • Inconsistent padding (1.01 vs 01.01) β†’ always pad to 2 digits.

Migration: fixing `01`-only reference files:

  1. Create a tk ticket for the migration (renames touch many links).
  2. Rename files to NN.NN-topic.md (choose an unused .NN in that area).
  3. Update all Obsidian wiki links ([[...]]) that referenced the old filename/path.
  4. Add tinychange -k docs entry for the rename.

Migration rule: If you rename docs for Johnny compliance, update all wiki links, record a tk ticket, and add a tinychange entry (usually docs kind).

Quick audit (optional):

bash
# Find reference/handbook files missing an NN.NN prefix (heuristic)
rg --files docs/reference docs/handbook | rg -v "/[0-9]{2}\.[0-9]{2}-"
# Find feature docs missing an NN.NN prefix (heuristic)
rg --files docs/features | rg -v "/[0-9]{2}\.[0-9]{2}-"
3. Wiki Links Everywhere

All references use [[wiki-links]]. Broken links = sync signal.

markdown
[[features/10-core/10.01-auth-spec|Login Flow]]
[[reference/architecture#auth-middleware|Auth Middleware]]
4. Task Tracking with Obsidian Comments

Track open questions using hidden comments with emoji prefixes and block references. Multi-line is allowed if it improves readability.

markdown
%% πŸ™‹β€β™‚οΈ Human question/task %% ^q-scope-descriptor
%% πŸ€– Agent question waiting on human %% ^q-scope-question
%% βœ… Question here β†’ Answer here %% ^q-scope-resolved

CRITICAL: Separate each question with a blank line. Obsidian treats consecutive lines as a single block; only the last block ID works.

Format components:

  • πŸ™‹β€β™‚οΈ = human wrote this β†’ AGENTS SHOULD ACTION/ANSWER
  • πŸ€– = agent wrote this β†’ AGENTS MUST SKIP (waiting for human)
  • βœ… = resolved β†’ no action needed
  • ^q-{scope}-{descriptor} = block ID for Obsidian navigation

WHO ANSWERS WHAT:

EmojiWho wrote itWho should answer/action
πŸ™‹β€β™‚οΈHumanAgent (this is work for you!)
πŸ€–AgentHuman (skip this, you asked it)
βœ…ResolvedNo one

Conversation threading: Questions can have inline replies. The LAST emoji determines whose turn:

%% πŸ€– Should we cache? πŸ™‹β€β™‚οΈ yes πŸ€– what limit? %% ^q-cache

Last emoji is πŸ€– β†’ Human's turn. When βœ… β†’ Done.

Block ID convention: ^q-{scope}-{descriptor}

  • ^q-auth-oauth (auth feature, OAuth question)
  • ^q-tabs-persist (tabs feature, persistence question)

Workflow:

  • Agent adds πŸ€– question β†’ human answers (agent skips these)
  • Human answers β†’ convert to πŸ™‹β€β™‚οΈ (now actionable by agent) or βœ… (resolved)
  • Human adds πŸ™‹β€β™‚οΈ task β†’ agent should action this
  • Resolved format: %% βœ… question β†’ answer %% ^q-id

Linking to questions:

markdown
[[features/10-core/10.01-auth-spec#^q-auth-oauth|OAuth question]]

Search in Obsidian: Search for the emoji.

Find via terminal:

bash
rg "πŸ™‹β€β™‚οΈ" docs/ # human tasks
rg "πŸ€–" docs/ # agent questions
rg "βœ…" docs/ # resolved
rg "%% .*%%$" docs/ # missing block IDs (lines ending with %%)

Agent responsibility: Add block IDs to any question missing one. Generate the ID from the file's feature/spec and the question topic:

%% πŸ€– how to handle OAuth? %% β†’ missing block ID
%% πŸ€– how to handle OAuth? %% ^q-auth-oauth β†’ fixed
5. Changelog Protocol

Update changelog.md via tinychange. Do not hand-edit.

Setup (once):

bash
tinychange init

Add entry (interactive):

bash
tinychange

Add entry (scripted β€” preferred for agents):

bash
tinychange -I new -k <fix|test|chore|security|feat|docs|refactor|perf> -m "Your change message" -a AUTHOR

Include the tk ticket ID in the message when available (e.g., "t-9cdc: Add feature X").

Merge entries into docs/changelog.md:

bash
tinychange merge

Ensure tinychange.toml points to docs/changelog.md and uses Keep a Changelog format.

6. Task Tracking with tk

All non-trivial work is tracked via tk (https://github.com/wedow/ticket). A tk ticket is the execution-level unit of work.

Small-change exemption (all must be true): one file, 10 lines or fewer (excluding whitespace-only), and docs-only or comment/typo-only changes. Otherwise, create a ticket.

One-liner to create + start + template a ticket:

bash
ID=$(tk create "Short description of work" -t task -p 1 --tags tag1,tag2 -d "Longer description") && tk start $ID && printf '\n## Goal\nWhat outcome must be achieved.\n\n## Acceptance Criteria\n- [ ] Observable completion conditions\n\n## Verification\n- [ ] Commands, checks, or manual steps\n\n## Worktree\n- .\n' >> .tickets/$ID.md

Ticket body template:

markdown
## Goal
What outcome must be achieved.
## Scope
What is included.
## Out of Scope
What is explicitly excluded.
## Acceptance Criteria
-[ ] Observable completion conditions.
## Verification
-[ ] Commands, checks, or manual steps.
## Risks
-[ ] Risk and mitigation.
## Related Files
-`path/to/file`
## Links
-[label](url)
## Worktree
-`.` or `.worktrees/the-tree`

Lifecycle:

  • tk create β†’ tk start <id> β†’ work β†’ tk close <id> before committing
  • Include ticket IDs in spec/plan headers and in tinychange messages
  • tk list to see open tickets, tk list --status closed for closed

Linking conventions:

  • Spec header includes related tk ticket IDs
  • tinychange messages include tk ID (e.g., t-9cdc: add salvage system)

Templates

Spec File Template
markdown
# NN.NN Spec Name
> **Feature Area:** [[../README|NN-Feature-Area-Name]]
> **Feature ID:** NN.NN
> **Ticket:** tk-000 (optional)
## Behavior
### Contract
-**Input:** description
-**Output:** description
-**Preconditions:** what must be true before
-**Postconditions:** what will be true after

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
3
Repository forks
1
7-day trend score
7

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 28 Mar 2026, 8 months ago.

Extension points

  • pluginCustom plugin integration

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cygnusfear/claude-stuff/obsidian-plan-wiki/badge)](https://verified-skill.com/skills/cygnusfear/claude-stuff/obsidian-plan-wiki)

Something wrong with this skill or its page? Tell us.