rai-project-onboard

Discover existing codebases and generate governance documentation and knowledge graphs.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/fcastrillo/carbtrack-ai --skill rai-project-onboard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rai-project-onboard
Source: https://github.com/fcastrillo/carbtrack-ai/tree/main/.claude/skills/rai-project-onboard
Command: npx skills add https://github.com/fcastrillo/carbtrack-ai --skill rai-project-onboard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Brownfield onboarding of existing software projects is manual, error-prone, and delays governance alignment. This skill analyzes the codebase, detects conventions, and automatically fills governance templates and builds a knowledge graph to enable a ready-to-use /rai-session-start workflow.

Core Features & Use Cases

  • Discovery of codebase structure and conventions
  • Auto-fill governance docs: vision, prd, guardrails, backlog, architecture
  • Knowledge graph generation and memory graph to support governance discourse
  • Quick-start integration with rai init --detect and subsequent onboarding steps

Quick Start

Run the brownfield onboarding flow by first running rai init --detect on your project, then answer prompts to generate governance docs and build the knowledge graph.

Frequently Asked Questions about rai-project-onboard

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

FAQPage Schema
How do I onboard an existing codebase and generate governance documentation?

Brownfield onboarding discovers your existing codebase structure and conventions, then automatically fills governance templates including vision, PRD, guardrails, backlog, and architecture to produce ready-to-use governance docs.

What is a knowledge graph for software governance and when do I need one?

A knowledge graph for governance maps your codebase conventions and documentation into a structured memory graph. You need one when onboarding brownfield projects that require structured governance discourse and ready-to-use session workflows.

How do I start a brownfield project discovery process?

Run rai init --detect on your project source code to begin the brownfield discovery process, then answer prompts to generate governance docs and build the knowledge graph for your existing codebase.

Does the onboarding skill work with existing source code that has no governance docs?

Yes, this skill is designed for brownfield projects with existing source code but no governance alignment. It detects conventions and auto-fills governance templates to bridge the gap for projects with governance needs.

What is the minimum requirement to activate a governance session after onboarding?

The final memory graph gate requires at least 30 governance nodes for activation. The onboarding workflow builds this knowledge graph by discovering codebase structure and generating governance documentation.

Can I configure branch settings during the codebase onboarding process?

Yes, branch configuration is part of the onboarding workflow. After running discovery and generating governance templates, the process includes branch configuration before the final knowledge graph activation.