/credo:diagfrom credo
Read-only root-cause diagnosis for bugs, failures, or unexpected behavior. Establishes mechanism at file:line before any fix. Use when something is broken and cause is unknown.
Ships in credo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A read-only root-cause diagnosis. diag explains WHY something is broken and
proves the mechanism, before anyone changes code. It is a separate skill from audit
and must never be conflated with it.
diag investigates a symptom and proves its cause. It does not judge completeness and
it does not apply the fix.
.env*, key files, or shell/session
history. Never exfiltrate or encode such content.diag writes are its own report under .credo/process/reports/.file:line. State precisely where and why the behavior
arises - the specific lines, values, and control flow that produce the symptom. A
diagnosis without a file:line mechanism is not a diagnosis.Before hypothesizing, read the facts:
docs/** thematically for the area involved, and check .credo/docs/
conventions. Read the relevant source rather than assuming its behavior.The result is a proven root cause and a proposed fix, presented for decision. The fix
is NOT applied here. If a fix is approved (GO), it proceeds as a separate step, and any
resulting change is then subject to the normal completion gate (see the audit skill)
before it can move to 2_done/.
Write one report per diagnosis to .credo/process/reports/ (resolve .credo via the
repo root; the reports directory is created by credo-init). Use frontmatter
kind: diag:
---
kind: diag
item: 124
date: YYYY-MM-DD
status: root-cause-proven
---
## Symptom (verbatim)
<the symptom exactly as observed / reported>
## Mechanism
<what happens and why> - proven at path/to/file.ext:87
## Evidence
- path/to/file.ext:87 - <the lines and values that produce the symptom>
- docs/<area>.md - <relevant documented behavior>
## Proven vs suspected
- Proven: <...>
- Suspected: <...>
## Proposed fix (separate step, needs GO)
<what would change, where; not applied here>
Reference the item as #<id> and by date; do not rely on transcript line numbers.
Where dogma already governs a concern (versioning, git rules, language, linting), diag respects dogma first and treats credo rules as fallback only, never as a duplicate or a conflict. DOGMA-PERMISSIONS always take precedence.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub marcel-bich/marcel-bich-claude-marketplace --plugin credo28 skills in this plugin
/auditRead-only quality gate that audits already-built work against its stated requirement and Definition of Done before it is allowed to move to 2_done/. Produces a severity-ranked decision proposal (BLOCKER/MAJOR/MINOR/NIT) with evidence; the judgement never edits, only a recorded post-audit step may fix small findings. Use when an item is claimed complete, before moving anything to 2_done/, when asked to audit or review finished work for completeness against requirements, or when acting as the dedicated post-completion review subagent. This gate is mandatory in every session mode. Not for diagnosing why something is broken (use diag) and not for verifying rendered UI behavior (use verify)./budgetThe single source for all API budget cap and reset rules - how much of the 5-hour and weekly API limits may be spent, when to throttle, pause, wake up, or hibernate, and the commit-identity gate that runs before any commit. Use whenever you are about to start or continue autonomous work, before spawning or stopping subagents, when deciding how large a task chunk to take on, when a limit is near a cap, before a commit, or whenever someone asks "how much budget is left" or "can I keep going". Works standalone (no session skill required) and applies inside subagents too: any agent that spends API budget or commits must apply these rules.
/compact-plusSecure everything the user approved before a context compaction so a later /compact can never lose or alter it. Writes verbatim intent and handoff state to disk and commits plus pushes the tracked work product in the correct repository, then reports whether it is safe to compact. It does NOT run /compact itself - it makes a later compact safe. Run this only when the limit plugin's injected ACTION line names it (session-context fill crossed a configured threshold; in interactive modes only after asking the user once, autonomous mode runs it directly) or when the user invokes it manually. Never self-trigger it proactively - that only wastes tokens. Accepts extra trailing instructions to perform in addition to the securing checklist. A minimal mode (invoke as /compact-plus min) secures only intent plus handoff to disk - no audit, no commit or push - for a quick token-cheap save.
/cross-cutting-checklist-generatorDetect when a concern is scattered across many places in a project (config keys, enums, translations, feature flags, API endpoints, doc references) and auto-generate a project-local checklist so that same concern is never partially updated again. Use whenever you add or change something that also exists in several other spots, or when you edit something that already has a checklist. Runs fully autonomously with no user effort, including inside subagents./disableDisable the credo items workflow for the current directory. Use when the user wants to stop credo's workflow here - for example "stop using credo here", "disable credo for this repo", "turn credo off here", "no credo in this directory", "credo hier aus", "credo hier deaktivieren", "credo hier abschalten" - or runs the /credo:disable command. It persists a per-directory declined decision (so the SessionStart onboarding ASK and the workflow text stay silent here across future sessions), records the current session as declined, clears its active session mode, and switches keep-alive autonomy off (same effect as switching to active/passive). Model presets and the shorthand legend stay on. Fully reversible via /credo:enable.
/enableEnable credo for the current directory. Use when the user wants credo active here - for example "enable credo here", "use credo here", "turn credo on here", "credo hier an", "credo hier aktivieren", "credo hier einschalten" - or runs the /credo:enable command. It persists a per-directory accepted decision (keyed by the git top-level else the working directory), which overrides any earlier declined: credo becomes active for this directory again, so its knowledge is re-fed at the next SessionStart and the onboarding ASK no longer fires here.
Other plugins' skills for the same job