moflo 4.8.12 → 4.8.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/.claude/settings.json +1 -1
  2. package/.claude/workflow-state.json +3 -3
  3. package/package.json +1 -3
  4. package/src/@claude-flow/cli/dist/src/init/claudemd-generator.js +47 -46
  5. package/src/@claude-flow/cli/package.json +106 -106
  6. package/.claude/agents/MIGRATION_SUMMARY.md +0 -222
  7. package/.claude/agents/analysis/code-review/analyze-code-quality.md +0 -179
  8. package/.claude/agents/development/backend/dev-backend-api.md +0 -142
  9. package/.claude/agents/flow-nexus/app-store.md +0 -88
  10. package/.claude/agents/flow-nexus/authentication.md +0 -69
  11. package/.claude/agents/flow-nexus/challenges.md +0 -81
  12. package/.claude/agents/flow-nexus/neural-network.md +0 -88
  13. package/.claude/agents/flow-nexus/payments.md +0 -83
  14. package/.claude/agents/flow-nexus/sandbox.md +0 -76
  15. package/.claude/agents/flow-nexus/swarm.md +0 -76
  16. package/.claude/agents/flow-nexus/user-tools.md +0 -96
  17. package/.claude/agents/flow-nexus/workflow.md +0 -84
  18. package/.claude/agents/payments/agentic-payments.md +0 -126
  19. package/.claude/agents/sona/sona-learning-optimizer.md +0 -74
  20. package/.claude/agents/sublinear/consensus-coordinator.md +0 -338
  21. package/.claude/agents/sublinear/matrix-optimizer.md +0 -185
  22. package/.claude/agents/sublinear/pagerank-analyzer.md +0 -299
  23. package/.claude/agents/sublinear/performance-optimizer.md +0 -368
  24. package/.claude/agents/sublinear/trading-predictor.md +0 -246
  25. package/.claude/agents/testing/unit/tdd-london-swarm.md +0 -244
  26. package/.claude/agents/testing/validation/production-validator.md +0 -395
  27. package/.claude/agents/v3/database-specialist.yaml +0 -21
  28. package/.claude/agents/v3/index.yaml +0 -17
  29. package/.claude/agents/v3/project-coordinator.yaml +0 -15
  30. package/.claude/agents/v3/python-specialist.yaml +0 -21
  31. package/.claude/agents/v3/test-architect.yaml +0 -20
  32. package/.claude/agents/v3/typescript-specialist.yaml +0 -21
  33. package/.claude/agents/v3/v3-integration-architect.md +0 -346
  34. package/.claude/agents/v3/v3-memory-specialist.md +0 -318
  35. package/.claude/agents/v3/v3-performance-engineer.md +0 -397
  36. package/.claude/agents/v3/v3-queen-coordinator.md +0 -98
  37. package/.claude/agents/v3/v3-security-architect.md +0 -174
  38. package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
  39. package/.claude/commands/analysis/README.md +0 -9
  40. package/.claude/commands/analysis/bottleneck-detect.md +0 -162
  41. package/.claude/commands/analysis/performance-bottlenecks.md +0 -59
  42. package/.claude/commands/analysis/performance-report.md +0 -25
  43. package/.claude/commands/analysis/token-efficiency.md +0 -45
  44. package/.claude/commands/analysis/token-usage.md +0 -25
  45. package/.claude/commands/automation/README.md +0 -9
  46. package/.claude/commands/automation/auto-agent.md +0 -122
  47. package/.claude/commands/automation/self-healing.md +0 -106
  48. package/.claude/commands/automation/session-memory.md +0 -90
  49. package/.claude/commands/automation/smart-agents.md +0 -73
  50. package/.claude/commands/automation/smart-spawn.md +0 -25
  51. package/.claude/commands/automation/workflow-select.md +0 -25
  52. package/.claude/commands/coordination/README.md +0 -9
  53. package/.claude/commands/coordination/agent-spawn.md +0 -25
  54. package/.claude/commands/coordination/init.md +0 -44
  55. package/.claude/commands/coordination/orchestrate.md +0 -43
  56. package/.claude/commands/coordination/spawn.md +0 -45
  57. package/.claude/commands/coordination/swarm-init.md +0 -85
  58. package/.claude/commands/coordination/task-orchestrate.md +0 -25
  59. package/.claude/commands/flow-nexus/app-store.md +0 -124
  60. package/.claude/commands/flow-nexus/challenges.md +0 -120
  61. package/.claude/commands/flow-nexus/login-registration.md +0 -65
  62. package/.claude/commands/flow-nexus/neural-network.md +0 -134
  63. package/.claude/commands/flow-nexus/payments.md +0 -116
  64. package/.claude/commands/flow-nexus/sandbox.md +0 -83
  65. package/.claude/commands/flow-nexus/swarm.md +0 -87
  66. package/.claude/commands/flow-nexus/user-tools.md +0 -152
  67. package/.claude/commands/flow-nexus/workflow.md +0 -115
  68. package/.claude/commands/monitoring/README.md +0 -9
  69. package/.claude/commands/monitoring/agent-metrics.md +0 -25
  70. package/.claude/commands/monitoring/agents.md +0 -44
  71. package/.claude/commands/monitoring/real-time-view.md +0 -25
  72. package/.claude/commands/monitoring/status.md +0 -46
  73. package/.claude/commands/monitoring/swarm-monitor.md +0 -25
  74. package/.claude/commands/optimization/README.md +0 -9
  75. package/.claude/commands/optimization/auto-topology.md +0 -62
  76. package/.claude/commands/optimization/cache-manage.md +0 -25
  77. package/.claude/commands/optimization/parallel-execute.md +0 -25
  78. package/.claude/commands/optimization/parallel-execution.md +0 -50
  79. package/.claude/commands/optimization/topology-optimize.md +0 -25
  80. package/.claude/commands/pair/README.md +0 -261
  81. package/.claude/commands/pair/commands.md +0 -546
  82. package/.claude/commands/pair/config.md +0 -510
  83. package/.claude/commands/pair/examples.md +0 -512
  84. package/.claude/commands/pair/modes.md +0 -348
  85. package/.claude/commands/pair/session.md +0 -407
  86. package/.claude/commands/pair/start.md +0 -209
  87. package/.claude/commands/stream-chain/pipeline.md +0 -121
  88. package/.claude/commands/stream-chain/run.md +0 -70
  89. package/.claude/commands/training/README.md +0 -9
  90. package/.claude/commands/training/model-update.md +0 -25
  91. package/.claude/commands/training/neural-patterns.md +0 -74
  92. package/.claude/commands/training/neural-train.md +0 -25
  93. package/.claude/commands/training/pattern-learn.md +0 -25
  94. package/.claude/commands/training/specialization.md +0 -63
  95. package/.claude/commands/truth/start.md +0 -143
  96. package/.claude/commands/verify/check.md +0 -50
  97. package/.claude/commands/verify/start.md +0 -128
  98. package/.claude/helpers/gate-hook.mjs +0 -50
  99. package/.claude/helpers/gate.cjs +0 -138
  100. package/.claude/helpers/hook-handler.cjs +0 -83
  101. package/.claude/helpers/prompt-hook.mjs +0 -72
  102. package/.claude/scripts/build-embeddings.mjs +0 -549
  103. package/.claude/scripts/generate-code-map.mjs +0 -697
  104. package/.claude/scripts/hooks.mjs +0 -656
  105. package/.claude/scripts/index-guidance.mjs +0 -893
  106. package/.claude/scripts/index-tests.mjs +0 -710
  107. package/.claude/scripts/semantic-search.mjs +0 -473
  108. package/.claude/scripts/session-start-launcher.mjs +0 -226
  109. package/.claude/skills/agentic-jujutsu/SKILL.md +0 -645
  110. package/.claude/skills/dual-mode/README.md +0 -71
  111. package/.claude/skills/dual-mode/dual-collect.md +0 -103
  112. package/.claude/skills/dual-mode/dual-coordinate.md +0 -85
  113. package/.claude/skills/dual-mode/dual-spawn.md +0 -81
  114. package/.claude/skills/flow-nexus-neural/SKILL.md +0 -738
  115. package/.claude/skills/flow-nexus-platform/SKILL.md +0 -1157
  116. package/.claude/skills/flow-nexus-swarm/SKILL.md +0 -610
  117. package/.claude/skills/pair-programming/SKILL.md +0 -1202
  118. package/.claude/skills/stream-chain/SKILL.md +0 -563
  119. package/.claude/skills/v3-cli-modernization/SKILL.md +0 -872
  120. package/.claude/skills/v3-core-implementation/SKILL.md +0 -797
  121. package/.claude/skills/v3-ddd-architecture/SKILL.md +0 -442
  122. package/.claude/skills/v3-integration-deep/SKILL.md +0 -241
  123. package/.claude/skills/v3-mcp-optimization/SKILL.md +0 -777
  124. package/.claude/skills/v3-memory-unification/SKILL.md +0 -174
  125. package/.claude/skills/v3-performance-optimization/SKILL.md +0 -390
  126. package/.claude/skills/v3-security-overhaul/SKILL.md +0 -82
  127. package/.claude/skills/v3-swarm-coordination/SKILL.md +0 -340
  128. package/.claude-plugin/README.md +0 -720
  129. package/.claude-plugin/docs/INSTALLATION.md +0 -261
  130. package/.claude-plugin/docs/PLUGIN_SUMMARY.md +0 -361
  131. package/.claude-plugin/docs/QUICKSTART.md +0 -361
  132. package/.claude-plugin/docs/STRUCTURE.md +0 -128
  133. package/.claude-plugin/hooks/hooks.json +0 -74
  134. package/.claude-plugin/marketplace.json +0 -96
  135. package/.claude-plugin/plugin.json +0 -71
  136. package/.claude-plugin/scripts/install.sh +0 -234
  137. package/.claude-plugin/scripts/uninstall.sh +0 -36
  138. package/.claude-plugin/scripts/verify.sh +0 -108
