skills/repo-context-builder/SKILL.md
Build/refresh REPO_CONTEXT.md + REVIEW_BRIEF from repo. Triggers—new repo, zip for later chats, grounded brief. Not code w/o these artifacts.
npx skillsauth add bjornmelin/dev-skills repo-context-builderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create or refresh REPO_CONTEXT.md and REVIEW_BRIEF.md for the current repository.
Keep the workflow evidence-first, compact, and deterministic. The goal is to leave behind two high-signal documents that future agents and chats can use immediately without re-discovering the repository from scratch.
Read these files before writing output:
assets/templates/REPO_CONTEXT.mdassets/templates/REVIEW_BRIEF.mdreferences/repo-analysis-playbook.mdreferences/output-checklist.mdOptional helper:
scripts/repo_inventory.py generates a fast inventory of the repository. Use it when helpful, but do not rely on it blindly. Verify important claims against the actual files.Produce exactly these files at the repository root unless the user explicitly asks for different paths:
REPO_CONTEXT.mdREVIEW_BRIEF.mdIf files already exist, update them in place instead of creating duplicates.
REVIEW_BRIEF.md that captures the highest-value next work areas, risks, and recommended entry points.Inspect the repo in this order:
README*AGENTS.mdUse the optional inventory script if it helps accelerate discovery, but confirm important claims by reading the underlying files.
REPO_CONTEXT.mdUse the bundled template and replace every placeholder.
Requirements:
REVIEW_BRIEF.mdUse the bundled template and replace every placeholder.
Requirements:
If there is no specific task from the user, make the brief about one of these, in priority order:
Before you stop, verify all of the following:
Not found in repo or Unknown when necessary.Unknown or Not found in repo.When the repo contains multiple apps or packages:
When evidence is incomplete:
This skill is complete only when a future agent could open the repo with just these two files and quickly understand:
Explicit invocation is the most reliable way to use this skill.
Example prompts:
$repo-context-builder Analyze this repository and create REPO_CONTEXT.md plus REVIEW_BRIEF.md using the bundled templates.$repo-context-builder Refresh the existing REPO_CONTEXT.md and REVIEW_BRIEF.md after recent changes. Re-check commands, architecture notes, and risks.$repo-context-builder Analyze this repo and create a task-scoped REVIEW_BRIEF.md for the current authentication bug, plus refresh REPO_CONTEXT.md where needed.development
Repo/monorepo modernization: dependency upgrades, security fixes, deprecation cleanup, framework migrations, dependency-native refactors, and verified hard-cut simplification.
development
Use this skill for Browser Web Animations API: Element.animate(), Animation, KeyframeEffect, playback control, generated keyframes, cancel/finish, commitStyles, and cleanup. Trigger on Element.animate, WAAPI, Web Animations API, KeyframeEffect, Animation object, commitStyles. Do not use for near-miss tasks outside these boundaries; route to adjacent motion or platform skills when they own the implementation.
tools
Use this skill for Three.js, React Three Fiber, Drei, Canvas/createRoot lifecycle, loaders, GLTF, useFrame, disposal, SSR/client boundaries, DPR, and browser proof. Trigger on Three.js, THREE, @react-three/fiber, @react-three/drei, R3F Canvas, useFrame, GLTF, WebGLRenderer. Do not use for near-miss tasks outside these boundaries; route to adjacent motion or platform skills when they own the implementation.
development
Use this skill for Tailwind CSS v4 transition, animation, duration, easing, motion-safe/motion-reduce, @theme motion tokens, and static class safety. Trigger on Tailwind animation, transition-all, motion-safe, motion-reduce, @theme, animate-, duration-. Do not use for near-miss tasks outside these boundaries; route to adjacent motion or platform skills when they own the implementation.