Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Describes the end-to-end procedure for shipping Petrinaut package changes, covering gates, changesets, docs sync, and PR checks.
24% 68%+44 ptsof test cases passed
Passed 17 of 25 test cases with the skill, and 6 of 25 without it.
This test ran on v2. v5 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Standing conventions (changeset policy, docs and diagram placement, CI quirks) live in libs/@hashintel/petrinaut/AGENTS.md. This skill is the procedure that applies them.
Run for every touched package, after every increment:
yarn fix:format >/dev/null 2>&1
turbo run build test:unit lint:tsc lint:eslint --filter @hashintel/petrinaut --filter @hashintel/petrinaut-core --force --output-logs errors-only
yarn lint:format
turbo is the version pinned by mise in .config/mise/config.toml; running it through npx bypasses the pin and downloads the latest release.--filters to the touched packages; add --filter @apps/petrinaut-website when it consumes the change.build belongs in that list. test:unit depends on ^build, which builds dependencies and not the selected package, so the React Compiler check, the browser-entry check, and the website's Vite build are otherwise never run.yarn workspace @apps/petrinaut-docs lint:arch-docs, and add the layer declaration the AGENTS.md architecture section calls for.content/diagrams/*.d2 changed: lint:arch-docs does not compile MDX or render D2. Run the site build once before pushing: mise x -- yarn exec turbo run build --filter @apps/petrinaut-docs. D2 labels containing : or [ must be quoted.libs/@local/petrinaut-optimizer-core/python go through Turborepo: turbo run test:unit lint:tach lint:deptry --filter petrinaut-optimizer-core --force. Its test:unit is the CPython uv run pytest suite.yarn lint:format prints its verdict before its final line, so check the exit code rather than the last line of output.One patch changeset per PR covering the published packages the PR touches (@hashintel/petrinaut, @hashintel/petrinaut-core); none for pure refactors. Keep the text to one or two plain sentences. See the AGENTS.md conventions for the full policy.
User-visible behaviour changes update the user guide in the same PR; new pages need registration and a raw import, both test-enforced. The steps are in the "User-facing docs" section of libs/@hashintel/petrinaut/AGENTS.md. Doc screenshots cannot be uploaded by an agent: produce candidate captures, list the exact pages and sections to re-capture, and flag "screenshots pending" in the PR body and the summary.
git diff --stat against the base: no accidental directories, no unstaged leftovers, no generated output, no mise.lock churn.Bin line in the stat for a text file means escape sequences became literal control bytes; fix it before pushing or the diff is unreviewable.docs/pull_request_template.md in hashintel/.github.jq. Neither the exit status nor a pending count answers it alone: gh pr checks exits non-zero when checks are pending, when they failed, and when none are scheduled yet, and with --json it prints [] before any exist, so a pending count of zero also reads as "finished" on a PR that has not started.Next to this one in the catalogue, plus more from the same author.