@@ -1,73 +0,0 @@
1
- # Smart Agent Auto-Spawning
2
-
3
- ## Purpose
4
- Automatically spawn the right agents at the right time without manual intervention.
5
-
6
- ## Auto-Spawning Triggers
7
-
8
- ### 1. File Type Detection
9
- When editing files, agents auto-spawn:
10
- - **JavaScript/TypeScript**: Coder agent
11
- - **Markdown**: Researcher agent
12
- - **JSON/YAML**: Analyst agent
13
- - **Multiple files**: Coordinator agent
14
-
15
- ### 2. Task Complexity
16
- ```
17
- Simple task: "Fix typo"
18
- → Single coordinator agent
19
-
20
- Complex task: "Implement OAuth with Google"
21
- → Architect + Coder + Tester + Researcher
22
- ```
23
-
24
- ### 3. Dynamic Scaling
25
- The system monitors workload and spawns additional agents when:
26
- - Task queue grows
27
- - Complexity increases
28
- - Parallel opportunities exist
29
-
30
- **Status Monitoring:**
31
- ```javascript
32
- // Check swarm health
33
- mcp__moflo__swarm_status({
34
- "swarmId": "current"
35
- })
36
-
37
- // Monitor agent performance
38
- mcp__moflo__agent_metrics({
39
- "agentId": "agent-123"
40
- })
41
- ```
42
-
43
- ## Configuration
44
-
45
- ### MCP Tool Integration
46
- Uses Claude Flow MCP tools for agent coordination:
47
- ```javascript
48
- // Initialize swarm with appropriate topology
49
- mcp__moflo__swarm_init({
50
- "topology": "mesh",
51
- "maxAgents": 8,
52
- "strategy": "auto"
53
- })
54
-
55
- // Spawn agents based on file type
56
- mcp__moflo__agent_spawn({
57
- "type": "coder",
58
- "name": "JavaScript Handler",
59
- "capabilities": ["javascript", "typescript"]
60
- })
61
- ```
62
-
63
- ### Fallback Configuration
64
- If MCP tools are unavailable:
65
- ```bash
66
- npx claude-flow hook pre-task --auto-spawn-agents
67
- ```
68
-
69
- ## Benefits
70
- - 🤖 Zero manual agent management
71
- - 🎯 Perfect agent selection
72
- - 📈 Dynamic scaling
73
- - 💾 Resource efficiency
@@ -1,25 +0,0 @@
1
- # smart-spawn
2
-
3
- Intelligently spawn agents based on workload analysis.
4
-
5
- ## Usage
6
- ```bash
7
- npx claude-flow automation smart-spawn [options]
8
- ```
9
-
10
- ## Options
11
- - `--analyze` - Analyze before spawning
12
- - `--threshold <n>` - Spawn threshold
13
- - `--topology <type>` - Preferred topology
14
-
15
- ## Examples
16
- ```bash
17
- # Smart spawn with analysis
18
- npx claude-flow automation smart-spawn --analyze
19
-
20
- # Set spawn threshold
21
- npx claude-flow automation smart-spawn --threshold 5
22
-
23
- # Force topology
24
- npx claude-flow automation smart-spawn --topology hierarchical
25
- ```
@@ -1,25 +0,0 @@
1
- # workflow-select
2
-
3
- Automatically select optimal workflow based on task type.
4
-
5
- ## Usage
6
- ```bash
7
- npx claude-flow automation workflow-select [options]
8
- ```
9
-
10
- ## Options
11
- - `--task <description>` - Task description
12
- - `--constraints <list>` - Workflow constraints
13
- - `--preview` - Preview without executing
14
-
15
- ## Examples
16
- ```bash
17
- # Select workflow for task
18
- npx claude-flow automation workflow-select --task "Deploy to production"
19
-
20
- # With constraints
21
- npx claude-flow automation workflow-select --constraints "no-downtime,rollback"
22
-
23
- # Preview mode
24
- npx claude-flow automation workflow-select --task "Database migration" --preview
25
- ```
@@ -1,9 +0,0 @@
1
- # Coordination Commands
2
-
3
- Commands for coordination operations in Claude Flow.
4
-
5
- ## Available Commands
6
-
7
- - [swarm-init](./swarm-init.md)
8
- - [agent-spawn](./agent-spawn.md)
9
- - [task-orchestrate](./task-orchestrate.md)
@@ -1,25 +0,0 @@
1
- # agent-spawn
2
-
3
- Spawn a new agent in the current swarm.
4
-
5
- ## Usage
6
- ```bash
7
- npx claude-flow agent spawn [options]
8
- ```
9
-
10
- ## Options
11
- - `--type <type>` - Agent type (coder, researcher, analyst, tester, coordinator)
12
- - `--name <name>` - Custom agent name
13
- - `--skills <list>` - Specific skills (comma-separated)
14
-
15
- ## Examples
16
- ```bash
17
- # Spawn coder agent
18
- npx claude-flow agent spawn --type coder
19
-
20
- # With custom name
21
- npx claude-flow agent spawn --type researcher --name "API Expert"
22
-
23
- # With specific skills
24
- npx claude-flow agent spawn --type coder --skills "python,fastapi,testing"
25
- ```
@@ -1,44 +0,0 @@
1
- # Initialize Coordination Framework
2
-
3
- ## 🎯 Key Principle
4
- **This tool coordinates Claude Code's actions. It does NOT write code or create content.**
5
-
6
- ## MCP Tool Usage in Claude Code
7
-
8
- **Tool:** `mcp__moflo__swarm_init`
9
-
10
- ## Parameters
11
- ```json
12
- {"topology": "mesh", "maxAgents": 5, "strategy": "balanced"}
13
- ```
14
-
15
- ## Description
16
- Set up a coordination topology to guide Claude Code's approach to complex tasks
17
-
18
- ## Details
19
- This tool creates a coordination framework that helps Claude Code:
20
- - Break down complex problems systematically
21
- - Approach tasks from multiple perspectives
22
- - Maintain consistency across large projects
23
- - Work more efficiently through structured coordination
24
-
25
- Remember: This does NOT create actual coding agents. It creates a coordination pattern for Claude Code to follow.
26
-
27
- ## Example Usage
28
-
29
- **In Claude Code:**
30
- 1. Use the tool: `mcp__moflo__swarm_init`
31
- 2. With parameters: `{"topology": "mesh", "maxAgents": 5, "strategy": "balanced"}`
32
- 3. Claude Code then executes the coordinated plan using its native tools
33
-
34
- ## Important Reminders
35
- - ✅ This tool provides coordination and structure
36
- - ✅ Claude Code performs all actual implementation
37
- - ❌ The tool does NOT write code
38
- - ❌ The tool does NOT access files directly
39
- - ❌ The tool does NOT execute commands
40
-
41
- ## See Also
42
- - Main documentation: /claude.md
43
- - Other commands in this category
44
- - Workflow examples in /workflows/
@@ -1,43 +0,0 @@
1
- # Coordinate Task Execution
2
-
3
- ## 🎯 Key Principle
4
- **This tool coordinates Claude Code's actions. It does NOT write code or create content.**
5
-
6
- ## MCP Tool Usage in Claude Code
7
-
8
- **Tool:** `mcp__moflo__task_orchestrate`
9
-
10
- ## Parameters
11
- ```json
12
- {"task": "Implement authentication system", "strategy": "parallel", "priority": "high"}
13
- ```
14
-
15
- ## Description
16
- Break down and coordinate complex tasks for systematic execution by Claude Code
17
-
18
- ## Details
19
- Orchestration strategies:
20
- - **parallel**: Claude Code works on independent components simultaneously
21
- - **sequential**: Step-by-step execution for dependent tasks
22
- - **adaptive**: Dynamically adjusts based on task complexity
23
-
24
- The orchestrator creates a plan that Claude Code follows using its native tools.
25
-
26
- ## Example Usage
27
-
28
- **In Claude Code:**
29
- 1. Use the tool: `mcp__moflo__task_orchestrate`
30
- 2. With parameters: `{"task": "Implement authentication system", "strategy": "parallel", "priority": "high"}`
31
- 3. Claude Code then executes the coordinated plan using its native tools
32
-
33
- ## Important Reminders
34
- - ✅ This tool provides coordination and structure
35
- - ✅ Claude Code performs all actual implementation
36
- - ❌ The tool does NOT write code
37
- - ❌ The tool does NOT access files directly
38
- - ❌ The tool does NOT execute commands
39
-
40
- ## See Also
41
- - Main documentation: /claude.md
42
- - Other commands in this category
43
- - Workflow examples in /workflows/
@@ -1,45 +0,0 @@
1
- # Create Cognitive Patterns
2
-
3
- ## 🎯 Key Principle
4
- **This tool coordinates Claude Code's actions. It does NOT write code or create content.**
5
-
6
- ## MCP Tool Usage in Claude Code
7
-
8
- **Tool:** `mcp__moflo__agent_spawn`
9
-
10
- ## Parameters
11
- ```json
12
- {"type": "researcher", "name": "Literature Analysis", "capabilities": ["deep-analysis"]}
13
- ```
14
-
15
- ## Description
16
- Define cognitive patterns that represent different approaches Claude Code can take
17
-
18
- ## Details
19
- Agent types represent thinking patterns, not actual coders:
20
- - **researcher**: Systematic exploration approach
21
- - **coder**: Implementation-focused thinking
22
- - **analyst**: Data-driven decision making
23
- - **architect**: Big-picture system design
24
- - **reviewer**: Quality and consistency checking
25
-
26
- These patterns guide how Claude Code approaches different aspects of your task.
27
-
28
- ## Example Usage
29
-
30
- **In Claude Code:**
31
- 1. Use the tool: `mcp__moflo__agent_spawn`
32
- 2. With parameters: `{"type": "researcher", "name": "Literature Analysis", "capabilities": ["deep-analysis"]}`
33
- 3. Claude Code then executes the coordinated plan using its native tools
34
-
35
- ## Important Reminders
36
- - ✅ This tool provides coordination and structure
37
- - ✅ Claude Code performs all actual implementation
38
- - ❌ The tool does NOT write code
39
- - ❌ The tool does NOT access files directly
40
- - ❌ The tool does NOT execute commands
41
-
42
- ## See Also
43
- - Main documentation: /claude.md
44
- - Other commands in this category
45
- - Workflow examples in /workflows/
@@ -1,85 +0,0 @@
1
- # swarm init
2
-
3
- Initialize a Claude Flow swarm with specified topology and configuration.
4
-
5
- ## Usage
6
-
7
- ```bash
8
- npx claude-flow swarm init [options]
9
- ```
10
-
11
- ## Options
12
-
13
- - `--topology, -t <type>` - Swarm topology: mesh, hierarchical, ring, star (default: hierarchical)
14
- - `--max-agents, -m <number>` - Maximum number of agents (default: 8)
15
- - `--strategy, -s <type>` - Execution strategy: balanced, parallel, sequential (default: parallel)
16
- - `--auto-spawn` - Automatically spawn agents based on task complexity
17
- - `--memory` - Enable cross-session memory persistence
18
- - `--github` - Enable GitHub integration features
19
-
20
- ## Examples
21
-
22
- ### Basic initialization
23
-
24
- ```bash
25
- npx claude-flow swarm init
26
- ```
27
-
28
- ### Mesh topology for research
29
-
30
- ```bash
31
- npx claude-flow swarm init --topology mesh --max-agents 5 --strategy balanced
32
- ```
33
-
34
- ### Hierarchical for development
35
-
36
- ```bash
37
- npx claude-flow swarm init --topology hierarchical --max-agents 10 --strategy parallel --auto-spawn
38
- ```
39
-
40
- ### GitHub-focused swarm
41
-
42
- ```bash
43
- npx claude-flow swarm init --topology star --github --memory
44
- ```
45
-
46
- ## Topologies
47
-
48
- ### Mesh
49
-
50
- - All agents connect to all others
51
- - Best for: Research, exploration, brainstorming
52
- - Communication: High overhead, maximum information sharing
53
-
54
- ### Hierarchical
55
-
56
- - Tree structure with clear command chain
57
- - Best for: Development, structured tasks, large projects
58
- - Communication: Efficient, clear responsibilities
59
-
60
- ### Ring
61
-
62
- - Agents connect in a circle
63
- - Best for: Pipeline processing, sequential workflows
64
- - Communication: Low overhead, ordered processing
65
-
66
- ### Star
67
-
68
- - Central coordinator with satellite agents
69
- - Best for: Simple tasks, centralized control
70
- - Communication: Minimal overhead, clear coordination
71
-
72
- ## Integration with Claude Code
73
-
74
- Once initialized, use MCP tools in Claude Code:
75
-
76
- ```javascript
77
- mcp__moflo__swarm_init { topology: "hierarchical", maxAgents: 8 }
78
- ```
79
-
80
- ## See Also
81
-
82
- - `agent spawn` - Create swarm agents
83
- - `task orchestrate` - Coordinate task execution
84
- - `swarm status` - Check swarm state
85
- - `swarm monitor` - Real-time monitoring
@@ -1,25 +0,0 @@
1
- # task-orchestrate
2
-
3
- Orchestrate complex tasks across the swarm.
4
-
5
- ## Usage
6
- ```bash
7
- npx claude-flow task orchestrate [options]
8
- ```
9
-
10
- ## Options
11
- - `--task <description>` - Task description
12
- - `--strategy <type>` - Orchestration strategy
13
- - `--priority <level>` - Task priority (low, medium, high, critical)
14
-
15
- ## Examples
16
- ```bash
17
- # Orchestrate development task
18
- npx claude-flow task orchestrate --task "Implement user authentication"
19
-
20
- # High priority task
21
- npx claude-flow task orchestrate --task "Fix production bug" --priority critical
22
-
23
- # With specific strategy
24
- npx claude-flow task orchestrate --task "Refactor codebase" --strategy parallel
25
- ```
@@ -1,124 +0,0 @@
1
- ---
2
- name: flow-nexus-app-store
3
- description: Browse, publish, and deploy applications
4
- ---
5
-
6
- # Flow Nexus App Store
7
-
8
- Browse templates, publish apps, and deploy solutions.
9
-
10
- ## Browse Apps
11
- ```javascript
12
- // Search apps
13
- mcp__flow-nexus__app_search({
14
- search: "authentication",
15
- category: "backend",
16
- featured: true,
17
- limit: 20
18
- })
19
-
20
- // Get app details
21
- mcp__flow-nexus__app_get({ app_id: "app_id" })
22
-
23
- // List templates
24
- mcp__flow-nexus__app_store_list_templates({
25
- category: "web-api",
26
- tags: ["express", "jwt"],
27
- limit: 20
28
- })
29
- ```
30
-
31
- ## Publish App
32
- ```javascript
33
- mcp__flow-nexus__app_store_publish_app({
34
- name: "My Auth Service",
35
- description: "JWT-based authentication microservice",
36
- category: "backend",
37
- version: "1.0.0",
38
- source_code: sourceCode,
39
- tags: ["auth", "jwt", "express"],
40
- metadata: {
41
- author: "Your Name",
42
- license: "MIT",
43
- repository: "github.com/user/repo"
44
- }
45
- })
46
- ```
47
-
48
- ## Deploy Templates
49
- ```javascript
50
- // Get template details
51
- mcp__flow-nexus__template_get({
52
- template_name: "express-api-starter"
53
- })
54
-
55
- // Deploy template
56
- mcp__flow-nexus__template_deploy({
57
- template_name: "express-api-starter",
58
- deployment_name: "my-api",
59
- variables: {
60
- api_key: "your_key",
61
- database_url: "postgres://..."
62
- },
63
- env_vars: {
64
- NODE_ENV: "production"
65
- }
66
- })
67
- ```
68
-
69
- ## Analytics
70
- ```javascript
71
- // Get app analytics
72
- mcp__flow-nexus__app_analytics({
73
- app_id: "your_app_id",
74
- timeframe: "30d" // 24h, 7d, 30d, 90d
75
- })
76
-
77
- // View installed apps
78
- mcp__flow-nexus__app_installed({
79
- user_id: "your_id"
80
- })
81
- ```
82
-
83
- ## Update App
84
- ```javascript
85
- mcp__flow-nexus__app_update({
86
- app_id: "app_id",
87
- updates: {
88
- version: "1.1.0",
89
- description: "Updated description",
90
- tags: ["new", "tags"]
91
- }
92
- })
93
- ```
94
-
95
- ## Market Data
96
- ```javascript
97
- // Get market statistics
98
- mcp__flow-nexus__market_data()
99
- ```
100
-
101
- ## Template Categories
102
- - **web-api**: RESTful APIs and microservices
103
- - **frontend**: React, Vue, Angular apps
104
- - **full-stack**: Complete applications
105
- - **cli-tools**: Command-line utilities
106
- - **data-processing**: ETL and analytics
107
- - **ml-models**: Pre-trained models
108
- - **blockchain**: Web3 applications
109
- - **mobile**: React Native apps
110
-
111
- ## Publishing Best Practices
112
- 1. Include comprehensive documentation
113
- 2. Add example usage and configuration
114
- 3. Include tests and CI/CD setup
115
- 4. Use semantic versioning
116
- 5. Add clear license information
117
- 6. Include docker/deployment configs
118
- 7. Provide migration guides for updates
119
-
120
- ## Revenue Sharing
121
- - Earn rUv credits when others use your templates
122
- - Set pricing (0 for free templates)
123
- - Track usage and earnings in analytics
124
- - Withdraw credits or use for Flow Nexus services
@@ -1,120 +0,0 @@
1
- ---
2
- name: flow-nexus-challenges
3
- description: Coding challenges, achievements, and leaderboards
4
- ---
5
-
6
- # Flow Nexus Challenges
7
-
8
- Complete coding challenges to earn rUv credits and climb the leaderboard.
9
-
10
- ## List Challenges
11
- ```javascript
12
- mcp__flow-nexus__challenges_list({
13
- difficulty: "intermediate", // beginner, advanced, expert
14
- category: "algorithms",
15
- status: "active",
16
- limit: 20
17
- })
18
- ```
19
-
20
- ## Get Challenge Details
21
- ```javascript
22
- mcp__flow-nexus__challenge_get({
23
- challenge_id: "two-sum-problem"
24
- })
25
- ```
26
-
27
- ## Submit Solution
28
- ```javascript
29
- mcp__flow-nexus__challenge_submit({
30
- challenge_id: "challenge_id",
31
- user_id: "your_id",
32
- solution_code: `
33
- function solution(nums, target) {
34
- const map = new Map();
35
- for (let i = 0; i < nums.length; i++) {
36
- const complement = target - nums[i];
37
- if (map.has(complement)) {
38
- return [map.get(complement), i];
39
- }
40
- map.set(nums[i], i);
41
- }
42
- return [];
43
- }
44
- `,
45
- language: "javascript",
46
- execution_time: 45 // milliseconds
47
- })
48
- ```
49
-
50
- ## Complete Challenge
51
- ```javascript
52
- mcp__flow-nexus__app_store_complete_challenge({
53
- challenge_id: "challenge_id",
54
- user_id: "your_id",
55
- submission_data: {
56
- passed_tests: 10,
57
- total_tests: 10,
58
- execution_time: 45
59
- }
60
- })
61
- ```
62
-
63
- ## Leaderboards
64
- ```javascript
65
- // Global leaderboard
66
- mcp__flow-nexus__leaderboard_get({
67
- type: "global", // weekly, monthly, challenge
68
- limit: 10
69
- })
70
-
71
- // Challenge-specific leaderboard
72
- mcp__flow-nexus__leaderboard_get({
73
- type: "challenge",
74
- challenge_id: "specific_challenge",
75
- limit: 25
76
- })
77
- ```
78
-
79
- ## Achievements
80
- ```javascript
81
- mcp__flow-nexus__achievements_list({
82
- user_id: "your_id",
83
- category: "speed_demon" // Categories vary
84
- })
85
- ```
86
-
87
- ## rUv Credits
88
- ```javascript
89
- // Check balance
90
- mcp__flow-nexus__ruv_balance({ user_id: "your_id" })
91
-
92
- // View history
93
- mcp__flow-nexus__ruv_history({
94
- user_id: "your_id",
95
- limit: 20
96
- })
97
-
98
- // Earn credits (automatic on completion)
99
- mcp__flow-nexus__app_store_earn_ruv({
100
- user_id: "your_id",
101
- amount: 100,
102
- reason: "Completed expert challenge",
103
- source: "challenge"
104
- })
105
- ```
106
-
107
- ## Challenge Categories
108
- - **algorithms**: Classic algorithm problems
109
- - **data-structures**: DS implementation challenges
110
- - **system-design**: Architecture challenges
111
- - **optimization**: Performance challenges
112
- - **security**: Security-focused problems
113
- - **ml-basics**: Machine learning fundamentals
114
-
115
- ## Tips
116
- 1. Start with beginner challenges
117
- 2. Review other solutions after completing
118
- 3. Optimize for both correctness and speed
119
- 4. Complete daily challenges for bonus credits
120
- 5. Unlock achievements for extra rewards