claude-tweaks:codebase-onboarding

Generate CLAUDE.md, rules, and skills from observed project patterns.

2|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/thomasholknielsen/claude-tweaks --skill claude-tweaks-codebase-onboarding
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-tweaks:codebase-onboarding
Source: https://github.com/thomasholknielsen/claude-tweaks/tree/main/skills/codebase-onboarding
Command: npx skills add https://github.com/thomasholknielsen/claude-tweaks --skill claude-tweaks-codebase-onboarding

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides the creation of Claude Code configuration for a project, including a CLAUDE.md, targeted rules, and a prioritized set of skills that reflect observed codebase patterns.

Core Features & Use Cases

  • Initial mode: detects absence of CLAUDE.md and .claude/ and generates a full onboarding configuration from scratch.
  • Update mode: audits existing .claude/ configuration and proposes targeted patches to drift or gaps.
  • Grounded outputs: artifacts (CLAUDE.md, SKILL.md, rules) are tailored to the project's observed conventions and patterns.

Quick Start

Run /claude-tweaks:codebase-onboarding to bootstrap the project onboarding artifacts.

Frequently Asked Questions about claude-tweaks:codebase-onboarding

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Claude Code configuration for an existing project?

Set up Claude Code configuration by auditing existing .claude/ directory and CLAUDE.md files to propose targeted patches that correct configuration drift and fill gaps.

What is the best way to generate a CLAUDE.md file from scratch?

Generate a CLAUDE.md file from scratch by detecting the absence of configuration files and producing project-specific sections, rules, and skill templates grounded in observed codebase patterns.

How does codebase onboarding detect project conventions automatically?

Codebase onboarding detects project conventions by analyzing the repository's existing patterns and generating prioritized skills and rules tailored to those observed conventions.

Can I use this onboarding process for greenfield projects with no existing config?

Yes, you can use the initial mode for greenfield projects; it detects missing CLAUDE.md and .claude/ directories to generate a full onboarding configuration from scratch.

How do I update Claude Code rules when a project's conventions change?

Update Claude Code rules by running the update mode, which audits current configuration drift and generates patch-ready updates reflecting newly observed conventions.