Pake Code Review Adapter

VerifiedCaution

Specialized code review adapter for the Pake project: TypeScript CLI, Rust/Tauri, release artifacts, and CI with hard-stop checks.

Sby Skills Guide Bot
DevelopmentAdvanced
8/29/2026
Claude Code
#code-review#tauri#typescript-cli#release-engineering#ci

Recommended for

Automated summary

A Pake-specific review adapter that extends the generic Waza /check method with Pake-only hard stops, commands, and artifact rules for the TypeScript CLI, Rust/Tauri code, releases, and CI.

Strengths

  • Concrete hard-stop checklist: rebuild dist/cli.js, keep versions in sync across package.json, Cargo.toml, Cargo.lock and tauri.conf.json, and preserve npm Trusted Publishing invariants.
  • Ships ready-to-run commands for the PR diff, format check, vitest, and the CLI build.
  • Enforces typed config (PakeTauriConfig), no user-reachable panic!/unwrap(), and a matching unit test for every new bin/utils or bin/helpers helper.
  • Delegates the generic method to Waza /check and keeps output terse: findings first, ordered by severity with tight file/line references.

Limitations

  • Only meaningful inside the Pake repository; almost none of the rules transfer to other projects.
  • Depends on the external Waza /check skill and on Pake tooling (pnpm, gh, vitest) being installed.
  • disable-model-invocation: true means it must be invoked explicitly rather than triggering automatically.
When to use it

Use it when reviewing a PR or diff in the Pake repo that touches the CLI, Tauri code, releases, or CI workflows.

When not to use it

Do not use it for other repositories or for generic code review without Pake context.

Security analysis

Caution
Quality score88/100

The skill uses Bash for legitimate code-review workflows: fetching PR diffs, running formatters, tests, and CLI builds. These commands can execute repository scripts, so it is not risk-free, but there are no signs of destructive or exfiltrating behavior.

Findings
  • •Bash is allowed and instructs running `gh pr diff`, `pnpm`, `npx vitest`, and build commands, which execute project scripts and may access the network; risk depends on repository trust.
  • •No destructive, obfuscated, secret-exfiltrating, or safety-disabling instructions are present.
How this analysis is made

Examples

Review a Pake PR
Review the current PR in the Pake repo: run the quick review commands, check every Pake hard stop, and report findings by severity with file/line references.
Release version sync check
I bumped Pake to 2.0.5 — verify package.json, src-tauri/Cargo.toml, src-tauri/Cargo.lock and src-tauri/tauri.conf.json are in sync and flag anything that would break the npm Trusted Publishing workflow.
CLI change review
I added a new flag under bin/ — check whether dist/cli.js needs rebuilding, whether the flag is justified against existing options, and whether a matching tests/unit test exists.

name: code-review description: Pake project adapter for Waza check/code-review. Use for TypeScript CLI, Rust/Tauri, release artifact, and CI review. version: 1.2.0 allowed-tools:

  • Bash
  • Read
  • Grep
  • Glob disable-model-invocation: true

Pake Code Review Adapter

Use Waza /check for the generic review method. This adapter adds Pake-specific commands, hard stops, and artifact rules.

Pake-Specific Hard Stops

  • [ ] Changes under bin/ rebuild and commit dist/cli.js with pnpm run cli:build.
  • [ ] Changes to package metadata embedded by Rollup (package.json name/version/repository/bin/scripts/exports) rebuild and commit dist/cli.js.
  • [ ] Release version bumps keep package.json, src-tauri/Cargo.toml, src-tauri/Cargo.lock, and src-tauri/tauri.conf.json in sync.
  • [ ] npm release workflow changes preserve Trusted Publishing: .github/workflows/npm-publish.yml, id-token: write, canonical git+https://github.com/tw93/Pake.git, and scripts/check-release-version.mjs.
  • [ ] Release/status changes keep npm registry, GitHub Release/assets, workflow run state, and issue closeout as separate truth surfaces.
  • [ ] workflow_dispatch release logic does not infer the release tag from headBranch, run title, or compare UI; use an explicit tag/ref and verify the package gitHead.
  • [ ] Any new user-visible CLI flag, alias, or help variant carries an explicit justification for why existing options or defaults cannot cover it (maintainer sign-off, not inferred).
  • [ ] No new tauriConf: any or other untyped config objects; use PakeTauriConfig.
  • [ ] No user-reachable panic! or .unwrap() on config, CLI, or event paths.
  • [ ] Silent catch {} blocks surface the real error through logger.warn.
  • [ ] New helper in bin/utils/ or bin/helpers/ has a matching tests/unit/<basename>.test.ts.
  • [ ] Binary parsers have a round-trip test, not only builder assertions.
  • [ ] Linux WebKit/AppImage runtime flag changes keep the default conservative, add or update tests for the decision logic, and update docs/faq*.md when users need a fallback command.
  • [ ] macOS --new-window or auth URL changes include targeted tests for popup/auth routing in src-tauri/src/inject/event.js.

Quick Review Commands

# Get PR diff
gh pr diff

# Format check
pnpm run format:check

# Run unit tests (fast, sub-second)
npx vitest run

# Full suite without the slow real build
pnpm test -- --no-build

# Build CLI and catch TypeScript errors
pnpm run cli:build

Review Output Format

Follow Waza /check: findings first, ordered by severity, with tight file/line references. Keep summaries brief.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/pake-code-review-adapter-mte1lhro/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/pake-code-review-adapter-mte1lhro' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/pake-code-review-adapter-mte1lhro/download' --output '.skill-downloads/pake-code-review-adapter-mte1lhro/SKILL.md.part' && mv '.skill-downloads/pake-code-review-adapter-mte1lhro/SKILL.md.part' '.skill-downloads/pake-code-review-adapter-mte1lhro/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/pake-code-review-adapter-mte1lhro/SKILL.md' && test -s '.skill-downloads/pake-code-review-adapter-mte1lhro/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/code-review' && cp -R '.skill-downloads/pake-code-review-adapter-mte1lhro' '.claude/skills/code-review'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/pake-code-review-adapter-mte1lhro'

openskills read 'pake-code-review-adapter-mte1lhro'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/pake-code-review-adapter-mte1lhro/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills