本文へ移動
cccskills
無料GitHub で公開

skillshare-code-review

Review a skillshare change before it becomes a pull request, or review an open pull request. Use this skill whenever the user asks to: review a diff, branch, commit range or PR, check a change before opening a PR, run a pre-Codex review, or find what a change missed. It checks correctness, the repository's documented rules, the originating issue or spec, every consumer of a changed concept, and cleanup (reuse, simplification, efficiency, depth of fix), then verifies each finding against the code before reporting it. Read-only unless the user asks for fixes.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md5.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Review one change in five independent passes, verify every finding, and report them by pass. $ARGUMENTS names the target (a base ref, a PR number, or a path) and may end with fix.

Scope: Read-only by default. With fix, apply only verified findings that do not change intended behavior, then run the checks the testing topic names. Never commit, push, or comment on GitHub unless the user asks.

Before acting, run python3 scripts/ai-context.py pull-requests. Its Review Rounds section defines what a review must sweep before Codex sees the change; this skill is how that sweep runs.

Step 1: Pin the diff

$ARGUMENTSDiff
emptygit diff origin/main...HEAD plus git diff HEAD (uncommitted work counts)
a refgit diff <ref>...HEAD plus git diff HEAD
a PR numbercheck the PR out in a new scratch worktree (git worktree add, then gh pr checkout <n> inside it) and review there with git diff origin/<base>...HEAD, so Step 4 reads the PR's code, not the current branch
a paththat file or directory, reviewed whole

Run git fetch origin first so the base is current. Stop here if the ref does not resolve or the diff is empty. In a shared checkout, list files changed by another session (git status) and leave them out of scope.

Step 2: Gather context once

  1. Spec: in order, issue references in commit messages or the PR body (gh issue view <n>), a path in $ARGUMENTS, or a matching file in specs/. If none exists, the Spec pass reports "no spec".
  2. Rules: AGENTS.md, plus the topics for the touched areas. Run python3 scripts/ai-context.py list and pick by path: cmd/ and internal/ → cli-development; ui/ or website/src/ → frontend; docs, READMEs, skills/ → documentation; wiki/ → ai-context.
  3. Concepts: name each flag, field, error, config key, API route, or behavior the diff adds or alters. The Consumer pass sweeps these.

Step 3: Run five passes in parallel

Launch one subagent per pass in a single message, using your tool's default subagent model; do not name a model the tool may not have. If your tool has no subagents, run the passes yourself one after another. Give each the diff command, the context from Step 2, and its brief below. Each returns findings as file:line, a one-sentence claim, and a concrete scenario (input or state → wrong result). A finding without a scenario is not reported.

  1. Correctness: bugs the change introduces. Wrong results, crashes, data loss, broken error paths, races, and security gaps: path or symlink escapes, secrets in output, bypassed audits or trust prompts. Ignore style.
  2. Rules: breaches of AGENTS.md and the loaded topics. Cite the file and rule.
  3. Spec: requirements missing or partial, behavior nobody asked for, and requirements implemented wrongly. Quote the spec line for each.
  4. Consumers: for each concept from Step 2, grep every consumer and state dimension that the pull-requests topic's Review Rounds section lists, plus skills/skillshare/references and ui/src/i18n/locales. Report each consumer the diff did not update, and each state dimension the change crosses without a test. Translations count as consumers: for every changed file under website/docs/, check the same path under each website/i18n/<locale>/docusaurus-plugin-content-docs/current/, and for README.md, each translated README. Report each copy that exists but was not updated to match, with the English lines it is missing.
  5. Cleanup: code that re-implements an existing helper (name it), complexity a simpler form would remove, wasted work on hot paths, and fixes applied as a special case where the shared mechanism should change. Labelled as judgement calls.

Step 4: Verify

For every finding, read the cited code yourself and decide:

  • CONFIRMED: the scenario happens; you can name the line where it goes wrong.
  • PLAUSIBLE: the code allows it, but it depends on state you could not check. Say which.
  • Dropped: the code prevents it, the scenario needs an unsupported workflow (see the pull-requests topic), or it duplicates another finding. Count drops; do not list them.

Step 5: Report

