mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
Checkpoint: File edits
Automatic checkpoint created by Claude Code - Branch: optimize/claude-md-governance - Timestamp: 2026-02-02T06:21:56Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8f44d241cc
commit
18b279781b
1 file changed
+39
-1
@@ -500,9 +500,12 @@ npm install -g claude-flow@alpha --omit=optional
|
||||
### Basic Usage
|
||||
|
||||
```bash
|
||||
# Initialize project
|
||||
# Initialize project (standard template)
|
||||
npx claude-flow@alpha init
|
||||
|
||||
# Initialize with wizard (interactive template selection)
|
||||
npx claude-flow@alpha init --wizard
|
||||
|
||||
# Start MCP server for Claude Code integration
|
||||
npx claude-flow@alpha mcp start
|
||||
|
||||
@@ -513,6 +516,41 @@ npx claude-flow@alpha --agent coder --task "Implement user authentication"
|
||||
npx claude-flow@alpha --list
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary><b>CLAUDE.md Init Templates</b></summary>
|
||||
|
||||
The `init` command generates a CLAUDE.md file that configures Claude Code behavior. Choose a template based on your use case:
|
||||
|
||||
| Template | Score | Lines | Use Case |
|
||||
|----------|-------|-------|----------|
|
||||
| `minimal` | 93/100 (A) | ~140 | Quick start — behavioral rules, anti-drift, CLI reference |
|
||||
| `standard` | 93/100 (A) | ~190 | **Recommended** — swarm orchestration, agents, memory commands |
|
||||
| `full` | 91/100 (A) | ~295 | Everything — hooks, learning protocol, intelligence system |
|
||||
| `security` | 93/100 (A) | ~205 | Security-focused — scanning, audit protocols, CVE checks |
|
||||
| `performance` | 95/100 (A) | ~225 | Performance-focused — benchmarking, profiling, optimization |
|
||||
| `solo` | 93/100 (A) | ~145 | Solo developer — no swarm overhead, simple agent usage |
|
||||
|
||||
All templates are analyzer-validated with **100% enforceability** and **A-grade** governance scores.
|
||||
|
||||
**Template selection:**
|
||||
- Interactive: `npx claude-flow@alpha init --wizard` (prompts for template choice)
|
||||
- Programmatic: Set `runtime.claudeMdTemplate` in your init options
|
||||
- Default: `standard` template when components include agents/commands, `minimal` otherwise
|
||||
|
||||
**Governance validation:**
|
||||
```bash
|
||||
# Analyze your CLAUDE.md quality and enforceability
|
||||
npx claude-flow@alpha guidance analyze
|
||||
|
||||
# Optimize for higher score
|
||||
npx claude-flow@alpha guidance optimize --apply
|
||||
|
||||
# Run A/B comparison test
|
||||
npx claude-flow@alpha guidance ab-test --config-a original.md --config-b optimized.md
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
### Upgrading
|
||||
|
||||
```bash
|
||||
|
||||
Reference in new issue
Block a user