🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/init/templates/claude-md.js

This commit is contained in:
rUv committed 2025-09-06 20:52:52 +00:00
1 parent b934dc81b4
commit 3d3a4f558b
3 files changed
+122

No files matched your search

@@ -978,3 +978,123 @@ NEVER proactively create documentation files (*.md) or README files. Only create
Never save working files, text/mds and tests to the root folder.
`;
}
export function createFlowNexusClaudeMd() {
return `# Claude Code Configuration - Flow Nexus Integration
## 🌐 Flow Nexus Cloud Platform
Flow Nexus extends Claude Flow with cloud-powered features for AI development and deployment.
### Quick Start
1. **Register**: Use \\`mcp__flow-nexus__user_register\\` with email/password
2. **Login**: Use \\`mcp__flow-nexus__user_login\\` to access features
3. **Check Balance**: Use \\`mcp__flow-nexus__check_balance\\` for credits
### 🚀 Key Capabilities
**🤖 AI Swarms**
- Deploy multi-agent swarms in cloud sandboxes
- Pre-built templates for common architectures
- Auto-scaling and load balancing
**📦 E2B Sandboxes**
- \\`mcp__flow-nexus__sandbox_create\\` - Isolated execution environments
- Support for Node.js, Python, React, Next.js
- Real-time code execution with environment variables
**⚡ Workflows**
- \\`mcp__flow-nexus__workflow_create\\` - Event-driven automation
- Parallel task processing with message queues
- Reusable workflow templates
**🎯 Challenges & Learning**
- \\`mcp__flow-nexus__challenges_list\\` - Coding challenges
- Earn rUv credits by completing tasks
- Global leaderboard and achievements
**🧠 Neural Networks**
- \\`mcp__flow-nexus__neural_train\\` - Train custom models
- Distributed training across sandboxes
- Pre-built templates for ML tasks
**💰 Credits & Billing**
- Pay-as-you-go with rUv credits
- Auto-refill configuration available
- Free tier for getting started
### 🤖 Flow Nexus Agents
Specialized agents for Flow Nexus operations available in \\`.claude/agents/flow-nexus/\\`:
- **flow-nexus-auth**: Authentication and user management
- **flow-nexus-sandbox**: E2B sandbox deployment and management
- **flow-nexus-swarm**: AI swarm orchestration and scaling
- **flow-nexus-workflow**: Event-driven workflow automation
- **flow-nexus-neural**: Neural network training and deployment
- **flow-nexus-challenges**: Coding challenges and gamification
- **flow-nexus-app-store**: Application marketplace management
- **flow-nexus-payments**: Credit management and billing
- **flow-nexus-user-tools**: User management and system utilities
### 📁 Flow Nexus Commands
Detailed Flow Nexus command documentation available in \\`.claude/commands/flow-nexus/\\`:
- \\`login-registration.md\\` - Authentication workflows
- \\`sandbox.md\\` - E2B sandbox management
- \\`swarm.md\\` - AI swarm deployment
- \\`workflow.md\\` - Automation workflows
- \\`neural-network.md\\` - ML model training
- \\`challenges.md\\` - Coding challenges
- \\`app-store.md\\` - App marketplace
- \\`payments.md\\` - Credit and billing
- \\`user-tools.md\\` - User utilities
### 💡 Example: Deploy a Swarm
\\`\\`\\`javascript
// 1. Login to Flow Nexus
mcp__flow-nexus__user_login({
email: "user@example.com",
password: "password"
})
// 2. Initialize swarm
mcp__flow-nexus__swarm_init({
topology: "mesh",
maxAgents: 5
})
// 3. Create sandbox
mcp__flow-nexus__sandbox_create({
template: "node",
name: "api-dev"
})
// 4. Orchestrate task
mcp__flow-nexus__task_orchestrate({
task: "Build REST API with authentication",
strategy: "parallel"
})
\\`\\`\\`
### 🔗 Integration with Claude Code
Flow Nexus seamlessly integrates with Claude Code through MCP (Model Context Protocol):
1. **Add MCP Server**: \\`claude mcp add flow-nexus npx flow-nexus@latest mcp start\\`
2. **Use in Claude Code**: Access all Flow Nexus tools through MCP interface
3. **Agent Coordination**: Use Flow Nexus agents for specialized cloud operations
4. **Command Reference**: Use slash commands for quick Flow Nexus operations
### 📚 Learn More
- Documentation: https://github.com/ruvnet/claude-flow#flow-nexus
- MCP Integration: Use \\`mcp__flow-nexus__*\\` tools in Claude Code
- Agent Usage: Type \\`/\\` in Claude Code to see Flow Nexus commands
- Community: Join discussions and share templates
---
**Ready to build with Flow Nexus? Start with authentication and explore the cloud-powered AI development platform!**
`;
@@ -0,0 +1 @@
{"branch": "checkpoint/pre-edit-20250906-205159", "file": "/workspaces/claude-code-flow/src/cli/commands/index.ts", "timestamp": "2025-09-06T20:52:00Z", "type": "pre-edit", "original_branch": "alpha101"}
@@ -0,0 +1 @@
{"tag": "checkpoint-20250906-205201", "file": "/workspaces/claude-code-flow/src/cli/commands/index.ts", "timestamp": "2025-09-06T20:52:01Z", "type": "post-edit", "branch": "alpha101", "diff_summary": " .claude-flow/metrics/system-metrics.json | 1056 ++++++++++++++++-------- claude-flow-wiki | 0 src/cli/commands/index.ts | 26 +- test-final/.claude/checkpoints/1757191900.json | 1 + test-final/.claude/checkpoints/1757191902.json | 1 + 5 files changed, 747 insertions(+), 337 deletions(-) "}