Use the user's language. Keep the passes separate and do not rerank across them: a change can pass the spec and still break a rule.

## Correctness (n)
1. CONFIRMED path:line: claim. Scenario: ...
## Rules (n)
## Spec (n)   or: no spec
## Consumers (n)
## Cleanup (n)

Dropped: n. Not checked: <passes or areas skipped, and why>.

End with the single most severe confirmed finding per pass, or "clean".

With fix: apply the CONFIRMED findings, add a failing test first for each correctness fix, rerun the narrowest check that proves it, and report each finding as fixed, skipped (why), or no change needed.

Rules

  • Do not run go test, make test, skillshare, or frontend scripts on the host. Checks run in the devcontainer, as the testing topic describes.
  • A finding is a claim until Step 4 confirms it. Never report an unverified finding as fact.
  • Review the diff, not the whole package. Pre-existing problems go in one line under "Not checked" as follow-ups.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Manage skills, agents, extras, hooks, plugins, and MCP connection settings with the Skillshare CLI. Use when the user asks to configure or run Skillshare, install or sync resources across AI tools, manage shared memory notes, review a session for lessons or dream over saved memories, import MCP settings, manage targets, audit skills, recover backups, or troubleshoot Skillshare configuration and sync. Covers global and project modes, noninteractive automation, and guidance for the terminal UI.

日本語の概要は準備中です。原文の説明を表示しています。

runkids/skillshare2,7812026年10月14日 更新

Generate CHANGELOG.md entry from recent commits in conventional format. Also syncs the website changelog page. Use this skill whenever the user asks to: generate a changelog, document what changed between tags, or create a new CHANGELOG entry. If you see requests like "write the changelog for v0.17", "what changed since last release", this is the skill to use. Do NOT manually edit CHANGELOG.md without this skill — it ensures proper formatting, user-perspective writing, and website changelog sync. For full release workflows (Release PR review, tests, draft assets, publication, announcements), use /release instead.

日本語の概要は準備中です。原文の説明を表示しています。

runkids/skillshare2,7812026年10月14日 更新

Run isolated E2E tests in devcontainer from ai_docs/tests runbooks. Use this skill whenever the user asks to: run an E2E test, execute a test runbook, validate a feature end-to-end, create a new runbook, or test CLI behavior in isolation. If you need to run a multi-step CLI validation sequence (init → install → sync → verify), this is the skill — it handles ssenv isolation, flag verification, and structured reporting. Prefer this over ad-hoc docker exec sequences for any test that follows a runbook or needs reproducible isolation.

日本語の概要は準備中です。原文の説明を表示しています。

runkids/skillshare2,7812026年10月14日 更新

Run CLI commands, tests, and debugging inside the skillshare devcontainer. Use this skill whenever you need to: execute skillshare CLI commands for verification, run Go tests (unit or integration), reproduce bugs, test new features, start the web UI, or perform any operation that requires a Linux environment. All CLI execution MUST happen inside the devcontainer — never run skillshare commands on the host. If you are about to use Bash to run `ss`, `skillshare`, `go test`, or `make test`, stop and use this skill first to ensure correct container execution.

日本語の概要は準備中です。原文の説明を表示しています。

runkids/skillshare2,7812026年10月14日 更新

Implement a feature from a spec file or description using TDD workflow. Use this skill whenever the user asks to: add a new CLI command, implement a feature from a spec, build new functionality, add a flag, create a new internal package, or write Go code for skillshare. This skill enforces test-first development, proper handler split conventions, oplog instrumentation, and dual-mode (global/project) patterns. If the request involves writing Go code and tests, use this skill — even if the user doesn't explicitly say "implement".

日本語の概要は準備中です。原文の説明を表示しています。

runkids/skillshare2,7812026年10月14日 更新

Prepare and review skillshare releases using the Release Please PR, verify the proposed version and changelog, inspect draft assets, and publish through the manual Publish Release workflow when explicitly authorized. Use when the user says "release", "prepare release", "cut a release", or asks to publish a new version. For changelog-only tasks, use /changelog instead.

日本語の概要は準備中です。原文の説明を表示しています。

runkids/skillshare2,7812026年10月14日 更新

runkids のスキルをすべて見る

このスキルの問題を報告する