# Planning in Markdown

These are reusable instructions for keeping project plans beside the code. A
person can read and arrange the work in Obsidian; a coding agent can read and
update the same Markdown files.

## Use the files

1. Merge the conventions in [AGENTS.md](AGENTS.md) into the instruction file your
   coding agent reads for the repository. Keep your existing instructions. If
   you already have a planning vault, adjust the paths consistently instead of
   creating a second one.
2. Copy the `obsidian-plan/` and `obsidian-prune/` folders into your chosen
   agent's skill directory, following that tool's own setup instructions. Each
   folder contains a file named **SKILL.md**. There is no combined `SKILLS.md`.
   You can also give these files directly to an agent as task instructions.
3. Ask the agent to use `obsidian-plan` to plan a concrete feature. It creates
   the `planning/` vault, a project folder, a board, and a note beside the board
   saying what the project is for — a Kanban board cannot hold that text itself,
   and a client that shows a list's description reads it from that note. Open
   `planning/` itself as a vault in Obsidian.
4. Enable the Kanban community plugin in that vault to arrange board cards
   visually. Repeat this setup for each separate vault; a repository's
   `planning/` folder is its own vault in this layout. A client that writes
   through Obsidian's REST API also needs Local REST API enabled in the same
   vault and configured using that client's connection instructions.
5. Work from the phase cards, then use `obsidian-prune` to reconcile progress,
   check what is actually complete and update the current requirements.

The plain-file workflow needs neither plugin nor an API connection. An agent
with access to the repository can edit the Markdown directly. Git can track the
plans with the code, so a diff shows both the implementation and the reason for
it. Add `planning/.obsidian/` to the repository’s `.gitignore` in this starter
setup; it contains local workspace and plugin settings, including API
configuration. Install and configure the plugins separately in each vault. Use your usual review and commit workflow; an audit does not publish changes.

## What is included

- [AGENTS.md](AGENTS.md): layout, document formats and shared board rules.
- [obsidian-plan/SKILL.md](obsidian-plan/SKILL.md): research a feature and turn it
  into executable, verifiable phases.
- [obsidian-prune/SKILL.md](obsidian-prune/SKILL.md): audit progress, reconcile
  boards and maintain requirements.

This is a simplified adaptation of a larger repository workflow. It includes
no board-sync scripts, automatic file watchers or folder-moving machinery.
Project folders and filenames stay put; status is recorded in frontmatter.
The agent updates boards from the phase files while preserving the order you
gave cards within each lane. This happens when the workflow runs, not
continuously in the background.

Ticking a board card alone does not prove a phase is done. The audit checks the
phase's acceptance evidence. Human verification stays pending until a person
records the result; a passing test suite cannot stand in for that sign-off.
