Guards

196 mods

activity-status

MatheusChiodi/cockpit

Live status line with the tool Claude is running right now

★ 1Status lineGuards

agent-cap

MatheusChiodi/cockpit

/agentcap caps how many subagents run at once and asks before each one past the cap

★ 1GuardsCommandsAutomation

alias-import-guard

MatheusChiodi/cockpit

Refuses deep ../../ imports when tsconfig paths has an alias for the folder, and names the alias to use

★ 1Guards

amend-guard

MatheusChiodi/cockpit

Asks before git commit --amend or git rebase rewrites commits that are already on a remote branch

★ 1GuardsAutomation

any-guard

MatheusChiodi/cockpit

Asks before an edit adds any to TypeScript: ": any", "as any", " " or any[]

★ 1Guards

archive-add-guard

MatheusChiodi/cockpit

Asks before git add stages an archive, installer or database file, or any file over 5 MB

★ 1Guards

big-output-toast

MatheusChiodi/cockpit

A toast when one tool result is larger than 20,000 characters, since that much output eats the context

★ 1ToastsGuards

big-read-guard

MatheusChiodi/cockpit

Refuses reading a file over 512 KB whole and asks for a slice

★ 1Guards

branch-drift

MatheusChiodi/cockpit

Toast once when the branch name says one thing and the files being edited say another

★ 1ToastsGuards

build-result-status

MatheusChiodi/cockpit

Keeps the last mvn or gradle run in the status line: pass or fail, time, tests run and failures

★ 1Status lineGuards

build-size-status

MatheusChiodi/cockpit

Status line with the size of the build output and how much it grew in this session

★ 1Status lineGuards

cat-guard

MatheusChiodi/cockpit

Refuses cat, type and Get-Content on a file over 100 KB and points to a slice or Grep

★ 1Guards

catch-swallow-guard

MatheusChiodi/cockpit

Refuses edits that add an empty catch block or an except that only passes

★ 1Guards

chmod-guard

MatheusChiodi/cockpit

Blocks world-writable permissions, recursive chown on root or home, and icacls grants to Everyone

★ 1Guards

ci-config-guard

MatheusChiodi/cockpit

Asks before an edit to pipeline and deploy configuration: GitHub workflows, GitLab CI, Jenkinsfile, vercel.json, eas.json

★ 1Guards

ci-status

MatheusChiodi/cockpit

Status line with the state of the last GitHub Actions workflow (via gh)

★ 1Status lineGuards

classname-build-note

MatheusChiodi/cockpit

Tells Claude when an edit builds a Tailwind className by concatenation, or assembles a class like bg-${color} that Tailwind never generates

★ 1ToastsGuards

client-env-guard

MatheusChiodi/cockpit

Refuses browser code in Vite and Next.js that reads an env variable the bundler never exposes

★ 1Guards

cmd-log

MatheusChiodi/cockpit

/cmdlog opens a pane with the shell commands, status and duration

★ 1PanesGuardsCommands

commented-code-note

MatheusChiodi/cockpit

Tells Claude when an edit leaves three or more lines of commented-out code

★ 1ToastsGuards

commit-review

MatheusChiodi/cockpit

Asks you to look at the diff before a big commit goes through, showing the files and lines staged

★ 1GuardsAutomation

conventions-context

MatheusChiodi/cockpit

Points Claude at CONTRIBUTING.md or a conventions file with its path, size and headings, to read before writing code

★ 1GuardsPrompt

cors-open-guard

MatheusChiodi/cockpit

Asks before an edit opens CORS to every origin with * or a bare cors()

★ 1Guards

coverage-status

MatheusChiodi/cockpit

Status line with the line coverage of the last report in the project, and how far it moved

★ 1Status lineGuards