setup-doc-conventions
/setup-doc-conventions
Bootstrap doc-conventions in the current project: creates docs/templates/ (including dashboard.base), docs/dashboard.md, configures Obsidian, and appends a workflow section to CLAUDE.md. Use when the user says \"set up doc conventions\", \"bootstrap docs\", \"install doc-conventions\", or \"set up the docs folder\".
- Author
- mayank-io ↗
- Repository
- mstack ↗
- Licence
- MIT
- Last repository change
- 12.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 12.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Bootstrap doc-conventions in the current project: creates docs/templates/ (including dashboard.base), docs/dashboard.md, configures Obsidian, and appends a workflow section to CLAUDE.md. Use when the user says \"set up doc conventions\", \"bootstrap docs\", \"install doc-conventions\", or \"set up the docs folder\".
Triggers from the description
Original author description
Bootstrap doc-conventions in the current project: creates docs/templates/ (including dashboard.base), docs/dashboard.md, configures Obsidian, and appends a workflow section to CLAUDE.md. Use when the user says \"set up doc conventions\", \"bootstrap docs\", \"install doc-conventions\", or \"set up the docs folder\".
How it works
- 1. Create directory structure
- 2. Copy templates
- 3. Configure Obsidian
- 4. Update CLAUDE.md
- 5. Commit
- 6. Verify
SKILL.md preview
---
name: setup-doc-conventions
description: "Bootstrap doc-conventions in the current project: creates docs/templates/ (including dashboard.base), docs/dashboard.md, configures Obsidian, and appends a workflow section to CLAUDE.md. Use when the user says \"set up doc conventions\", \"bootstrap docs\", \"install doc-conventions\", or \"set up the docs folder\"."
---
Set up the doc-conventions system in this project. Follow these steps exactly:
## 1. Create directory structure
```bash
mkdir -p docs/templates
```
## 2. Copy templates
Copy all 10 doc type templates and dashboard.base from the dev plugin cache into `docs/templates/`:
- design.md, impl-plan.md, cutover-plan.md, analysis.md, report.md, postmortem.md, kb.md, ops-guide.md, playbook.md, experiment.md
- dashboard.base (Obsidian Bases views definition — stays in templates/)
Then copy dashboard.md into `docs/dashboard.md` (the entry point that transcludes named views from templates/dashboard.base).
Find the plugin cache at: `~/.claude/plugins/cache/mstack/dev/*/templates/`
```bash
PLUGIN_DIR=$(ls -d ~/.claude/plugins/cache/mstack/dev/*/templates/ 2>/dev/null | head -1)
if [[ -n "$PLUGIN_DIR" ]]; then
cp "$PLUGIN_DIR"/{design,impl-plan,experiment,cutover-plan,analysis,report,postmortem,kb,ops-guide,playbook}.md docs/templates/
cp "$PLUGIN_DIR/dashboard.base" docs/templates/dashboard.base
cp "$PLUGIN_DIR/dashboard.md" docs/dashboard.md
else
echo "Plugin cache not found. Copy templates manually."
fi
```
## 3. Configure Obsidian
If `docs/.obsidian/` exists, update `docs/.obsidian/app.json` to include:
```json
{
"templateFolder": "templates"
}
```
If `docs/.obsidian/` doesn't exist, create it:
```bash
mkdir -p docs/.obsidian
echo '{"templateFolder": "templates"}' > docs/.obsidian/app.json
```
Ensure the Templates core plugin is enabled in `docs/.obsidian/core-plugins.json`.
## 4. Update CLAUDE.md
Read the workflow section template from:
```bash
TMPL_DIR=$(ls -d ~/.claude/plugins/cache/mstack/dev/*/templates/ 2>/dev/null | head -1)
```
Append the contents of `$TMPL_DIR/claude-md-workflow-section.md` to the project's `CLAUDE.md`.
If CLAUDE.md doesn't exist, create it with just the workflow section.
## 5. Commit
```bash
git add docs/ CLAUDE.md
git commit -m "feat: set up doc-conventions (templates, dashboard, workflow)"
```
## 6. Verify
- Run `ls docs/templates/` — should show 10 template files + dashboard.base
- Run `cat docs/dashboard.md` — should show Obsidian transclusion links to dashboard.base views
- Run `cat docs/templates/dashboard.base` — should show Obsidian Bases view definitions
- Open docs/ in Obsidian — dashboard.md should render with tabbed views, templates should be available
Note: Hooks are registered automatically by the dev plugin via `hooks.json`. No project-level hook configuration is needed.
Versions
The database has no other skills named setup-doc-conventions.
Database snapshot: 13.11.2026 · package version fc45da817d49 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100route-docs
Change where project documentation is stored — local files, Obsidian vault, Notion workspace, or a per-type split — and regenerate the doc scaffold to match. TRIGGER when the user says "change doc routing", "switch docs to Obsidian", "move docs to Notion", "route docs locally",… - 100pm
Obsidian Workspace PM — tasks and documents in your Obsidian vault. Triggers on task/doc lifecycle requests ("add a task", "create a doc", "archive X", "list in-progress tasks", "refresh dashboard", "split this spec into tickets") and via `/obw:pm`. Requires `.obsidian.yaml`… - 85write-the-docs
Write or edit project documentation. Use when writing a README, design doc, or module doc. - 100setup-project
Scaffolds a project with the Claude Agent Pack structure: copies CLAUDE.md (the consumer block, from docs/CLAUDE.template.md), docs/CONVENTIONS.md (from template), docs/MEMORY-WRITING.md, and creates the memory/ subdirectories. Runs scripts/setup-project.sh and guides the user… - 100skill-doc-sync
Post-ship doc sync across project markdown. Use when: sync docs, update docs, document changes, release notes. - 90update-doc
Update an existing doc file in .chalk/docs/ when the user asks to update, edit, or revise documentation