Crap Analysis
ardalis/RiverBooks
Analyze code coverage and CRAP (Change Risk Anti-Patterns) scores to identify high-risk code.
Write, modify, or review a requirement file under docs/requirements -- pick the single owning file, keep the text contract-only, name IDs so they need no explanation, and verify cross-references and…
$ npx skills add rizsotto/Bear --skill requirements -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install rizsotto/Bear requirements --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/rizsotto/Bear.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/requirements .claude/skills/requirements && rm -rf skills-srcUse ~/.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/
Install the "requirements" agent skill from https://github.com/rizsotto/Bear/tree/master/.claude/skills/requirements into .claude/skills/requirements/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "requirements", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/rizsotto/Bear/tree/master/.claude/skills/requirementsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add rizsotto/Bear --skill requirements -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install rizsotto/Bear requirements --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rizsotto/Bear.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/requirements .agents/skills/requirements && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "requirements" agent skill from https://github.com/rizsotto/Bear/tree/master/.claude/skills/requirements into .agents/skills/requirements/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "requirements", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rizsotto/Bear --skill requirements -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install rizsotto/Bear requirements --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rizsotto/Bear.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/requirements .cursor/skills/requirements && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "requirements" agent skill from https://github.com/rizsotto/Bear/tree/master/.claude/skills/requirements into .cursor/skills/requirements/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "requirements", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/rizsotto/Bear.git --path .claude/skills/requirements--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add rizsotto/Bear --skill requirements -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install rizsotto/Bear requirements --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rizsotto/Bear.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/requirements .gemini/skills/requirements && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "requirements" agent skill from https://github.com/rizsotto/Bear/tree/master/.claude/skills/requirements into .gemini/skills/requirements/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "requirements", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install rizsotto/Bear requirementsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add rizsotto/Bear --skill requirements -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/rizsotto/Bear.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/requirements .github/skills/requirements && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "requirements" agent skill from https://github.com/rizsotto/Bear/tree/master/.claude/skills/requirements into .github/skills/requirements/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "requirements", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rizsotto/Bear --skill requirements -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install rizsotto/Bear requirements --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rizsotto/Bear.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/requirements .opencode/skills/requirements && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "requirements" agent skill from https://github.com/rizsotto/Bear/tree/master/.claude/skills/requirements into .opencode/skills/requirements/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "requirements", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
requirementsWrite, modify, or review a requirement file under docs/requirements -- pick the single owning file, keep the text contract-only, name IDs so they need no explanation, and verify cross-references and…
Requirements is an agent skill from rizsotto/Bear. Write, modify, or review a requirement file under docs/requirements -- pick the single owning file, keep the text contract-only, name IDs so they need no explanation, and verify cross-references and test coverage. Use when the user asks to add, change, audit, or review a requirement, or when the decision protocol calls for writing one.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Test coverage. The repository describes itself as: Generate compilecommands.json for any C or C++ build. The licence is GPL-3.0.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 7238459. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requirements loads about 2k tokens when it runs. Until then it costs about 88 tokens; SKILL.md has 1,014 words of instructions outside code blocks.
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.
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.
The full file from rizsotto/Bear at commit 7238459, republished under its GPL-3.0 licence (© rizsotto). 1,014 words, ~1,951 tokens.
.claude/skills/requirements/SKILL.md (or your agent's skills folder).docs/requirements/CLAUDE.md owns the format: the template, file naming,
status lifecycle, test-tag convention, and the list of what does not
belong. Read it first and follow it; this skill operationalizes it.
This skill adds the method. Every check below traces to a real cleanup this directory needed: duplicated passages that drifted into apparent contradiction, implementation detail displacing contract, confusable names that needed paragraphs to disambiguate, glosses that did not match their link, and acceptance criteria no test verified. Run the checks whether writing a new requirement, editing an existing one, or auditing the directory.
Read docs/requirements/CLAUDE.md. If the change involves reasoning or
a rejected alternative, read docs/rationale/CLAUDE.md too -- the why
goes there, linked from a ## Rationale section, never inlined.
Every behavior has exactly one owning requirement file. Before adding any passage, find where it belongs:
ls docs/requirements/ and grep the directory for the key nouns of
the behavior. Read every file that hits.When another file needs to mention the behavior, it gets a one-line
pointer naming the owner ("owned by output-duplicate-detection"),
never a re-narration. If a re-narration can drift, it will.
ls docs/requirements/ shows
them: cli-, interception-, output-, recognition-). Do not
invent a new prefix for one file, and pick the prefix by what the
content is about, not by which crate implements it.Requirements: tag in tests (grep -rn "Requirements:.*<old-id>" crates/ tests/), every cross-reference in docs/, and re-run the
coverage script.docs/requirements/CLAUDE.md ends with the list of what does not
belong; this check is how to apply it. For every sentence ask: is this
what the user can expect (keep), why we chose it (rationale entry), or
how it is built (code comment)? Beyond that list, remove on sight:
Path::canonicalize, crate names, function names). State the
observable behavior instead.implemented.The boundary the no-literal-flags rule needs: it bans flags and config
keys of Bear itself; flags of the compilers Bear classifies (-c,
--version, -showme) are subject matter and do appear.
A link is two claims: the target exists, and the gloss describes it. Check both -- read the target and confirm the sentence around the link matches what that file actually owns. A gloss describing env-derived flags that links the wrapper-mode mechanism is worse than no link.
## Known limitations section
(not in Notes, not in a neighboring file that happens to mention the
feature); link the tracking issue when one exists.Walk the acceptance criteria one by one; each must map to at least one Given-When-Then scenario. A criterion with no scenario is either untestable (rewrite the criterion) or a coverage hole (write the scenario). Scenarios are canonical; tests implement them and cite the requirement ID.
Status discipline: a new requirement starts at proposed and waits for
approval (see the decision protocol in the root CLAUDE.md); the full
lifecycle is the status table in docs/requirements/CLAUDE.md. Set
implemented only after step 8 passes.
# every implemented requirement has at least one tagged test
./scripts/check-requirements-coverage.sh
# cross-references resolve (review hits; backticked non-ID words
# sharing a prefix are false positives; keep the prefix list in
# sync with step 3)
grep -hoE '`(cli|interception|output|recognition)-[a-z0-9-]+(\.md)?`' \
docs/requirements/*.md | tr -d '`' | sed 's/\.md$//' | sort -u | \
while read -r id; do
[ -f "docs/requirements/$id.md" ] || echo "dangling: $id"
done
# IDs are written without the .md extension; a suffixed hit is itself
# a style fix even when the target exists
# implementation-leakage heuristics on the touched file (review hits)
grep -nE '::|\.(rs|yaml|yml)\b|\bcrate\b' docs/requirements/<file>.mdThe leakage grep is a prompt, not a verdict: hits in Intent or acceptance criteria almost always need fixing; a type deliberately named as the source of truth for an interchange format, or test-file locations in Testing and Notes, are legitimate and stay.
Then a final read of the touched file asking the step questions in order: single owner (2), self-explaining name (3), contract-only (4), verified references (5), limitations placed (6), every criterion tested (7).
When editing an existing file, apply the checks to the passages the change touches. Fix genre violations you are already rewriting; note violations elsewhere in the file and propose a separate cleanup rather than growing the change. A deliberate directory-wide sweep is its own task with its own commit series.
© rizsotto, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/requirements of rizsotto/Bear.
Open the folder on GitHubat commit 7238459
Requirements 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Requirements this skillrizsotto/Bear | 6.5k | — | ~2k | Automated safety check: Pass | GPL-3.0 | |
| Crap Analysisardalis/RiverBooks | 135 | 2 repos | ~3.4k | Automated safety check: Pass | None | |
| Code Coverages3s-project/s3s | 311 | — | ~789 | Automated safety check: Pass | Apache-2.0 | |
| Project Statusbactopia/bactopia | 522 | — | ~787 | Automated safety check: Pass | MIT | |
| Check Coverageldayton/Dippy | 243 | — | ~403 | Automated safety check: Pass | MIT | |
| Guarding Destructive Operationskajisho5/ffmpeg-skill | 1.9k | — | ~2.6k | Automated safety check: Pass | MIT |
ardalis/RiverBooks
Analyze code coverage and CRAP (Change Risk Anti-Patterns) scores to identify high-risk code.
s3s-project/s3s
Measure and grow the line coverage of the s3s crate. An agent skill from s3s-project/s3s.
bactopia/bactopia
Show a live snapshot of the Bactopia project state — component counts, GroovyDoc coverage, nf-test coverage, and structural issues.
ldayton/Dippy
Ensure comprehensive test coverage for a CLI handler. An agent skill from ldayton/Dippy.
kajisho5/ffmpeg-skill
Add and review preconditions on operations that delete, overwrite, rewrite history, or resolve a caller-supplied name to a filesystem path — refusing instead of warning, placing the guard ahead of…
swingerman/engineer
A skill your agent uses to add a third validation layer to the ATDD workflow — after acceptance tests verify WHAT and unit tests verify HOW, mutation testing verifies the tests actually catch bugs.
rizsotto/Bear
Cut a release of Bear -- verify metadata, run the full check set, fast-forward to master, tag, and publish a GitHub release plus discussion announcement.
Categories
Write, modify, or review a requirement file under docs/requirements -- pick the single owning file, keep the text contract-only, name IDs so they need no explanation, and verify cross-references and…. Requirements is an agent skill from rizsotto/Bear. Write, modify, or review a requirement file under docs/requirements -- pick the single owning file, keep the text contract-only, name IDs so they need no explanation, and verify cross-references and test coverage.
Requirements fits situations like: the user asks to add; review a requirement; the decision protocol calls for writing one.
Run `npx skills add rizsotto/Bear --skill requirements -a claude-code`. Or copy the skill folder (.claude/skills/requirements in rizsotto/Bear) into .claude/skills/requirements in your project. Claude Code loads it when a task matches its description.
Run `npx skills add rizsotto/Bear --skill requirements -a codex`. Or copy the skill folder (.claude/skills/requirements in rizsotto/Bear) into .agents/skills/requirements in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rizsotto/Bear --skill requirements -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/requirements, .gemini/skills/requirements, .github/skills/requirements and .opencode/skills/requirements in your project.
SKILL.md names no scripts, command-line tools or credentials: Requirements is instructions for the agent only.
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.
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.
Requirements is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 7.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Requirements: Crap Analysis (ardalis/RiverBooks, 135 stars), Code Coverage (s3s-project/s3s, 311 stars), Project Status (bactopia/bactopia, 522 stars) and Check Coverage (ldayton/Dippy, 243 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
rizsotto (a GitHub user) maintains it in rizsotto/Bear, which has 6,510 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 8, 2026.
Source: rizsotto/Bear on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.