adversarial-reviewer
Review code through three hostile personas - the Saboteur, the New Hire, and the Security Auditor - each required to find at least one issue. Use when a…
Generate or repair a .gitignore tailored to the project's actual stacks, frameworks, OS, and editors, and untrack files that are already committed but should be ignored. Flags secrets/build/dependency files that slipped into the repo. Use when creating, fixing, or auditing
$ npx -y skills add KhaledSaeed18/dotclaude --skill gitignore --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/gitignoreContext preview
The summary Claude sees to decide when to auto-load this skill.
Generate or repair a .gitignore tailored to the project's actual stacks, frameworks, OS, and editors, and untrack files that are already committed but should be ignored. Flags secrets/build/dependency files that slipped into the repo. Use when creating, fixing, or auditing
name: gitignore description: Generate or repair a .gitignore tailored to the project's actual stacks, frameworks, OS, and editors, and untrack files that are already committed but should be ignored. Flags secrets/build/dependency files that slipped into the repo. Use when creating, fixing, or auditing .gitignore. argument-hint: "(optional) stack/framework to target, or 'audit'"
Produce a `.gitignore` that fits *this* repo (driven by the stacks actually present, not a generic blob) and fix the common failure where a pattern is added but the file is already tracked, so Git keeps it anyway.
Scan the repo for what's actually in use rather than guessing:
Compose sections per detected stack. Cover, for each:
Use the canonical templates as reference (GitHub's `github/gitignore`, gitignore.io / Toptal generator) but tailor; don't dump every language. Prefer anchored, specific patterns (`/dist/` for a root-only dir) over broad ones that may catch wanted files.
Editing `.gitignore` won't stop tracking files Git already knows about. For each such file/dir, after confirming:
git rm -r --cached path/to/thing # removes from tracking, keeps it on disk
Then it stays on disk but drops out of the repo on the next commit. For tracked secrets, also flag history rewrite + credential rotation; `rm --cached` alone leaves them in every past commit.
Report the stacks detected, what got newly ignored or untracked, and any secrets/artifacts that need follow-up beyond `.gitignore`.
Reusable Claude Code extension registry. skills, subagents, slash commands, and hooks for engineering, git, testing, and security workflows. Distributed as a shadcn GitHub registry and as installable plugins.
Repo: KhaledSaeed18/dotclaude
Review code through three hostile personas - the Saboteur, the New Hire, and the Security Auditor - each required to find at least one issue. Use when a…
Review an API contract (REST or GraphQL) before or while it is implemented, checking resource naming, HTTP semantics, status codes, error shape, pagination,…
Process code-review feedback with technical rigour — understand each point, check it against the actual codebase, and respond with reasoning or implementation…
Author a new subagent for this repository end to end by scaffolding it with pnpm new, curating its tool allowlist, setting model, color, and memory in…
Author a new slash command for this repository end to end by scaffolding it with pnpm new, writing the frontmatter and argument handling, drafting the prompt…
Author a new Claude Code hook for this repository end to end by scaffolding it with pnpm new, writing the hook script and its settings.json wiring, documenting…