Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
hyf0 avatar

Pcr Setup

  • 16 installs
  • 70 repo stars
  • Updated July 25, 2026
  • hyf0/project-context-records

Adopt Project Context Records (PCR) in a project by inserting the PCR block into AGENTS.md/CLAUDE.md and creating the records folder, idempotently.

About

Sets up Project Context Records (PCR) in the current project by adding the canonical PCR adoption block to the project's agent-instructions file and creating the records folder, updating an older block in place if present. A developer uses it to install or update PCR support in a repo.

  • Idempotently appends or updates the PCR block in AGENTS.md or CLAUDE.md
  • Creates the .agents/docs records folder (or a user-named folder)

Pcr Setup by the numbers

  • 16 all-time installs (skills.sh)
  • Ranked #1,053 of 1,879 Documentation skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/hyf0/project-context-records --skill pcr-setup

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs16
repo stars70
Last updatedJuly 25, 2026
Repositoryhyf0/project-context-records

What it does

Adopt Project Context Records (PCR) in a project by inserting the PCR block into AGENTS.md/CLAUDE.md and creating the records folder, idempotently.

Files

SKILL.mdMarkdownGitHub ↗

pcr-setup

Adopt Project Context Records (PCR) in the current project: put the PCR adoption block into the project's agent-instructions file and create the records folder. Methodology: https://github.com/hyf0/project-context-records

Do this directly with your file tools — it is a few small, reliable edits, no script needed.

Steps

  • [ ] 1. Find the project root (the git root, else the current directory).
  • [ ] 2. Ensure the records folder exists — .agents/docs/ by default (create it

if missing). If the user named a different folder, use that.

  • [ ] 3. Choose the agent-instructions file:
  • AGENTS.md exists → use it.
  • else CLAUDE.md exists → use it (respect the project's existing setup).
  • else → create AGENTS.md.
  • [ ] 4. Look for an existing PCR block — a ## Project Context Records (PCR)

heading through the end of its Provenance bullet — and compare it to the canonical block below:

  • Not present → append the canonical block (one blank line before it if the

file is non-empty).

  • Present and identical → nothing to do; tell the user PCR is already up to date.
  • Present but different (an older version) → replace the existing block in

place with the canonical block. Re-running the skill this way is how a project gets updated to the latest block.

  • [ ] 5. If a non-default records folder is used, replace .agents/docs/ in the

block with it.

  • [ ] 6. Tell the user in one or two lines what changed, and that they can now keep

records under the folder and vouch a line or a whole file with [VOUCHED @<their-handle>] — a stamp counts only when a human adds it explicitly.

The block to inject

## Project Context Records (PCR)

This project follows **Project Context Records (PCR)** —
methodology: https://github.com/hyf0/project-context-records. PCR keeps the
project's durable design context — the *why*, the decisions, the architecture —
so you inherit it instead of re-deriving or re-litigating what's already settled.

When working here:
- **Where they live.** Records are in `.agents/docs/` — one topic per file,
  cross-linked with relative Markdown links (`[name](./name.md)`).
- **Read first.** If a record covers the area you're touching, read it before acting.
- **Record as you go.** Proactively write down context worth keeping — and whenever
  a human asks you to. No required format, no fixed list of what qualifies: if it's
  true about this project, not visible in the code, and useful beyond the moment,
  it's worth a record.
- **Keep it fresh.** If your change affects a record, update it in the same change —
  a stale record is a trap, not an asset.
- **Provenance.** An unstamped line is AI-accumulated: challenge and verify it freely.
  A `[VOUCHED @handle]` stamp (on a line, or at the top of a file) means a human
  vouched for it — treat it as settled; reopen or re-verify only on new evidence, a
  changed constraint, or a human's say-so. Add a stamp only on a human's explicit
  instruction; reading past a line, or not objecting, is not a stamp.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.