domain-knowledge-bootstrap

Initializes project knowledge graphs by generating draft business-truth skeletons from source code analysis.

Updated Jul 30, 2026
One-click install
npx skills add https://github.com/exception-coder/project-domain-knowledge --skill domain-knowledge-bootstrap-exception-coder
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: domain-knowledge-bootstrap
Source: https://github.com/exception-coder/project-domain-knowledge/tree/main/.claude/skills/domain-knowledge-bootstrap
Command: npx skills add https://github.com/exception-coder/project-domain-knowledge --skill domain-knowledge-bootstrap-exception-coder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Business rules are scattered across code, DDL, and logs, making it hard to distinguish stable business truths from incidental implementation details. This Skill bootstraps a project's domain knowledge base by scaffolding draft knowledge entries that human owners review and promote. ## Core Features & Use Cases - Two-phase initialization: Phase A writes the target project's agent entry files (CLAUDE.md / AGENTS.md) with tech stack and layering facts; Phase B generates draft business-truth skeletons (formula, flow, state, rule, concept, term) per module. - Mechanical scaffolding scripts: Provides scan, gaps, new, check, check-paths, and sync-modules commands that list class-name clues, detect coverage gaps, and validate module manifests without auto-extracting content into the knowledge base. - DDL baseline generation: Dumps real database schemas into an impl/ddl-baseline.md so SQL writing never relies on guessed table names. - Use Case: A knowledge-base owner says "initialize the yoooni project's knowledge graph" and the Skill runs gap analysis, drafts module-by-module candidates for human judgment, and produces validated draft Markdown entries ready for owner review. ## Quick Start Ask the AI to initialize the business knowledge graph for your project by providing the target project root path, then confirm the module priority list it proposes.

Frequently Asked Questions about domain-knowledge-bootstrap

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

FAQPage Schema
How do I initialize a business knowledge graph for a project?▼

Run the bootstrap workflow from the project-domain-knowledge repository root with the target project root path. It first writes the project's CLAUDE.md or AGENTS.md profile, then generates draft knowledge skeletons per module that owners review and fill with business definitions.

How to sync modules.json with actual code directories?▼

Run the sync-modules command with the project name and project root to preview a diff of new and missing directories. After owner confirmation, re-run with the apply flag to append new skeleton entries; it never deletes existing entries.

Does the bootstrap script automatically extract business rules from code?▼

No. The scan command only lists class-name clues like Actions, Constants, and Manage classes. Business definitions such as formulas and state conditions are always written by humans, and all generated entries stay at draft stability until owner review.

Why is a DDL baseline required before writing SQL?▼

Without a real schema dump, AI agents guess table names from framework conventions, causing errors like querying nonexistent tables. The baseline dumps the actual schema via mysqldump, pg_dump, or Oracle DBMS_METADATA into impl/ddl-baseline.md as the authoritative reference.

What are the limitations of the knowledge bootstrap workflow?▼

It only works inside the project-domain-knowledge repository and requires Node.js 18 or later with the project built. It cannot judge whether a candidate is a true business rule; that boundary decision always requires a human owner.