Comprehensive Claude Code project configuration example with hooks, skills, agents, commands, and GitHub Actions workflows
This repository is a reference configuration showcase for Claude Code, demonstrating how to structure a production-grade project that gets consistent, convention-aware output from the agent. It organizes everything under a `.claude/` directory containing skills (reusable domain knowledge documents covering testing patterns, GraphQL schema conventions, and custom UI components), specialized agents (including a code reviewer that checks TypeScript strict mode, error handling, and mutation patterns), and slash commands like `/ticket` and `/onboard`. Hooks defined in `settings.json` auto-format code, run type-checks, execute tests on file changes, and block edits to the main branch. A skill evaluation system analyzes each prompt against keyword and file-path patterns to suggest relevant skills automatically. Four GitHub Actions workflows handle automated PR review, monthly documentation synchronization, weekly directory-level quality fixes, and biweekly dependency audits. MCP server integration via `.mcp.json` connects Claude Code to JIRA or Linear, allowing it to read tickets, implement features, update statuses, and file new bug tickets within a single workflow. The showcase targets engineering teams looking to standardize how Claude Code operates across a shared codebase.
- ✓Healthy fork ratio
- ✓Clear description
- ✓Documented (README)
- !No standard license detected
git clone https://github.com/ChrisWiles/claude-code-showcase{
"mcpServers": {
"claude-code-showcase": {
"command": "node",
"args": ["/path/to/claude-code-showcase/dist/index.js"]
}
}
}13 items en este repositorio
MUST BE USED PROACTIVELY after writing or modifying any code. Reviews against project standards, TypeScript strict mode, and coding conventions. Checks for anti-patterns, security issues, and performance problems.
Git workflow agent for commits, branches, and PRs. Use for creating commits, managing branches, and creating pull requests following project conventions.
Core component library and design system patterns. Use when building UI, using design tokens, or working with the component library.
Formik form handling with validation patterns. Use when building forms, implementing validation, or handling form submission.
GraphQL queries, mutations, and code generation patterns. Use when creating GraphQL operations, working with Apollo Client, or generating types.
Modern React UI patterns for loading states, error handling, and data fetching. Use when building UI components, handling async data, or managing UI states.
Four-phase debugging methodology with root cause analysis. Use when investigating bugs, fixing test failures, or troubleshooting unexpected behavior. Emphasizes NO FIXES WITHOUT ROOT CAUSE FIRST.
Jest testing patterns, factory functions, mocking strategies, and TDD workflow. Use when writing unit tests, creating test factories, or following TDD red-green-refactor cycle.
Resumen de MCP Servers
# Claude Code Project Configuration Showcase
> Most software engineers are seriously sleeping on how good LLM agents are right now, especially something like Claude Code.
Once you've got Claude Code set up, you can point it at your codebase, have it learn your conventions, pull in best practices, and refine everything until it's basically operating like a super-powered teammate. **The real unlock is building a solid set of reusable "[skills](#skills---domain-knowledge)" plus a few "[agents](#agents---specialized-assistants)" for the stuff you do all the time.**
### What This Looks Like in Practice
**Custom UI Library?** We have a [skill that explains exactly how to use it](.claude/skills/core-components/SKILL.md). Same for [how we write tests](.claude/skills/testing-patterns/SKILL.md), [how we structure GraphQL](.claude/skills/graphql-schema/SKILL.md), and basically how we want everything done in our repo. So when Claude generates code, it already matches our patterns and standards out of the box.
**Automated Quality Gates?** We use [hooks](.claude/settings.json) to auto-format code, run tests when test files change, type-check TypeScript, and even [block edits on the main branch](.claude/settings.md). Claude Code also created a bunch of ESLint automation, including custom rules and lint checks that catch issues before they hit review.
**Deep Code Review?** We have a [code review agent](.claude/agents/code-reviewer.md) that Claude runs after changes are made. It follows a detailed checklist covering TypeScript strict mode, error handling, loading states, mutation patterns, and more. When a PR goes up, we have a [GitHub Action](.github/workflows/pr-claude-code-review.yml) that does a full PR review automatically.
**Scheduled Maintenance?** We've got GitHub workflow agents that run on a schedule:
- [Monthly docs sync](.github/workflows/scheduled-claude-code-docs-sync.yml) - Reads commits from the last month and makes sure docs are still aligned
- [Weekly code quality](.github/workflows/scheduled-claude-code-quality.yml) - Reviews random directories and auto-fixes issues
- [Biweekly dependency audit](.github/workflows/scheduled-claude-code-dependency-audit.yml) - Safe dependency updates with test verification
**Intelligent Skill Suggestions?** We built a [skill evaluation system](#skill-evaluation-hooks) that analyzes every prompt and automatically suggests which skills Claude should activate based on keywords, file paths, and intent patterns.
A ton of maintenance and quality work is just... automated. It runs ridiculously smoothly.
**JIRA/Linear Integration?** We connect Claude Code to our ticket system via [MCP servers](.mcp.json). Now Claude can read the ticket, understand the requirements, implement the feature, update the ticket status, and even create new tickets if it finds bugs along the way. The [`/ticket` command](.claude/commands/ticket.md) handles the entire workflow—from reading acceptance criteria to linking the PR back to the ticket.
We even use Claude Code for ticket triage. It reads the ticket, digs into the codebase, and leaves a comment with what it thinks should be done. So when an engineer picks it up, they're basically starting halfway through already.
**There is so much low-hanging fruit here that it honestly blows my mind people aren't all over it.**
---
## Table of Contents
- [Directory Structure](#directory-structure)
- [Quick Start](#quick-start)
- [Configuration Reference](#configuration-reference)
- [CLAUDE.md - Project Memory](#claudemd---project-memory)
- [settings.json - Hooks & Environment](#settingsjson---hooks--environment)
- [MCP Servers - External Integrations](#mcp-servers---external-integrations)
- [LSP Servers - Real-Time Code Intelligence](#lsp-servers---real-time-code-intelligence)
- [Skill Evaluation Hooks](#skill-evaluation-hooks)
- [Skills - Domain Knowledge](#skills---domain-knowledge)
- [Agents - Specialized Assistants](#agents---specialized-assistants)
- [Commands - Slash Commands](#commands---slash-commands)
- [GitHub Actions Workflows](#github-actions-workflows)
- [Best Practices](#best-practices)
- [Examples in This Repository](#examples-in-this-repository)
---
## Directory Structure
```
your-project/
├── CLAUDE.md # Project memory (alternative location)
├── .mcp.json # MCP server configuration (JIRA, GitHub, etc.)
├── .claude/
│ ├── settings.json # Hooks, environment, permissions
│ ├── settings.local.json # Personal overrides (gitignored)
│ ├── settings.md # Human-readable hook documentation
│ ├── .gitignore # Ignore local/personal files
│ │
│ ├── agents/ # Custom AI agents
│ │ └── code-reviewer.md # Proactive code review agent
│ │
│ ├── commands/ # Slash commands (/command-name)
│ │ ├── onboard.md # Deep task exploration
│ │ ├── pr-review.md # PR review workflow
│ │ └── ...
│ │
│ ├── hooks/ # Hook scripts
│ │ ├── skill-eval.sh # Skill matching on prompt submit
│ │ ├── skill-eval.js # Node.js skill matching engine
│ │ └── skill-rules.json # Pattern matching configuration
│ │
│ ├── skills/ # Domain knowledge documents
│ │ ├── README.md # Skills overview
│ │ ├── testing-patterns/
│ │ │ └── SKILL.md
│ │ ├── graphql-schema/
│ │ │ └── SKILL.md
│ │ └── ...
│ │
│ └── rules/ # Modular instructions (optional)
│ ├── code-style.md
│ └── security.md
│
└── .github/
└── workflows/
├── pr-claude-code-review.yml # Auto PR review
├── scheduled-claude-code-docs-sync.yml # Monthly docs sync
├── scheduled-claude-code-quality.yml # Weekly quality review
└── scheduled-claude-code-dependency-audit.yml
```
---
## Quick Start
### 1. Create the `.claude` directory
```bash
mkdir -p .claude/{agents,commands,hooks,skills}
```
### 2. Add a CLAUDE.md file
Create `CLAUDE.md` in your project root with your project's key information. See [CLAUDE.md](CLAUDE.md) for a complete example.
```markdown
# Project Name
## Quick Facts
- **Stack**: React, TypeScript, Node.js
- **Test Command**: `npm run test`
- **Lint Command**: `npm run lint`
## Key Directories
- `src/components/` - React components
- `src/api/` - API layer
- `tests/` - Test files
## Code Style
- TypeScript strict mode
- Prefer interfaces over types
- No `any` - use `unknown`
```
### 3. Add settings.json with hooks
Create `.claude/settings.json`. See [settings.json](.claude/settings.json) for a full example with auto-formatting, testing, and more.
```json
{
"hooks": {
"PreToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "[ \"$(git branch --show-current)\" != \"main\" ] || { echo '{\"block\": true, \"message\": \"Cannot edit on main branch\"}' >&2; exit 2; }",
"timeout": 5
}
]
}
]
}
}
```
### 4. Add your first skill
Create `.claude/skills/testing-patterns/SKILL.md`. See [testing-patterns/SKILL.md](.claude/skills/testing-patterns/SKILL.md) for a comprehensive example.
```markdown
---
name: testing-patterns
description: Jest testing patterns for this project. Use when writing tests, creating mocks, or following TDD workflow.
---
# Testing Patterns
## Test Structure
- Use `describe` blocks for grouping
- Use `it` for individual tests
- Follow AAA pattern: Arrange, Act, Assert
## Mocking
- Use factory functions: `getMockUser(overrides)`
- Mock external dependencies, not internal modules
```
> **Tip:** The `description` field is critical—Claude uses it to decide when to apply the skill. Include keywords users would naturally mention.
---
## Configuration Reference
### CLAUDE.md - Project Memory
CLAUDE.md is Claude's persistent memory that loads automatically at session start.
**Locations (in order of precedence):**
1. `.claude/CLAUDE.md` (project, in .claude folder)
2. `./CLAUDE.md` (project root)
3. `~/.claude/CLAUDE.md` (user-level, all projects)
**What to include:**
- Project stack and architecture overview
- Key commands (test, build, lint, deploy)
- Code style guidelines
- Important directories and their purposes
- Critical rules and constraints
**📄 Example:** [CLAUDE.md](CLAUDE.md)
---
### settings.json - Hooks & Environment
The main configuration file for hooks, environment variables, and permissions.
**Location:** `.claude/settings.json`
**📄 Example:** [settings.json](.claude/settings.json) | [Human-readable docs](.claude/settings.md)
#### Hook Events
| Event | When It Fires | Use Case |
|-------|---------------|----------|
| `PreToolUse` | Before tool execution | Block edits on main, validate commands |
| `PostToolUse` | After tool completes | Auto-format, run tests, lint |
| `UserPromptSubmit` | User submits prompt | Add context, suggest skills |
| `Stop` | Agent finishes | Decide if Claude should continue |
#### Hook Response Format
```json
{
"block": true, // Block the action (PreToolUse only)
"message": "Reason", // Message to show user
"feedback": "Info", // Non-blocking feedback
"suppressOutput": true, // Hide command output
"continue": false // Whether to continue
}
```
#### Exit Codes
- `0` - Success
- `2` - Blocking error (PreToolUse only, blocks the tool)
- Other - Non-blocking error
---
### MCP Servers - External Integrations
MCP (Model Context Protocol) servers let Claude Code connect to external tools like JIRA, GitHub, Slack, databases, and more. This is how you enable workflows like "read a ticket, implement it, and update the ticket status."
**Location:** `.mcp.json` (project root, committed to git for team sharing)
**📄 Example:** [.mcp.json](.mcp.json)
#### How MCP Works
```
┌──Lo que la gente pregunta sobre claude-code-showcase
¿Qué es ChrisWiles/claude-code-showcase?
+
ChrisWiles/claude-code-showcase es mcp servers para el ecosistema de Claude AI. Comprehensive Claude Code project configuration example with hooks, skills, agents, commands, and GitHub Actions workflows Tiene 6k estrellas en GitHub y se actualizó por última vez 5mo ago.
¿Cómo se instala claude-code-showcase?
+
Puedes instalar claude-code-showcase clonando el repositorio (https://github.com/ChrisWiles/claude-code-showcase) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar ChrisWiles/claude-code-showcase?
+
Nuestro agente de seguridad ha analizado ChrisWiles/claude-code-showcase y le ha asignado un Trust Score de 62/100 (tier: OK). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene ChrisWiles/claude-code-showcase?
+
ChrisWiles/claude-code-showcase es mantenido por ChrisWiles. La última actividad registrada en GitHub es de 5mo ago, con 14 issues abiertos.
¿Hay alternativas a claude-code-showcase?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega claude-code-showcase en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/chriswiles-claude-code-showcase)<a href="https://claudewave.com/repo/chriswiles-claude-code-showcase"><img src="https://claudewave.com/api/badge/chriswiles-claude-code-showcase" alt="Featured on ClaudeWave: ChrisWiles/claude-code-showcase" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。