Add agent skills configuration#1048
Merged
Merged
Conversation
Scaffold AGENTS.md, CLAUDE.md, and docs/agents/ so AI agent skills (triage, to-issues, diagnose, tdd, etc.) know where issues live, which triage labels to apply, and how to read domain docs in this repo. - AGENTS.md: top-level agent instructions with the Agent skills block - CLAUDE.md: re-exports AGENTS.md via @AGENTS.md syntax - docs/agents/issue-tracker.md: GitHub conventions (gh CLI) - docs/agents/triage-labels.md: canonical triage label mapping - docs/agents/domain.md: single-context CONTEXT.md / docs/adr layout
pnpm 11 no longer reads the "pnpm" field from package.json and warns "The 'pnpm' field in package.json is no longer read by pnpm." Because unrs-resolver's build script was no longer approved, pnpm 11 treated the ignored build as fatal (ERR_PNPM_IGNORED_BUILDS) and failed the install. Move the setting to pnpm-workspace.yaml (pnpm 11's new home for it) and drop the now-dead pnpm field from package.json.
cbb0afc to
a8b3c3a
Compare
This reverts commit a8b3c3a.
pnpm/action-setup@v4 was set to version: latest, which now pulls pnpm 11. pnpm 11 changed where onlyBuiltDependencies is read from (moved out of package.json) and made ignored builds a fatal install error (ERR_PNPM_IGNORED_BUILDS), breaking the E2E install step. Pin to pnpm v10 so the existing package.json "pnpm" field is honored and the install completes. Avoids chasing pnpm 11's evolving config surface.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AGENTS.md(with## Agent skillsblock) andCLAUDE.md(which loadsAGENTS.mdvia@AGENTS.md) at the repo root.docs/agents/issue-tracker.md,docs/agents/triage-labels.md, anddocs/agents/domain.mdso AI agent skills (triage,to-issues,diagnose,tdd,grill-with-docs, etc.) know where issues live, which triage labels to apply, and how to read domain docs.needs-triage,needs-info,ready-for-agent,ready-for-human,wontfix(the first four were created as repo labels alongside this PR;wontfixalready existed).pnpm/action-setup@v4was set toversion: latest, which now pulls pnpm 11 and breaks the install withERR_PNPM_IGNORED_BUILDS). Combined with Bump E2E workflow Node.js to 22 #1049's Node 22 bump, this restores a green E2E run. We can revisit moving to pnpm 11 separately when the project is ready to adopt its new build-approval workflow.Test plan
AGENTS.mdandCLAUDE.mdrender correctly on GitHub.needs-triage,needs-info,ready-for-agent,ready-for-human)./triagelocally and confirm it reads the label mapping fromdocs/agents/triage-labels.mdwithout prompting for setup.