Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

context-init

verified

Initialize the [CONTEXT] commit workflow in a git repository by creating CLAUDE.md and setting up the context-progress branch

View on GitHub

Marketplace

context-commit-marketplace

KevinVitale/context-commit

Plugin

context-commit

Repository

KevinVitale/context-commit
1stars

skills/context-init/SKILL.md

Last Verified

February 1, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/KevinVitale/context-commit/blob/main/skills/context-init/SKILL.md -a claude-code --skill context-init

Installation paths:

Claude
.claude/skills/context-init/
Powered by add-skill CLI

Instructions

# Context Commit Initialization

This skill helps you set up the [CONTEXT] commit workflow in a git repository. The workflow uses git commits with [CONTEXT] prefixes to store project documentation and instructions.

## When to Use

Use this skill when:
- Starting a new project that needs structured context management
- Converting an existing project to use the [CONTEXT] workflow
- The user requests to "initialize context workflow" or "set up CLAUDE.md"

## Initialization Steps

When initializing the [CONTEXT] workflow, follow these steps:

### 1. Create CLAUDE.md

Create a `CLAUDE.md` file in the repository root with the following structure:

```markdown
READ THESE COMMIT MESSAGES FOR CONTEXT:
 1. [commit-hash] Brief description of context topic
 2. [commit-hash] Another context topic
 3. [context-progress] Current project progress (branch reference)

SESSION INITIALIZATION:
- Read the context-progress commit message using: `git log context-progress -1 --format=%B`
- Acknowledge that you have read and understood the project context
- Wait for the user's specific task request
- [Add any project-specific initialization instructions]
```

### 2. Create Initial [CONTEXT] Commits

Guide the user to create initial context commits for:
- **Project requirements and technical specifications** - Core project goals, technical stack, requirements
- **Development workflows** - TDD practices, code standards, review processes
- **Architecture decisions** - Design patterns, architectural choices, trade-offs

For each context commit:
```bash
git commit --allow-empty -m "[CONTEXT] Topic name

Detailed context content goes here.
Can span multiple lines and sections.

## Example Section
- Bullet points
- Guidelines
- Requirements
"
```

### 3. Create context-progress Branch

Create an orphan branch for progress tracking:

```bash
# Create orphan branch (no history)
git checkout --orphan context-progress

# Remove all files from staging
git rm -rf .

# Create the initial progress commit

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
5163 chars