Initialize the [CONTEXT] commit workflow in a git repository by creating CLAUDE.md and setting up the context-progress branch
View on GitHubskills/context-init/SKILL.md
February 1, 2026
Select agents to install to:
npx add-skill https://github.com/KevinVitale/context-commit/blob/main/skills/context-init/SKILL.md -a claude-code --skill context-initInstallation paths:
.claude/skills/context-init/# 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