doc-init
Set up a lightweight project documentation system — worklog (transient notes) plus refs (curated docs).
Skill by blakesims
Chalk Labs
Need help deploying doc-init?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/blakesims-doc-init
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/doc-init
What's inside
- Skill name
doc-init- Description
- Set up a lightweight project documentation system — worklog (transient notes) plus refs (curated docs). Discovers existing conventions, adapts defaults to project maturity, installs a note-creation script and a .notes-config.yml.
- License
- MIT
- Instructions
- 233 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (5)
- SKILL.md
- config-template.yml · assets/
- new-note.sh · assets/
- refs-claude.md · assets/
- worklog-claude.md · assets/
SKILL.md (first lines)
# Documentation System Init
Set up a low-friction, agent-safe documentation system for this project. Three layers:
- **Worklog** — transient chronological notes, created via a script, auto-named
- **Refs** — curated durable docs (ADRs, PRDs, API refs, domain maps), hand-maintained
- **Summaries** — daily/weekly rollups, written by `/task-workflow:doc-sweep`
The system lives in `.notes-config.yml` at project root plus a `new-note.sh` script. Global skills (`/task-workflow:doc-new-note`, `/task-workflow:doc-sweep`) read the config to behave correctly per project. There are no per-project skill copies.
## Important context
This init is LLM-driven on purpose. A generic scaffold can't know that this particular project already has (for example) `docs/features/inbox/` or a `check-feedback` skill that feeds triage artifacts. Do reconnaissance first. Let what you find inform defaults and integrations. Don't paint a generic tree on top of real existing structure.
## Phase 1 — Reconnaissance
Before asking anything, scan the project. This is quick discovery, not deep analysis.
1. **Already initialized? Be convergent.** If `.notes-config.yml` exists at project root, read it. **Do not bail out.** Instead, recon the project afresh and compute the delta — what's changed since the last init run? Examples:
- Config says `refs_dir: docs/refs/` but `docs/adr/` now exists with 6 ADRs → propose moving refs_dir.
- `tasks/` didn't exist at last init but does now → propose wiring task-completion integration.
- Granularity is `flat` but the worklog now has 140 notes → propose upgrading to `weekly`.
- A project-local skill was added that produces artifacts → propose wiring it.
- Worklog script is stale vs the latest `${CLAUDE_PLUGIN_ROOT}/skills/doc-init/assets/new-note.sh` → offer to refresh.
Present findings and proposed deltas. AskUserQuestion: **Apply changes / Reconfigure from scratch / Nothing to change**. On "nothing to change", exit cleanly. On "from scratch", proceed through the whole flow but preserve existing worklog contents.
2. **Project identity**: dir name, root `CLAUDE.md` if present. Read it — note any existing doc/task conventions or project rules.
3. **Existing doc locations**: check for `docs/`, `notes/`, `research/`, `worklog/`. For each, capture:
- Subdirectories (e.g. `docs/adr/`, `docs/features/done/`, `docs/architecture/`, `docs/decisions/`, `docs/refs/`, `docs/specs/`) and rough file counts.
- Any CLAUDE.md files inside.
- Naming conventions in each subdirectory — are files date-prefixed (transient), numbered like `F001-*`/`ADR-001-*` (durable), or free-form?
Durable-doc directories (curated, non-transient) are candidates for `refs_dir` — Phase 2 uses this inventory.
4. **Task system**: a bare `tasks/` directory is not enough — it could be runtime state (e.g. Claude Code's task-tool stores UUIDs there). Require *project-task-system* evidence:
- `tasks/CLAUDE.md` exists, **or**
- `tasks/global-task-manager.md` / `tasks/GTM.md` / similar, **or**
- `tasks/active/TXXX-*/main.md` or `tasks/planning/TXXX-*/` pattern, **or**
- any directly-authored markdown task docs.
If none of those signals are present (e.g. `tasks/` contains only UUIDs or opaque runtime subdirs), skip task integration entirely and do not mention it in Phase 2 proposals.
5. **Project-local skills**: list `.claude/skills/` (if present). For each skill, read the frontmatter `description` to understand what it does. Pay attention to ones that create artifacts (feedback triage, bug reports, feature specs, incident notes) — these are integration candidates.
6. **Hooks**: glance at `.claude/settings.json` for existing hooks relevant to docs.
7. **Project size/age**: `git log --oneline | wc -l`, first commit date, last commit date. Use to size the system.
8. **Version control**: `test -d .git`. Note if not a git repo.
Present findings to the user in 5-10 lines. Example shape:
> Found:
> - Project: `expenses-app` — 3 months old, 187 commits
> - Docs: `docs/features/inbox/` (existing feature spec system)
> - Tasks: none
> - Local skills: `check-feedback` (triages voice feedback from the mobile app)
> - Hooks: none relevant
>
> Proposed setup:
> - Worklog at `docs/worklog/` alongside existing `docs/features/`
> - Daily granularity, daily summaries
> - Refs at `docs/refs/` for future ADRs
> - Integration: `check-feedback` could append triage notes to today's worklog
>
> Proceed with defaults, customise, or architect?
## Phase 2 — Propose a shape
Default rules (use unless recon suggests otherwise):
**Worklog location**: reuse existing `docs/` if present; otherwise create `docs/worklog/`. Never collide with existing content.
**Refs location**: detect existing durable-doc directories before creating a new one.
- Scan `docs/` for subdirectories containing ≥3 markdown files that are **not** date-prefixed (i.e. curated, not transient). Candidates include `docs/adr/`, `docs/architecture/`, `docs/decisions/`, `docs/features/done/`, `docs/refs/`, `docs/specs/`.
- **One match** → propose it as `refs_dir`. Don't create a parallel empty `docs/refs/`.
- **Multiple matches** → ask which (or store multiple, comma-separated, if the user wants).
- **No matches** → default to `docs/refs/`. Skip entirely if the project is <1 month old and has no durable docs yet.
**Granularity**:
- <1 month old, <50 commits → `flat`
- 1-6 months → `daily`
- 6+ months or 500+ commits → `weekly`
**Summary cadence**:
- `flat` → `none` (project is small enough that git log + STATUS.md suffice)
- `daily` → `daily`
- `weekly` → `daily+weekly`
Cadence options: `none` / `daily` / `weekly` / `daily+weekly`. `weekly`-only is for long-running projects with modest daily volume — `/task-workflow:doc-sweep` runs at week-end (Friday or Sunday) and rolls up the week without daily summaries.
**Integrations**: propose one per genuinely relevant existing artifact producer you found in recon. Don't invent integrations — only propose wiring for things you actually saw.
Use `AskUserQuestion` with three choices: Quick Start / Customise / Architect.
## Phase 3 — Interview (level-gated)
### Quick Start
No questions. You already confirmed with them in Phase 2. Go to Phase 4.
### Customise
Batch into a single `AskUserQuestion` call (skip any already answered by recon):
1. Worklog directory (free text, default from recon)
2. Granularity — `flat` / `daily` / `weekly`
3. Summary cadence — `none` / `daily` / `weekly` / `daily+weekly`
4. Include refs directory (`yes` / `no`)
5. If `tasks/` exists: wire task-completion notes (`yes` / `no`)
### Architect
All Customise questions, plus:
- Template overrides (custom headings for note / summary / weekly-summary)
- Hooks via `update-config` skill — e.g. on-stop reminder to sweep, on-task-complete note creation
- Integrations list — confirm each one you proposed and allow the user to reject or add
- `week_style` (iso is the only supported value for now; note if the user wants engagement-relative weeks so it can be added later)From blakesims/task-workflow-plugin, MIT.
More from blakesims/task-workflow-plugin
- 0.524score
doc-new-note
blakesims
Use when asked to create a "new note", "daily summary", "worklog entry", "weekly summary", or similar, in a project that has a worklog system…
SkillBFreshness: BClaude Code +9 - 0.524score
intent-harden
blakesims
Stress-test and tighten an Intent Contract before planning.
SkillBFreshness: BClaude Code +9 - 0.524score
cca-task-shape
blakesims
Shape a real task before execution.
SkillBFreshness: BClaude Code +9 - 0.521score
task-start
blakesims
Run the task-workflow development cycle — Intent Contract, routing, reviewed phased execution — whenever the user asks to use the task workflow or task system…
SkillBFreshness: BClaude Code +9 - 0.521score
investigation-review
blakesims
Independently review a debugging conclusion against risk-critical evidence; return PASS or REVISE with concrete numbered blockers, separate from suggestions.
SkillBFreshness: BClaude Code +9 - 0.521score
linear-independence
blakesims
Use whenever you are presenting the user with questions or options to reduce cognitive load and complexity.
SkillBFreshness: BClaude Code +9 - 0.521score
scientific-method
blakesims
Use hypothesis-driven investigation when uncertainty could change a conclusion or safety decision.
SkillBFreshness: BClaude Code +9 - 0.521score
doc-sweep
blakesims
End-of-day synthesis — reads today's worklog notes, resolves cross-note tensions, and fills today's daily summary.
SkillBFreshness: BClaude Code +9 - 0.520score
task-management-init
blakesims
Set up the lightweight tasks/ management system in a project — directory structure, tasks/CLAUDE.md procedures, global task manager, and main.md template.
SkillBFreshness: BClaude Code +9 - 0.518score
task-workflow
blakesims
Shared task ledger, gate, artifact, and Git-safety contract for the canonical task-start workflow.
SkillBFreshness: BClaude Code +9 - 0.518score
audit-rules
blakesims
Audits CLAUDE.md files to suggest high-signal, concise rules based on recent changes or a general audit.
SkillBFreshness: BClaude Code +9 - 0.513score
mockups
blakesims
create quick mockups of frontend design for fast iteration.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 29, 2026 (2 months ago)
- Last release
- Sep 14, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from blakesims
- 0.524score
cca-task-shape
blakesims
Shape a real task before execution.
SkillBFreshness: BClaude Code +9 - 0.524score
doc-new-note
blakesims
Use when asked to create a "new note", "daily summary", "worklog entry", "weekly summary", or similar, in a project that has a worklog system…
SkillBFreshness: BClaude Code +9 - 0.524score
intent-harden
blakesims
Stress-test and tighten an Intent Contract before planning.
SkillBFreshness: BClaude Code +9 - 0.521score
investigation-review
blakesims
Independently review a debugging conclusion against risk-critical evidence; return PASS or REVISE with concrete numbered blockers, separate from suggestions.
SkillBFreshness: BClaude Code +9 - 0.521score
doc-sweep
blakesims
End-of-day synthesis — reads today's worklog notes, resolves cross-note tensions, and fills today's daily summary.
SkillBFreshness: BClaude Code +9 - 0.521score
linear-independence
blakesims
Use whenever you are presenting the user with questions or options to reduce cognitive load and complexity.
SkillBFreshness: BClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get doc-init running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
doc-init skill. Agent Mart. https://agentmart.dev/skills/blakesims-doc-init (last updated 2026-10-24)