Agent skill

Difit Dev

by yoshiko-pg in yoshiko-pg/difit

Ask the user for a code review through difit after code changes in this repository, using pnpm run dev.

MITAuto-check passedDevelopment

Install Difit Dev

skills CLI
$ npx skills add yoshiko-pg/difit --skill difit-dev -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install yoshiko-pg/difit difit-dev --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/yoshiko-pg/difit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/difit-dev .claude/skills/difit-dev && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
difit-dev
GitHub stars
3.2k
Token cost
~708 tokens
SKILL.md length
318 words
Files
2
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Ask the user for a code review through difit after code changes in this repository, using pnpm run dev.

  • Tasks that involve Code review
  • SKILL.md covers Overview, Commands, Optional Startup Comments and Including Untracked Files, plus 1 more section
  • Calls pnpm

What it does

Difit Dev is an agent skill from yoshiko-pg/difit. Ask the user for a code review through difit after code changes in this repository, using pnpm run dev.

Its SKILL.md is about 710 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Development, covering Code review. It works with pnpm. The repository describes itself as: A lightweight command-line tool that spins up a local web server to display Git commit diffs in a GitHub-like Files changed view. The licence is MIT.

When your agent uses it

  • Tasks that involve Code review

Example prompts

  • “/difit-dev”

What it can do on your machine

Read from SKILL.md and the folder at commit 82a765c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Difit Dev loads about 708 tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 318 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~708

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from yoshiko-pg/difit at commit 82a765c, republished under its MIT licence (© yoshiko-pg). 318 words, ~708 tokens.

Download SKILL.mdSave it as .claude/skills/difit-dev/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
difit-dev
description
Ask the user for a code review through difit after code changes in this repository, using `pnpm run dev`.
metadata.internal
true

Difit Dev

Overview

This skill requests a code review from the user using pnpm run dev in this repository. Running pnpm run dev once is sufficient to start the review request workflow. Do not open a browser yourself, verify that a browser connected, or restart the server just to keep it alive. If the user leaves review comments, they are printed to stdout when the difit command exits. When review comments are returned, continue work and address them. If the server is shut down without comments, treat it as "no review comments were provided." Restarting it is unnecessary. Treat Client disconnected, shutting down server... without comments as a successful no-comments outcome. Manual verification of whether the page launched correctly is also unnecessary.

Commands

  • Review uncommitted changes before commit: pnpm run dev .
  • Review the HEAD commit: pnpm run dev
  • Review staging area changes: pnpm run dev staged
  • Review unstaged changes only: pnpm run dev working

Basic Usage:

bash
pnpm run dev <target>                    # View single commit diff. ex: pnpm run dev 6f4a9b7
pnpm run dev <target> [compare-with]     # Compare two commits/branches. ex: pnpm run dev feature main

Optional Startup Comments

If there is something you want to tell the user when difit opens, attach it as startup comments with --comment. This is useful for review findings, explanations, and any context the user should see directly on the diff.

bash
pnpm run dev <target> [compare-with] \
  --comment '{"type":"thread","filePath":"src/foobar.ts","position":{"side":"old","line":102},"body":"line 1\nline 2"}' \
  --comment '{"type":"thread","filePath":"src/example.ts","position":{"side":"new","line":{"start":36,"end":39}},"body":"Range comment for L36-L39"}'
  • Do not insert -- after pnpm run dev in this repository. pnpm run dev -- ... breaks argument parsing here.
  • Use type: "thread" for each comment.
  • Write comment bodies in the language the user is using.
  • Use position.side: "new" for lines that exist on the target side of the diff.
  • Use position.side: "old" for lines that exist only on the deleted side.
  • Use range comments for issues that span multiple lines.
  • Never copy secrets, tokens, passwords, API keys, private keys, or other credential-like material from the diff into --comment bodies or any command-line arguments.

Including Untracked Files

For uncommitted changes, if files not yet added to git should also appear in the diff, add --include-untracked.

bash
pnpm run dev . --include-untracked

Constraints

Can only be used inside this Git-managed repository.

© yoshiko-pg, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .codex/skills/difit-dev of yoshiko-pg/difit.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 82a765c

Compare with similar skills

Difit Dev next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Difit Dev compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Difit Dev this skillyoshiko-pg/difit3.2k—~708Automated safety check: PassMIT
@pierre/diffs Code Renderingpierrecomputer/pierre6.2k2 repos~803Automated safety check: PassApache-2.0
Verdaccio PR Reviewverdaccio/verdaccio18k—~1.7kAutomated safety check: PassMIT
Review Codepnpm/pnpm37k—~648Automated safety check: PassMIT
Code Reviewvictorgarciaesgi/regle506—~470Automated safety check: PassMIT
Code Reviewer ChorusChorus-AIDLC/Chorus1.2k—~4.6kAutomated safety check: PassAGPL-3.0

