Skip to content

Add contributor-only test-value skill - #860

Merged
tt-a1i merged 1 commit into
mainfrom
cursor/add-contributor-test-value-skill-1330
Oct 16, 2026
Merged

tt-a1i merged 1 commit into
mainfrom
cursor/add-contributor-test-value-skill-1330

Conversation

@tt-a1i

@tt-a1i tt-a1i commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator

Problem

Agents changing OpenPI tests have no shared, contributor-local skill for deciding which tests to add, adapt, reuse, or remove. The published skills/ directory is the wrong place for that guidance: package.json files ships it to OpenPI users.

Value

Contributors using Pi or Codex get the test-value skill when they work in this checkout. npm users do not receive a contributor testing policy they did not ask for.

Approach

Copy SKILL.md and references/ from tt-a1i/test-value main at 914255b0327bbb5c800682c7278dcf3f79cf31a0 into .agents/skills/test-value/. Record that source in .agents/skills/test-value/README.md. The copied skill files are byte-identical to that commit.

Pi @earendil-works/[email protected] (the version locked in bun.lock, tag v1.2.0 / 06a4669) discovers project skills from .agents/skills in the working directory and its ancestors, stopping at the git root, when the project is trusted (package-manager.ts collectAncestorAgentsSkillDirs). This repo does not set noSkills, skill path overrides, or pi.skills. Codex uses the same .agents/skills location. .pi/skills would be Pi-only, so .agents/skills is the shared project-local directory.

AGENTS.md tells agents to apply test-value when adding, changing, removing, or diagnosing tests. CLAUDE.md stays a pointer to AGENTS.md and does not repeat that rule.

Validation

  • cmp confirmed SKILL.md, references/audit.md, and references/decision-examples.md match commit 914255b0327bbb5c800682c7278dcf3f79cf31a0. git ls-remote showed that commit is main.
  • npm pack --dry-run --json: 579 packed files. No path contains .agents or test-value. Packed user skills remain skills/background-terminals, skills/subagents, and skills/workflows.
  • bun run check and bun run test were not run. This change is Markdown only, Biome does not format these files, and Bun is not installed in this environment.

Impact

  • User-visible behavior: none for the published package.
  • Model-visible context: in a trusted checkout, Pi advertises the test-value skill and AGENTS.md tells agents to apply it for test work. Adding .agents/skills makes this repository a project-trust resource for Pi.
  • Runtime/lifecycle: none.
  • Persisted config/data: none.
  • Compatibility or risk: the skill is read by agents; it does not change test execution.
Open in Web Open in Cursor 

Copy test-value from tt-a1i/test-value main at 914255b into .agents/skills so Pi and Codex can discover it for contributors without shipping it in the npm package.

Co-authored-by: tt-a1i <[email protected]>
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Oct 16, 2026
@tt-a1i
tt-a1i marked this pull request as ready for review October 16, 2026 03:45
@tt-a1i
tt-a1i merged commit 677b495 into main Oct 16, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants