mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 14:43:05 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/.claude/commands/flow-nexus/challenges.md
This commit is contained in:
1 parent
8d13d0a73b
commit
16714a2189
3 files changed
+122
No files matched your search
@@ -0,0 +1 @@
|
||||
{"branch": "checkpoint/pre-edit-20250906-203656", "file": "/workspaces/claude-code-flow/.claude/commands/flow-nexus/neural-network.md", "timestamp": "2025-09-06T20:36:56Z", "type": "pre-edit", "original_branch": "alpha101"}
|
||||
@@ -0,0 +1 @@
|
||||
{"tag": "checkpoint-20250906-203659", "file": "/workspaces/claude-code-flow/.claude/commands/flow-nexus/neural-network.md", "timestamp": "2025-09-06T20:36:59Z", "type": "post-edit", "branch": "alpha101", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 72 ++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1757191012.json | 1 + .claude/checkpoints/1757191014.json | 1 + .claude/commands/flow-nexus/neural-network.md | 134 ++++++++++++++++++++++++++ claude-flow-wiki | 0 7 files changed, 212 insertions(+), 4 deletions(-) "}
|
||||
@@ -0,0 +1,120 @@
|
||||
---
|
||||
name: flow-nexus-challenges
|
||||
description: Coding challenges, achievements, and leaderboards
|
||||
---
|
||||
|
||||
# Flow Nexus Challenges
|
||||
|
||||
Complete coding challenges to earn rUv credits and climb the leaderboard.
|
||||
|
||||
## List Challenges
|
||||
```javascript
|
||||
mcp__flow-nexus__challenges_list({
|
||||
difficulty: "intermediate", // beginner, advanced, expert
|
||||
category: "algorithms",
|
||||
status: "active",
|
||||
limit: 20
|
||||
})
|
||||
```
|
||||
|
||||
## Get Challenge Details
|
||||
```javascript
|
||||
mcp__flow-nexus__challenge_get({
|
||||
challenge_id: "two-sum-problem"
|
||||
})
|
||||
```
|
||||
|
||||
## Submit Solution
|
||||
```javascript
|
||||
mcp__flow-nexus__challenge_submit({
|
||||
challenge_id: "challenge_id",
|
||||
user_id: "your_id",
|
||||
solution_code: `
|
||||
function solution(nums, target) {
|
||||
const map = new Map();
|
||||
for (let i = 0; i < nums.length; i++) {
|
||||
const complement = target - nums[i];
|
||||
if (map.has(complement)) {
|
||||
return [map.get(complement), i];
|
||||
}
|
||||
map.set(nums[i], i);
|
||||
}
|
||||
return [];
|
||||
}
|
||||
`,
|
||||
language: "javascript",
|
||||
execution_time: 45 // milliseconds
|
||||
})
|
||||
```
|
||||
|
||||
## Complete Challenge
|
||||
```javascript
|
||||
mcp__flow-nexus__app_store_complete_challenge({
|
||||
challenge_id: "challenge_id",
|
||||
user_id: "your_id",
|
||||
submission_data: {
|
||||
passed_tests: 10,
|
||||
total_tests: 10,
|
||||
execution_time: 45
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
## Leaderboards
|
||||
```javascript
|
||||
// Global leaderboard
|
||||
mcp__flow-nexus__leaderboard_get({
|
||||
type: "global", // weekly, monthly, challenge
|
||||
limit: 10
|
||||
})
|
||||
|
||||
// Challenge-specific leaderboard
|
||||
mcp__flow-nexus__leaderboard_get({
|
||||
type: "challenge",
|
||||
challenge_id: "specific_challenge",
|
||||
limit: 25
|
||||
})
|
||||
```
|
||||
|
||||
## Achievements
|
||||
```javascript
|
||||
mcp__flow-nexus__achievements_list({
|
||||
user_id: "your_id",
|
||||
category: "speed_demon" // Categories vary
|
||||
})
|
||||
```
|
||||
|
||||
## rUv Credits
|
||||
```javascript
|
||||
// Check balance
|
||||
mcp__flow-nexus__ruv_balance({ user_id: "your_id" })
|
||||
|
||||
// View history
|
||||
mcp__flow-nexus__ruv_history({
|
||||
user_id: "your_id",
|
||||
limit: 20
|
||||
})
|
||||
|
||||
// Earn credits (automatic on completion)
|
||||
mcp__flow-nexus__app_store_earn_ruv({
|
||||
user_id: "your_id",
|
||||
amount: 100,
|
||||
reason: "Completed expert challenge",
|
||||
source: "challenge"
|
||||
})
|
||||
```
|
||||
|
||||
## Challenge Categories
|
||||
- **algorithms**: Classic algorithm problems
|
||||
- **data-structures**: DS implementation challenges
|
||||
- **system-design**: Architecture challenges
|
||||
- **optimization**: Performance challenges
|
||||
- **security**: Security-focused problems
|
||||
- **ml-basics**: Machine learning fundamentals
|
||||
|
||||
## Tips
|
||||
1. Start with beginner challenges
|
||||
2. Review other solutions after completing
|
||||
3. Optimize for both correctness and speed
|
||||
4. Complete daily challenges for bonus credits
|
||||
5. Unlock achievements for extra rewards
|
||||
Reference in new issue
Block a user