Similar skills

  • @pierre/diffs Code Rendering

    pierrecomputer/pierre

    Guides an agent through using @pierre/diffs to render syntax-highlighted files and diffs, and to build editing and review surfaces in React or plain JavaScript.

    6.2k GitHub starsUsed in 2 repos~803 tokens
    DevelopmentAuto-check passed
  • Verdaccio PR Review

    verdaccio/verdaccio

    Reviews an existing verdaccio/verdaccio pull request end to end, verifies each finding and reports whether it is mergeable, optionally fixing it on the PR branch.

    18k GitHub stars~1.7k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Review Code

    pnpm/pnpm

    Review a pnpm diff or pull request against the repository review guide and product conventions, verify findings, and report actionable issues.

    37k GitHub stars~648 tokensUpdated today
    DevelopmentAuto-check passed
  • Code Review

    victorgarciaesgi/regle

    Mandatory pre-commit validation for every Copilot code review on pull requests in the regle monorepo.

    506 GitHub stars~470 tokensUpdated 9 days ago
    DevelopmentAuto-check passed
  • Code Reviewer Chorus

    Chorus-AIDLC/Chorus

    Read-only adversarial Chorus code-review gateway — independently reviews an Idea's aggregate code change (the whole feature across all its tasks) and posts a single structured VERDICT comment on the…

    1.2k GitHub stars~4.6k tokensUpdated today
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed

More from yoshiko-pg/difit

  • Difit

    yoshiko-pg/difit

    Ask the user for a code review by opening the changes in difit, a local diff viewer.

    3.2k GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Difit Review

    yoshiko-pg/difit

    A skill for reviewing a specific diff and showing the findings as comments inside difit (the diff viewer).

    3.2k GitHub stars~764 tokensUpdated 1 mo ago
    Auto-check passed
  • Difit Review

    yoshiko-pg/difit

    Review a specific diff (branch, commit, or GitHub PR) and show the findings as comments inside difit, the local diff viewer.

    3.2k GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Release

    yoshiko-pg/difit

    Execute the difit release workflow when the user says "リリース" or asks to cut a release.

    3.2k GitHub stars~688 tokensUpdated 1 mo ago
    Auto-check passed
  • Vscode Release

    yoshiko-pg/difit

    Execute the VS Code extension release workflow when the user asks to publish/release the difit VS Code extension.

    3.2k GitHub stars~518 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Categories

Questions about Difit Dev

What does Difit Dev do?

Ask the user for a code review through difit after code changes in this repository, using pnpm run dev. Difit Dev is an agent skill from yoshiko-pg/difit. Ask the user for a code review through difit after code changes in this repository, using pnpm run dev.

When should I use Difit Dev?

Difit Dev fits situations like: tasks that involve Code review.

How do I install Difit Dev in Claude Code?

Run `npx skills add yoshiko-pg/difit --skill difit-dev -a claude-code`. Or copy the skill folder (.codex/skills/difit-dev in yoshiko-pg/difit) into .claude/skills/difit-dev in your project. Claude Code loads it when a task matches its description.

How do I install Difit Dev in Codex?

Run `npx skills add yoshiko-pg/difit --skill difit-dev -a codex`. Or copy the skill folder (.codex/skills/difit-dev in yoshiko-pg/difit) into .agents/skills/difit-dev in your project. Codex loads it when a task matches its description.

Can I use Difit Dev in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yoshiko-pg/difit --skill difit-dev -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/difit-dev, .gemini/skills/difit-dev, .github/skills/difit-dev and .opencode/skills/difit-dev in your project.

What does Difit Dev need to run?

Going by SKILL.md and its folder, Difit Dev needs the command-line tools its instructions call (pnpm).

Does Difit Dev access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Difit Dev safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Difit Dev use?

Difit Dev is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Difit Dev use?

About 708 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Difit Dev?

Skills that share tags, products or a category with Difit Dev: @pierre/diffs Code Rendering (pierrecomputer/pierre, 6.2k stars), Verdaccio PR Review (verdaccio/verdaccio, 18k stars), Review Code (pnpm/pnpm, 37k stars) and Code Review (victorgarciaesgi/regle, 506 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Difit Dev?

yoshiko-pg (a GitHub user) maintains it in yoshiko-pg/difit, which has 3,230 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on August 28, 2026.

Source: yoshiko-pg/difit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.