본문으로 건너뛰기
cccskills
무료GitHub에 공개

update-package-skill

Updates an existing package Skill for a new release of its npm or local package by testing only what changed since the version the Skill names. Use when a maintainer asks to refresh a package Skill after a release, or when a SKILL.md names an older tested version than the package.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md4.4 KB
  • assets/harness-request.md938 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Update a package Skill

Bring an existing package Skill to a new package version with the smallest correct edit. The current Skill was tested against an earlier version. Trust what the release did not touch. To write a Skill from nothing, use generate-package-skill.

Inputs

  • The current Skill directory, and the package at the new version: a name and version, a directory, or prepared source.
  • The tested version is the version the Skill's first paragraph names. If it names none, stop and report that the Skill needs a full rewrite.
  • If the tested version equals the new version, change nothing and report that.

1. Copy, then diff

  1. Copy the current Skill to the destination unchanged. Edit only the copy.
  2. Diff the two published versions: npm diff --diff=PACKAGE@OLD --diff=PACKAGE@NEW. For a local package, diff the old tarball against the packed build.
  3. Read the changelog or release notes between the two versions.
  4. List what changed for a consumer: exports, types, options and their defaults, config keys, error messages, CLI flags, peer ranges, engines, and behaviour the notes describe.

2. Map changes to the Skill

For each change, find the Skill lines it affects: a claim, an example, a trap, a version limit. A change is relevant when it affects a Skill line, or when it adds or breaks something an Agent would get wrong: a new trap, a renamed call, a new required setup step. Internals, refactors, and fixes the Skill never mentioned are not relevant.

If no change is relevant, leave the copy byte-identical and stop. Report "no change needed" with a one-line diff summary.

3. Test the affected lines

  1. Create one consumer fixture outside the package source, with its own pnpm-workspace.yaml. Install the new version and the documented peers.
  2. Run each affected example and claim, and each example you add. Compare output with the claim: return values, type errors, build logs, exit codes.
  3. Run each with one failure input as well, such as a bad option or an unreachable URL.
  4. Do not re-run untouched examples. The earlier version's tests cover them.
  5. Wrap every run in timeout 120. Start servers from your own script, record each process ID you start, and stop only those. Never kill by port or with pkill -f.
  6. Spend about 20 tool calls on testing. Report an affected claim you could not test as untested; never claim it passed.

4. Edit

  • Change only affected lines, and add what the release needs: a new trap, an old call → new call row, a new common task.
  • Delete lines the release made false, and version limits it fixed.
  • Update the tested version in the first paragraph. Other version literals go stale; avoid them.
  • Keep the wording, order, and formatting of untouched lines exactly. The diff must show only what the release changed.
  • Update the description only when a trigger changed, such as a renamed export or a new config key.

Keep the format rules:

  • The frontmatter contains name and description, with optional license, compatibility, metadata, and allowed-tools. The name matches the directory.
  • Preserve the source license. Keep compatibility only for specific environment requirements, at most 500 characters.
  • Remove generic compatibility filler. Keep package version coverage in the body.
  • metadata maps string keys to string values. allowed-tools is an experimental space-separated string.
  • The description is one plain YAML line without double quotes, backticks, or %.
  • SKILL.md stays under 500 lines. Write at most eight reference files, each linked from SKILL.md.

5. Report

  • The tested version, old → new, and the files you changed.
  • Each changed line with the diff hunk or release note behind it.
  • Each affected claim left untested.
  • Each mismatch between the new docs and observed behaviour: example, documented result, observed result. These are package bugs.

For a direct run, show the Skill diff for review. A direct run has no Harness checks; never claim it passed them.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Generate or update an Agent Skill that teaches consumers one npm or local package the user maintains, including framework modules and wrappers. Tests each example against the installed version. Use when a maintainer asks for a package Skill, a SKILL.md for their library, or a Skill update after a release.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

skilld-dev/skilld3272026년 10월 11일 업데이트

Generate or update an Agent Skill from the observed workflows, boundaries, and conventions of one software project.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

skilld-dev/skilld3272026년 10월 11일 업데이트

Review an Agent Skill for valid structure, clear triggers, usable instructions, current evidence, and risky or unclear actions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

skilld-dev/skilld3272026년 10월 11일 업데이트

skilld

무료

Operate skilld CLI for Skill discovery, use, installation, inspection, updates, authentication, configuration, restoration, and removal, including Repository, curator, and collection refs. Also read the skilld.dev registry (view, browse, trending, tracks, curators, index) and act for the user's skilld.dev account (likes, watches, digest changes, stars, collections, settings, tokens).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

skilld-dev/skilld3272026년 10월 11일 업데이트

Designs and verifies skilld CLI output, terminal pickers, and full-screen flows. Use for terminal colours, loading feedback, keyboard controls, layout, errors, or end-to-end CLI UX reviews.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

skilld-dev/skilld3272026년 10월 11일 업데이트

skilld-dev의 스킬 모두 보기

이 스킬의 문제 신고