Claude Code Infrastructure Showcase: auto-activating skills, hooks, agents
diet103/claude-code-infrastructure-showcase
A ready-made Claude Code setup you copy into your own project. Small scripts watch what you type and what the assistant edits, and tell it which coding guide to read first. It also brings four coding guides, eight helper agents and commands that keep a written plan of your task between sessions.
Pack description by its author: “A ready-made Claude Code setup you copy into your own project. Small scripts watch what you type and what the assistant edits, and tell it which coding guide to read first. It also brings four coding guides, eight helper agents and commands that keep a written plan of your task between sessions.”
Software engineeringChanges how your assistant works, all the timeCommands you run when neededKnowledge and rules for your assistantGives your assistant new abilities with scripts
1. Changes your files
Skills that write or edit files: backend-dev-guidelines, frontend-dev-guidelines, error-tracking, skill-developer, /verify-setup.
github.com/diet103/claude-code-infrastructure-showcase/blob/07f75ce/2. Runs code on your machine
Every prompt: A bash wrapper sources ~/.bashrc and .claude/hooks/.env, then runs a TypeScript script with tsx. It matches the prompt against skill-rules.json and prints the skill banner into the assistant's context. Writes session state to .claude/hooks/state/, metrics to .claude/hooks/state/metrics.jsonl and a log to .claude/hooks/data/session-intel.log. Every prompt, AI modes only: In fallback or ai-only mode the prompt is sent to Gemini, OpenAI, Anthropic or a local Ollama (first key found) for sorting.
github.com/diet103/claude-code-infrastructure-showcase/blob/07f75ce/3. Sends data
The hooks run bash and TypeScript on every prompt and edit and read your ~/.bashrc. Read .claude/hooks/ before installing, and set SKIP_PRETOOLUSE_AI=true if AI keys live in your shell but you do not want edits sent to a provider.
github.com/diet103/claude-code-infrastructure-showcase/blob/07f75ce/4. Commercial use
MIT: keep the license notice
github.com/diet103/claude-code-infrastructure-showcase/blob/07f75ce/Checked against the pack's files at commit 07f75ce, on Nov 13, 2026. Tap a verdict to see its source.How we checkedReport an error
Good for you if
- You build a TypeScript app with Claude Code and its skills rarely switch on by themselves
- Your stack is close to the author's - Node.js with Express and Prisma on the back, React with MUI on the front, Sentry for errors
- You lose track of a long task when the chat runs out of room and want a plan saved in files
- You want an example to learn from when you write your own skills and hooks
Probably not for you if
- You want a finished product: the author calls it a reference library to copy from, not a working app
- You work on plain Windows without WSL2: the scripts need bash
What its answer looks like
The banner the prompt script prints
⛔ MANDATORY SKILL ACTIVATION REQUIRED You MUST activate these skills BEFORE any action: → frontend-dev-guidelines ⚠️ EDITS WILL BE BLOCKED until mandatory skills are activated. Your FIRST action must be: Skill tool calls. [via regex]
The skill's own example, from README.md. More examples
What you'll notice
- A banner above your request that names the guide the assistant must read first
- Sometimes the first edit is stopped once until that guide is read; the second try goes through
- A dev/active/ folder with a plan, a context file and a task list when you run /dev-docs
- New folders and log files inside .claude/ in your project (state, tsc-cache, logs)
What you need
- Claude Code, Codex
- Free, MIT license
- Copy the .claude folder into your project, or run the author's setup wizard; Node.js 18+ and jq needed
- An AI key (Gemini, OpenAI or Anthropic) or a local Ollama is optional, for smarter matching and search over your plans
Words on this page
- Skill
- A set of written instructions your AI assistant follows. Installing one is like giving it a playbook.
- Skill pack
- Several skills in one GitHub repository, installed together.
- Slash command
- A command you type in the assistant's chat, starting with /.
- Hook
- A small program the assistant runs by itself at set moments, for example when a session starts.
- Subagent
- A helper the assistant starts for one part of a task.
- API
- A way for programs to talk to a service, usually with a key.
| Repository | diet103/claude-code-infrastructure-showcase |
|---|---|
| GitHub stars | 10,055 |
| Skills | 5 |
| Category | Software engineering |
| License | MIT |
| Last updated | Jul 13, 2026 · card checked Nov 13, 2026 at commit 07f75ce |
| Install counts | diet103/claude-code-infrastructure-showcase on skills.sh, Vercel's skills directory, which shows installs and security audits per skill |
diet103/claude-code-infrastructure-showcase popularity over time
What Claude Code Infrastructure Showcase does
- Every prompt: a script checks your words against skill-rules.json and prints which skills the assistant must or should load first
- Before every edit: a guard stops the first edit once if a required skill was not loaded, then lets the retry through
- After every edit: the edited file and the build and type-check commands for its folder are written to a small cache
- When the assistant stops: old state files are cleaned up, and plan files can be indexed for later search (only if you set that up)
- Four guides: backend (Express, Prisma, Zod, Sentry), frontend (React, MUI v7, TanStack), Sentry error tracking, and how to write skills
- Eight helper agents (review, refactor, docs, error fixing, plan review, web research) and four slash commands
- Dev docs: a plan, context and task list per task in dev/active/, so work survives a context reset
| Level | Behaviour |
|---|---|
| disabled | Default. Keyword and pattern matching only, no AI calls for matching |
| fallback | An AI provider sorts your prompt first; keyword matching if it fails |
| ai-only | AI sorting only, nothing on failure |
From the pack's SKILL.md files, summarised by AgentGid.
The 5 skills, explained
backend-dev-guidelines
Rules for back-end code in layers: routes, controllers, services, data access
You give
- The route, endpoint or service you want to build or change
You get
- Code that follows the checklist: route, controller extending BaseController, service, repository, Zod check, Sentry, tests, unifiedConfig
frontend-dev-guidelines
Rules for React screens: loading states, data fetching, file layout and MUI v7 styling
You give
- The component, page or feature you want
You get
- A component that follows the checklist: lazy loading, SuspenseLoader, useSuspenseQuery, import aliases, default export
error-tracking
Adds Sentry error and speed tracking to your services
You give
- The controller, job or database call that needs tracking
You get
- Sentry v8 error capture and performance spans in the author's patterns
skill-developer
Explains how to write your own skills and the rules that make them switch on
You give
- The skill you want, and the words or files that should trigger it
You get
- A skill folder under 500 lines plus resource files, and its entry in skill-rules.json
/dev-docs
Writes a plan for a big task into three files in your project
You give
- What you need planned
You get
- dev/active/<task>/<task>-plan.md
- <task>-context.md with key files and decisions
- <task>-tasks.md as a checklist
See it in action
The skill defines what its answer looks like. Its own example:
⛔ MANDATORY SKILL ACTIVATION REQUIRED You MUST activate these skills BEFORE any action: → frontend-dev-guidelines ⚠️ EDITS WILL BE BLOCKED until mandatory skills are activated. Your FIRST action must be: Skill tool calls. [via regex]
From README.md.
The skill defines what its answer looks like. Its own example:
dev/active/<task-name>/ <task-name>-plan.md the plan: summary, current state, phases, tasks, risks, metrics, timeline <task-name>-context.md key files, decisions, dependencies <task-name>-tasks.md checklist for tracking progress Each file carries "Last Updated: YYYY-MM-DD".
When to reach for it
| You want | Use |
|---|---|
| Skills that load when your request is about them | Install the four essential hooks and skill-rules.json |
| Plan a big task and keep the plan between sessions | /dev-docs <task> |
| Save progress before the chat runs out of room | /dev-docs-update |
| Check that the setup works | /verify-setup, or bash .claude/scripts/verify-setup.sh |
| Match by meaning instead of keywords | Set skill_activation_mode to fallback and add an AI key |
| Stop the edit blocking for a while | SKIP_MANDATORY_SKILLS=true |
Skills in diet103/claude-code-infrastructure-showcase
| Skill | In plain words | Changes files? | What it does (author) |
|---|---|---|---|
| backend-dev-guidelines | Rules for back-end code in layers: routes, controllers, services, data access | Yes | Comprehensive backend development guide for Node.js/Express/TypeScript microservices. Use when creating routes, controllers, services, repositories, middleware, or working with Express APIs, Prisma database access, Sentry error tracking, Zod validation, unifiedConfig, dependency injection, or…npx skills add diet103/claude-code-infrastructure-showcase --skill backend-dev-guidelines |
| error-tracking | Adds Sentry error and speed tracking to your services | Yes | Add Sentry v8 error tracking and performance monitoring to your services. Use this skill when adding error handling, creating new controllers, instrumenting cron jobs, or tracking database performance. ALL ERRORS MUST BE CAPTURED TO SENTRY - no exceptions.npx skills add diet103/claude-code-infrastructure-showcase --skill error-tracking |
| frontend-dev-guidelines | Rules for React screens: loading states, data fetching, file layout and MUI v7 styling | Yes | Frontend development guidelines for React/TypeScript applications. Modern patterns including Suspense, lazy loading, useSuspenseQuery, file organization with features directory, MUI v7 styling, TanStack Router, performance optimization, and TypeScript best practices. Use when creating components,…npx skills add diet103/claude-code-infrastructure-showcase --skill frontend-dev-guidelines |
| skill-developer | Explains how to write your own skills and the rules that make them switch on | Yes | Create and manage Claude Code skills following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter,…npx skills add diet103/claude-code-infrastructure-showcase --skill skill-developer |
| source-command-verify-setup | — | — | Run the infrastructure health check and fix anything that failsnpx skills add diet103/claude-code-infrastructure-showcase --skill source-command-verify-setup |
The author's descriptions come from each skill's SKILL.md; the plain-words column is AgentGid's.
Good to know before you install
- It switches on by itself: once the hooks are registered, a script runs on every prompt, before and after every edit, and when the assistant stops.
- Code you write can be sent to an AI provider even in the default mode: the edit guard sends the first 1,000 characters of an edit to Gemini, OpenAI or Anthropic whenever one of their keys is set, unless SKIP_PRETOOLUSE_AI=true.
- The scripts read your ~/.bashrc and .claude/hooks/.env to find AI keys, so a key you set for something else is picked up too.
- The guides are written for one stack (Express, Prisma, React, MUI v7, Sentry) and a blog example; on another stack you adapt them.
- Turn everything off at once by removing the hooks block from .claude/settings.json.
- The setup wizard can also overwrite your ~/.vimrc and ~/.config/nvim/init.lua, but only with the --editor option or a yes in its prompt.
Before you start
Works in
- Claude Code: project .claude folder (skills, hooks in settings.json, agents, commands)
- Codex: hooks in .codex/hooks.json and skills folder .agents/skills
You will need
- Node.js 18+ and npm: The hooks are TypeScript run with tsx; npm install in .claude/hooks
- bash (macOS, Linux or WSL2): The hook wrappers are bash scripts
- jq: The edit tracker and the Codex adapter parse hook input with jq
- Gemini, OpenAI or Anthropic API key, or Ollama: Optional: AI matching and plan search
Steps only you can do
- In Codex, accept the prompt to trust the project's hooks on first run (README.md (Works with Codex Too))
Then: The four hooks run under Codex - Optional: create a Gemini, OpenAI or Anthropic key and put it in .claude/hooks/.env, then set skill_activation_mode to fallback (https://aistudio.google.com/apikey)
Then: The prompt script sorts prompts with AI and falls back to keywords on failure - Decide whether the wizard may write your editor config into your home folder (--editor) (setup.ts)
Then: The wizard copies init.lua and vimrc, or skips them (default)
Mistakes to avoid
Copy the showcase settings.json over your own
Merge the hook entries into your existing .claude/settings.json
The integration guide warns against copying it directlySkip jq because the README says it is only for the optional Stop hooks
Install jq; the wired edit tracker and the Codex adapter use it too
Without jq the edit tracker exits and records nothingAssume the default mode never calls an AI provider
Set SKIP_PRETOOLUSE_AI=true if keys are in your shell and you want no calls
The edit guard creates a provider from any key it finds, independent of skill_activation_modeCopy the skills unchanged into a project on another stack
Adapt the guides and the path patterns in skill-rules.json to your folders
The guides are written for Express, Prisma, React and MUI v7, and the triggers match folders like frontend/src/Edit only .claude/skills and expect Codex to see the change
Run .claude/scripts/sync-agent-skills.sh to refresh .agents/skills/
Codex reads the mirror copy
Which one to pick
| If you need | Pick |
|---|---|
| You want skills that load themselves through hooks, plus TypeScript stack guides and a dev-docs routine to copy | This pack |
| You want a full workflow that plans, writes tests first and reviews before finishing | obra/superpowers |
| You want a catalog and installer for many ready Claude Code agents, commands, hooks and settings | davila7/claude-code-templates |
Works well with
- claude-code: The hooks, agents and slash commands are built for Claude Code
- openai-codex: The repo ships Codex hook settings and a skills mirror
- sentry-node: The error-tracking skill adds Sentry v8 to Node services
May I use it like this?
| Use | Answer | Condition |
|---|---|---|
| In a commercial app | Yes | MIT: keep the license notice |
| Passing the files on | Yes | MIT: keep the copyright and permission notice in copies |
| Work for clients | Yes | MIT allows use in work for others |
What leaves your machine
- The file path and the first 1,000 characters of an edit with imports or definitions → Gemini, OpenAI or Anthropic API (the first key found), or your Ollama URL, Before an edit, in any mode, when a key is in the environment, ~/.bashrc or .claude/hooks/.env. Opt out: SKIP_PRETOOLUSE_AI=true, or no AI keys in the environment
- Your prompt text → The chosen AI provider, Every prompt, only in fallback or ai-only mode. Opt out: Keep skill_activation_mode at disabled (default)
- Your prompt and the plan and context files of the active task (up to 8,000 characters each) → Gemini API (embeddings and relevance check), Only if GEMINI_API_KEY is set and you built .claude/hooks/data/sessions.db. Opt out: SESSION_SEARCH_ENABLED=false and SESSION_DOCS_ENABLED=false, or do not build the index
Install Claude Code Infrastructure Showcase
Official commands from the repository
git clone https://github.com/diet103/claude-code-infrastructure-showcase.git cd claude-code-infrastructure-showcase npx tsx setup.ts ~/my-project
Copies .claude/ into your project, asks for the mode and provider, runs npm install in .claude/hooks and a health check. Add --yes when an agent runs it.
Remove: Remove the hooks block from .claude/settings.json, then delete the copied .claude/ folders
git clone https://github.com/diet103/claude-code-infrastructure-showcase.git cp -r claude-code-infrastructure-showcase/.claude ~/my-project/.claude cd ~/my-project/.claude/hooks && npm install && chmod +x *.sh
If your project already has .claude/settings.json, merge the hook entries instead of copying the file.
Remove: Remove the hooks block from .claude/settings.json
The repo ships .codex/hooks.json, an adapter script and a copy of the skills in .agents/skills/. Launch codex from the repo root and accept the prompt to trust the project's hooks.
Or with the open-source skills CLI: npx skills add diet103/claude-code-infrastructure-showcase. Skills are instructions your agent follows: read them before installing.
What it installs and runs on your machine
Read in the code at commit 07f75ce, Nov 13, 2026
| When | What happens |
|---|---|
| Every prompt | A bash wrapper sources ~/.bashrc and .claude/hooks/.env, then runs a TypeScript script with tsx. It matches the prompt against skill-rules.json and prints the skill banner into the assistant's context. Writes session state to .claude/hooks/state/, metrics to .claude/hooks/state/metrics.jsonl and a log to .claude/hooks/data/session-intel.log. |
| Every prompt, AI modes only | In fallback or ai-only mode the prompt is sent to Gemini, OpenAI, Anthropic or a local Ollama (first key found) for sorting. |
| Every prompt, if a sessions.db exists | With GEMINI_API_KEY and a plan index you built, the prompt is turned into a vector by Gemini and matched against your saved plans. |
| Before every Edit/Write | The guard blocks the first edit (exit code 2) while a required skill is pending. For edits with imports or definitions it sends the file path and the first 1,000 characters of the change to an AI provider if any key is set, in every mode, unless SKIP_PRETOOLUSE_AI=true. Logs to .claude/hooks/skill-guard.log. |
| After every Edit/Write | Records the edited file, its folder and the build and tsc commands for it in .claude/tsc-cache/<session>/. Needs jq. |
| After the Skill tool | Clears the loaded skill from the pending list. |
| When the assistant stops | Deletes state files and tsc caches older than 7 days. If a sessions.db exists and dev/active/ has a task, starts a background npx tsx worker that sends the plan and context files to Gemini for embedding. |
| Setup wizard | Copies .claude/ into the target project, runs npm install in .claude/hooks, and with --editor copies init.lua and vimrc into your home folder. |
| Not wired by default | Optional Stop hooks for type checks and builds (tsc-check, stop-build-check-enhanced, trigger-build-resolver, error-handling-reminder) run only if you add them. |
The author's numbers, as reported
AgentGid did not run these tests
Settings
skill_activation_mode: In .claude/skills/skill-rules.json: disabled (default) | fallback | ai-onlySKILL_AI_PROVIDER: gemini | openai | anthropic | ollamaSKILL_CONSERVATIVENESS: strict | balanced | aggressiveSKIP_MANDATORY_SKILLS: true turns off edit blockingSKIP_PRETOOLUSE_AI: true stops the edit guard's AI analysisPRETOOLUSE_SOFT_BLOCK: true blocks the first edit on AI suggestions tooSESSION_DOCS_ENABLED: false turns off dev-doc reminders and indexingSESSION_SEARCH_ENABLED: false turns off search over saved plansDEBUG_SKILLS: 1 for verbose logs
Quick answers
- Is it free?
- Yes, MIT license. The optional AI matching uses your own provider key, which may cost money.
- Do I need an API key?
- No. The default mode matches keywords and patterns. A key is only for the optional AI matching and plan search.
- Does it send my code anywhere?
- Not without a key. If a Gemini, OpenAI or Anthropic key is in your environment, the edit guard sends parts of edits to that provider even in the default mode; set SKIP_PRETOOLUSE_AI=true to stop it.
- Does it work in Codex?
- Yes. The repo ships Codex hook settings and an adapter. Codex has no Skill event, so a required skill is cleared only by the second edit try.
- How do I turn it off?
- Remove the hooks block from .claude/settings.json; all hooks stop at once.
Checked by AgentGid on Nov 13, 2026 against commit 07f75ce of the pack's own files. agent.md for AI agents · Report a mistake
More software engineering skill packs
| # | Install | |||||
|---|---|---|---|---|---|---|
| 1 |
Gets a set of working habits for building software. It interviews you about a plan before it builds, turns the talk into a spec and small tickets, builds them test-first and reviews the result. |
330K | +32.5K | 39 | ||
| 2 |
Follows one fixed way of working. Before it builds anything, it asks what you really want and writes a short design for you to approve. Then it writes a step-by-step plan, builds it with tests first, has the work checked and asks how you want to finish. |
324K | +18.8K | 15 | ||
| 3 |
Gets four rules: think before coding, keep it simple, change only what you asked for, and set a clear goal it can check. It asks before guessing and writes less extra code. The rules come from the README's reading of a public post by Andrej Karpathy; the files do not say he made or reviewed them. |
235K | +14K | 1 | ||
| 4 |
DietrichGebert/ponytail
Checked
Stops overbuilding. It does what you asked in the simplest way that works, reuses what your project already has, and ends every answer by telling you what it left out. |
197K | +27.3K | 6 | ||
| 5 |
This repo is mostly a big collection of AI apps and tutorials. Its agent_skills folder holds seven separate skills you install one at a time. They help your assistant explain why old code exists, check a change or a package list, or find your abandoned side projects. Others test a draft on simulated readers, untangle a voice ramble, or split a big job across several AI models. |
145K | +3,089 | 10 | ||
| 6 |
Works like a careful senior engineer. It writes down what to build before coding, splits the work into small steps, proves each step with a test and reviews the result before launch. Nine slash commands cover the stages, and 25 skills switch on when a task matches. |
120K | +11K | 26 |
No pack matches.