Best for
- Guide a developer through greenfield project setup via conversation. Collect project identity, requirements, constraints, and architecture, then fill 6 governance templates. Gate: rai graph build produces 30+ governance…
humansys/raise/packages/raise-cli/src/raise_cli/skills_base/rai-project-create/SKILL.md
Set up governance for a new project. Use after rai init on a greenfield project.
Decision brief
Set up governance for a new project. Use after rai init on a greenfield project.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/humansys/raise --skill "packages/raise-cli/src/raise_cli/skills_base/rai-project-create"Inspect the Agent Skill "rai-project-create" from https://github.com/humansys/raise/blob/88a77d6e4065e3c8bdbae9be4aff5b84e6a7a5eb/packages/raise-cli/src/raise_cli/skills_base/rai-project-create/SKILL.md at commit 88a77d6e4065e3c8bdbae9be4aff5b84e6a7a5eb. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Check for existing non-placeholder content — ask before overwriting.
Ask in sequence, adapting to ShuHaRi level:
Publish all docs via CLI following parser contracts exactly. Graph parsers use regex — format must match.
Then use raisegraphquery MCP tool with cwd="{projectorworktreepath}", query="requirement outcome guardrail" (limit 50). If MCP tools are not available, fall back to: rai graph query "requirement outcome guardrail" --types requirement,outcome,guardrail --limit 50
Review the “Step 5: Summary” section in the pinned source before continuing.
Permission review
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 92/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 71 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Guide a developer through greenfield project setup via conversation. Collect project identity, requirements, constraints, and architecture, then fill 6 governance templates. Gate: rai graph build produces 30+ governance nodes.
When to use: After rai init on a new (greenfield) project with placeholder governance templates.
When to skip: Brownfield project with existing code → use /rai-project-onboard. Project not initialized → run rai init first.
Inputs: Project with rai init completed (governance/ exists). Developer's knowledge of what they're building.
ls governance/prd.md governance/vision.md governance/guardrails.md governance/backlog.md governance/architecture/system-context.md governance/architecture/system-design.md 2>/dev/null | wc -l
| Result | Action |
|---|---|
| 6 files | Continue |
| 0 files | Stop: "Run rai init first." |
| Source code exists | Suggest /rai-project-onboard instead |
Check for existing non-placeholder content — ask before overwriting.
Ask in sequence, adapting to ShuHaRi level:
main)Publish all docs via CLI following parser contracts exactly. Graph parsers use regex — format must match.
Parser contracts (critical):
vision.md: Outcomes table with | **{Bold Name}** | {description} |. Regex: \|\s*\*\*([^*]+)\*\*\s*\|\s*(.+?)\s*\|prd.md: Requirements as ### RF-XX: Title. Regex: ^### (RF-\d+):\s*(.+)$guardrails.md: YAML frontmatter type: guardrails. Table with | ID | Level | Guardrail | Verification | Derived from |. ID format: {level}-{category}-{NNN}backlog.md: Header # Backlog: {name}. Epic rows | E{N} | ... |system-context.md: External interfaces tablesystem-design.md: YAML frontmatter type: architecture_design. layers must be a list of dicts — each with name, modules (list), and optionally description. NEVER write layers as plain strings (causes AttributeError: 'str' object has no attribute 'get' in graph build). Example:
layers:
- name: frontend
modules: [ui, components]
description: "User interface layer"
- name: backend
modules: [api, services]
description: "Business logic layer"
Publish each doc via CLI:
Use raise_docs_write MCP tool for each of the following 6 calls:
rai docs write project-vision --title "{project}: vision" --stdin --output-path governance/vision.md << 'EOF'
[vision content — outcomes table | **{Bold Name}** | {description} |]
EOF
rai docs write project-prd --title "{project}: PRD" --stdin --output-path governance/prd.md << 'EOF'
[prd content — requirements as ### RF-XX: Title]
EOF
rai docs write project-guardrails --title "{project}: guardrails" --stdin --output-path governance/guardrails.md << 'EOF'
[guardrails — YAML frontmatter type: guardrails, table | ID | Level | Guardrail | Verification | Derived from |]
EOF
rai docs write project-backlog --title "{project}: backlog" --stdin --output-path governance/backlog.md << 'EOF'
[backlog — header # Backlog: {name}, epic rows | E{N} | ... |]
EOF
rai docs write architecture-system-context --title "{project}: system context" --stdin --output-path governance/architecture/system-context.md << 'EOF'
[external interfaces table]
EOF
rai docs write architecture-system-design --title "{project}: system design" --stdin --output-path governance/architecture/system-design.md << 'EOF'
[YAML frontmatter type: architecture_design, layers as list of dicts with name/modules/description]
EOF
Update .raise/manifest.yaml with branch configuration.
rai graph build
Then use raise_graph_query MCP tool with cwd="{project_or_worktree_path}", query="requirement outcome guardrail" (limit 50). If MCP tools are not available, fall back to: rai graph query "requirement outcome guardrail" --types requirement,outcome,guardrail --limit 50
Need 30+ governance nodes total: requirements (~5-8), outcomes (~5-7), guardrails (~10-13), project (1), epics (~3-5).
| Result | Action |
|---|---|
| 30+ nodes | Gate passed → Step 5 |
| <30 nodes | Check format against parser contracts, fix specific doc, rebuild |
## Project Created: {project_name}
Governance: {N} outcomes, {N} requirements, {N} guardrails, {N} epics
Graph: {total} governance nodes
Next: /rai-session-start
| Item | Destination |
|---|---|
| Governance docs | governance/ (6 files) |
| Knowledge graph | .raise/rai/memory/index.json |
| Next | /rai-session-start |
/rai-project-onboard/rai-project-onboard (brownfield)src/raise_cli/governance/parsers/*.pysrc/raise_cli/rai_base/governance/*.md/rai-session-startFrequently asked questions
Set up governance for a new project. Use after rai init on a greenfield project.
The source record exposes this install command: npx skills add https://github.com/humansys/raise --skill "packages/raise-cli/src/raise_cli/skills_base/rai-project-create". Inspect the command and pinned source before running it.
Alternatives
oaustegard/claude-skills
Generate hierarchical _FEATURES.md files that describe what a codebase DOES from a user/consumer perspective, anchored to source symbols via tree-sitting. Supports large complex codebases through feature-driven decomposition into sub-feature files. Uses a multi-pass synthesis: orientation → detail → overview rewrite. Use when someone says "what does this do", "document features", "feature inventory", "_FEATURES.md", or needs to understand a codebase's purpose before modifying it. Complements tre
Postpartum-genushyacinthus29/dotnet-skills
Build long-running .NET background services with `BackgroundService`, Generic Host, graceful shutdown, configuration, logging, and deployment patterns suited to workers and daemons.
enuno/unifi-mcp-server
Specialized guide for adding new MCP tools to the UniFi MCP Server following project standards, UniFi API patterns, and test-driven development practices. Use when implementing new UniFi Network Controller features as MCP tools.
PaulRBerg/agent-skills
Create/scaffold/init a project-local agent skill under `.agents/skills` in an ordinary repository; defer to repository instructions that define a source catalog and lifecycle.