Skip to content

docs: rewrite the README for people using Pilot - #62

Merged
ragilhadi merged 1 commit into
feat/configurable-command-environmentfrom
docs/user-focused-readme
Aug 14, 2026
Merged

docs: rewrite the README for people using Pilot#62
ragilhadi merged 1 commit into
feat/configurable-command-environmentfrom
docs/user-focused-readme

Conversation

@ragilhadi

Copy link
Copy Markdown
Owner

Closes #56. Stacked on #61 — review that one first; this diff is against its branch.

The broken link

/docs/ is gitignored ("Internal planning/spec docs — not part of the published project"), so docs/user-guide.md exists on the author's machine and nowhere a reader can reach. That is why the link resolved for whoever wrote it and 404s for everyone else.

The same bug turned up a second time: packages/lsp/README.md linked ../../docs/decisions/0009-language-server-diagnostics.md, which ships to npm with that package. Both links are gone, and the details worth keeping are inlined — the skill manifest fields and what each permission field can and cannot do, the .pilot/skills / .pilot/prompts layout, and the /skill NAME and /prompt NAME arguments flows. The lsp README already explains its own reasoning under "Design notes".

The README

Rewritten for someone who wants to use Pilot: install → quick start → a command table → what a chat session gives you (@ mentions, slash commands, approvals, scrolling, display modes) → configuration, one feature at a time.

Building from source, the test commands, and the release process moved to a new CONTRIBUTING.md rather than being deleted — the release process in particular (lockstep versions, the pilot-vX.Y.Z tag contract, what release.yml verifies) exists nowhere else. Say the word if you'd rather it were dropped entirely.

Three factual corrections found while rewriting:

  • pilot doctor does not check ripgrep or model reachability — it checks configuration, Node, Git, shell, provider credentials, the database, the workspace, and language servers.
  • pilot instructions takes an optional path and defaults to the workspace root.
  • Added pilot chat --session <id>, which the README never mentioned.

Keeping it from happening again

scripts/check-links.mjs runs as part of pnpm check (so, in CI) and fails on any relative Markdown link that doesn't resolve to a file a reader will receive. It asks git what it tracks rather than the filesystem what exists — a file being present locally is exactly what hid this bug — and accepts a target that is present and not ignored, so a link and its target can land in the same commit.

I verified it against the real thing: re-adding the original ./docs/user-guide.md link makes it fail, and the tree passes without it.

pnpm check clean, 953 tests passing.

🤖 Generated with Claude Code

The README's skills section ended by linking `./docs/user-guide.md`, which 404s
for every reader: `/docs/` is gitignored as internal planning material, so the
guide exists on the author's machine and nowhere else. `packages/lsp/README.md`
had the same problem pointing at `docs/decisions/0009-...`, which ships to npm.

Both links are gone and the content that mattered is inlined: the skill manifest
fields and what each permission field can and cannot do, the `.pilot/skills` and
`.pilot/prompts` layout, and the `/skill` and `/prompt` flows.

The README is now written for someone who wants to use Pilot rather than build
it. Install, quick start, a command table, what a chat session gives you, then
configuration one feature at a time. Building from source, the test commands,
and the release process moved to CONTRIBUTING.md rather than being deleted.

A few corrections while rewriting: `pilot doctor` does not check ripgrep or
model reachability, and `pilot instructions` takes an optional path.

`scripts/check-links.mjs` runs in `pnpm check` and fails on a relative Markdown
link that does not resolve to a published file. It asks git what it tracks
rather than the filesystem what exists, because a file being present locally is
exactly what hid this bug — verified against the original broken link.

Closes #56

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@ragilhadi
ragilhadi merged commit 31bcbe6 into master Aug 14, 2026
7 checks passed
@ragilhadi
ragilhadi deleted the docs/user-focused-readme branch August 14, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] README links to docs/user-guide.md, which does not exist

1 participant