Implement Change implement-change

Implement a pnpm feature, bug fix, or refactor by checking existing capabilities, prioritizing code reuse and deduplication, assessing architecture impact, and validating the final change.

Use it when asked to implement a change in this repository.

Works in Claude, ChatGPT, Codex and more
Our test
8/10✓ Verified
tested Dec 6, 2026
GitHub stars
37k
pnpm/pnpm
Added by
0
members
Updated
Dec 6
commit 4fd56cc
Content
1 file
no scripts · 5 KB
License
MIT
free to use

What our test found

The skill gives a clear, disciplined workflow for repository changes, emphasizing reuse, architectural fit, tests, and review.

Request we tested it on“In this repository, add a pnpm CLI option that retries failed registry requests up to a user-configured limit.”

Limits spotted

  • Depends on repository policy and referenced workflow skills that may not be available in other projects.
  • Does not specify concrete commands or fallback steps when repository guidance is missing.
View on GitHub ↗
name: implement-change
description: Implement a pnpm feature, bug fix, or refactor by checking existing capabilities, prioritizing code reuse and deduplication, assessing architecture impact, and validating the final change. Use when asked to implement a change in this repository.

Implement a change

Apply , , and the relevant product instructions and style guides. Keep repository policy in those sources; this skill connects implementation to the and workflows.

Understand the problem before adding code

Establish the intended behavior and concrete success criteria from the user's request, reproduction, or specification. Determine which products and versions are affected using the repository's development policy. Reproduce bugs before choosing a fix when practical.

Always assess whether existing capabilities available to the affected product can solve the problem. For pnpm CLI work, consider combinations of commands, configuration, hooks, and workspace capabilities. For pnpr, assess its registry architecture, flags, and configuration. Consider applicable shared components across the repository as reuse candidates. Check their actual behavior against the success criteria. Prefer an existing capability when it fully solves the problem; explain how to use it and any limits. If it only partly solves the problem, identify the gap and extend the owning feature when that produces a cohesive design. Do not add a parallel feature merely because the request suggests a new setting or command. Respect an explicitly requested behavior that existing capabilities do not provide.

Assess the architecture

Before adding any new feature, analyze its effect on the overall architecture, not just the file being edited. Trace the affected data flow and responsibilities across commands, configuration, resolution, storage, or other relevant layers. Identify where the behavior belongs, which existing abstractions it extends, and how it interacts with related features and shared state or formats.

Summarize the architectural fit and meaningful tradeoffs before substantial implementation. Consider whether the change adds competing sources of truth, blurs a boundary, or introduces special cases other features will need to understand. Prefer a coherent extension over a local workaround. Keep necessary refactoring bounded to the change; architectural analysis is not authorization for an unrelated redesign.

For a bug fix, check whether the code it touches was fixed recently (git log --since='6 weeks ago' -- <file>). If earlier fixes restored the same property, apply steps 4 and 5 of to them and fix the cause, or say in the PR why this fix is another case of it.

Prioritize reuse and deduplication

Search for similar behavior, helpers, and tests before writing non-trivial logic. Inspect the relevant product and shared utilities, including callers of candidate helpers. Prioritize removing duplication over adding another copy.

If the needed logic already exists, reuse it. If it is not reusable yet, extract the common behavior into the appropriate shared helper or package and update the affected callers. When consolidating stable features would break compatibility, temporary duplication may remain until the next major version; identify the intended shared abstraction and consolidation point. Experimental features can be consolidated immediately. Apply the same check to similar logic introduced by the change. Preserve meaningful differences in contracts; do not force unrelated behavior into a generic abstraction merely because the code looks alike. Follow the repository's dependency placement and library reuse rules.

Implement and validate

Implement the smallest cohesive change that satisfies the intended behavior. Add tests that exercise its observable contract and relevant interactions, and update documentation and changesets when repository policy requires them.

Use to select and run appropriate checks. Investigate failures. Then use on the complete diff, fix verified findings, and rerun checks affected by the fixes. Reassess reuse and architectural fit against the final implementation.

Report what changed, existing capabilities considered, the reuse or extraction chosen, material architectural implications, and validation limits. Scale the explanation to the change. Commit, push, or open a PR only when the user or calling workflow authorizes it; use when taking the change through a PR.