Skip to content

ChrisFmlyc/claude-code-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Claude Code Git Template

A reusable Git template repository that standardises how Claude Code operates across projects. Provides always-on rules, workflow skills, and CodeRabbit PR review configuration.

What's Included

File Purpose
CLAUDE.md Always-on rules: branch naming, conventional commits, TDD, security
.claude/settings.json Permission defaults for git, test runners, and GitHub CLI
.claude/skills/ Four invokable workflow skills (see below)
.coderabbit.yaml CodeRabbit PR review configuration
.gitignore Standard Node/TypeScript ignores

Usage

Option 1: GitHub Template

Click "Use this template" on GitHub to create a new repo based on this template.

Option 2: Copy into an Existing Project

Copy the relevant files into your project:

cp -r CLAUDE.md .claude .coderabbit.yaml .gitignore /path/to/your/project/

Option 3: Bootstrap with /bootstrap

After copying the files, run the bootstrap skill to set up git with a baseline commit:

/bootstrap

Skills

Skill Description
/bootstrap One-time repo bootstrap — initialises git, creates a baseline commit on main
/branch <type> <description> Create a branch in a git worktree for parallel Claude Code sessions
/implement <requirement> Enforced Red-Green-Refactor TDD cycle with discrete commits per phase
/pr Push the current branch and create a pull request via GitHub CLI

After Cloning

Customise CLAUDE.md with your project-specific commands. Fill in the build, test, and lint commands at the bottom of the file:

# build: npm run build
# test: npm test
# lint: npm run lint

Requirements

  • GitHub CLI (gh) — required for the /pr skill
  • A test framework of your choice — the /implement skill will ask if none is configured

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors