Pierre Agent Rules

Open-source interface libraries for diffs, trees, and theming.

Overview

Pierre keeps its root file short and puts domain detail in skills selected by task. The root names the authoritative tool and dependency files, explains limits of agent environments, and gives concrete checks for package licenses and verification.

Documents

├── 
├──  · imports AGENTS.md
├── .agents
│   └── skills
│       └── *
│           └── SKILL.mdRelevant development skills
└── 

Techniques in this file

01 / Router files

Select skills before loading their full context

The skill workflow asks the agent to inspect descriptions first and read complete instructions only for relevant tasks. An explicit exclusion keeps unrelated domain guidance out of the working context.

Source excerpt starting at line 60.
Domain-specific context and conventions live in `.agents/skills/`. Beforestarting any task: 1. List `.agents/skills/*/SKILL.md`2. Read only each skill's frontmatter description to identify relevant skills3. Read only the full `SKILL.md` files relevant to your task Do not load skills that are not relevant to the task.

02 / Pointing at the source of truth

Point tool versions at their authority

The guide names the file that pins the toolchain and the manager that installs it. This avoids maintaining a second list of current versions inside the instructions.

Source excerpt starting at line 22.
- Tool versions (bun, pnpm, node, moon, gh) are pinned in `.prototools` and  managed by [proto](https://moonrepo.dev/docs/proto); run `proto use` if a tool  is missing or a pin changed. Never install toolchain versions globally; bump  pins only in `.prototools`.

03 / Pointing at the source of truth

Keep dependency versions in the shared catalog

Package manifests normally consume the workspace catalog instead of introducing their own version declarations. The rule includes an exception for a published package that intentionally needs its own range.

Source excerpt starting at line 34.
- Dependencies use the `catalog` in `pnpm-workspace.yaml`. Never add dependency  versions directly to package-level `package.json` files unless a published  package intentionally needs its own range.

04

Account for CI-marked agent shells

CI-marked shells can run some tasks while skipping dev servers and build-graph work. The guide provides an explicit override instead of treating a failed launch as proof the task is unavailable.

Source excerpt starting at line 12.
Most local moon tasks (formatters, benchmarks, worktree management) areconfigured with `runInCI: 'always'` so they keep working in CI-marked shellslike agent harnesses. Tasks connected to the build graph (dev servers, prodserves, e2e variants, publish guards) stay CI-skipped — run those with`moonx <target> --ignore-ci-checks`, e.g.`moonx docs:dev-diffs --ignore-ci-checks`. For non-moon commands that CI-gatethemselves, unset the var: `CI= pnpm publish --dry-run`.

05 / Verification by change type

Separate the verification baseline from affected checks

Formatting and linting are the baseline. Type checks and focused tests depend on the changed area; docs and instruction edits stop at the baseline unless they touch code or package config.

Source excerpt starting at line 89.
Also run the affected typecheck and focused tests for the changed area, e.g.`moonx <project>:typecheck` and `moonx <project>:test` (or`moonx :typecheck --affected`). For docs-only or AGENTS/skill-only changes,formatting and linting are sufficient unless the edit touches executable code orpackage config.

Ideas for your repo

  1. Use short skill descriptions to choose which full instructions to load.
  2. Point version and dependency guidance at the files that own those values.
  3. Document how agent environment flags change task-runner behavior.
  4. Give documentation edits a verification path distinct from code edits.
Sponsored byModem

Give your agents the whole story.

These instructions explain how to work in Pierre. Modem shows your agents what customers said, who is affected, and what changed.

See how Modem works