本文へ移動
cccskills
無料GitHub で公開

quantum-fullstack-dev

Builds complete full-stack features for the Quantum C2 framework — new pages, API endpoints, data models, and navigation. Covers the full workflow from frontend page creation through backend routing, React integration, and commit. Use when adding new modules, dashboards, or tools to the Quantum platform.

日本語の概要は準備中です。原文の説明を表示しています。

ProjectZeroDays/FreeAI_AI_Inference_Workstationスター 5(GitHub 5 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md8.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Quantum Full-Stack Developer

End-to-end feature development for the Quantum C2 framework.

Directory Structure

Quantum/
├── backend/
│   └── app/
│       ├── gateways/          # Business logic / data models
│       │   └── <feature>/
│       │       └── <feature>_gateway.py
│       └── routers/           # FastAPI route handlers
│           └── <feature>.py
├── frontend/
│   └── src/
│       ├── pages/             # React page components
│       │   └── <Feature>Page.jsx
│       ├── router/
│       │   └── routes.jsx     # Route registration
│       └── components/
│           └── layout/
│               └── Sidebar.jsx # Navigation entries
└── tests/
    └── unit/                  # Unit tests

Development Workflow

Step 1: Backend Gateway (Data Models + Logic)

# backend/app/gateways/<feature>/<feature>_gateway.py
"""
Quantum C2 — [Feature Name]
"""
import logging
import secrets
import time
from typing import Dict, List, Any, Optional
from dataclasses import dataclass, field
from enum import Enum

logger = logging.getLogger(__name__)

class SomeEnum(str, Enum):
    VALUE_A = "value_a"
    VALUE_B = "value_b"

@dataclass
class SomeModel:
    id: str
    name: str
    # ... fields ...

    def to_dict(self) -> Dict:
        return {
            "id": self.id,
            "name": self.name,
            # ... serializable fields ...
        }

class SomeManager:
    def __init__(self):
        self._items: Dict[str, SomeModel] = {}

    def get_all(self) -> List[Dict]:
        return [item.to_dict() for item in self._items.values()]

    def create(self, name: str) -> Dict:
        item_id = secrets.token_hex(8)
        item = SomeModel(id=item_id, name=name)
        self._items[item_id] = item
        return item.to_dict()

# Global singleton
_manager: Optional[SomeManager] = None

def get_manager() -> SomeManager:
    global _manager
    if _manager is None:
        _manager = SomeManager()
    return _manager

Step 2: FastAPI Router (HTTP Endpoints)

# backend/app/routers/<feature>.py
"""
Quantum C2 — [Feature] API Router
"""
import logging
from fastapi import APIRouter, HTTPException
from pydantic import BaseModel

from app.gateways.<feature>.<feature>_gateway import get_manager

logger = logging.getLogger(__name__)
router = APIRouter(prefix="/api/<feature>", tags=["[Feature]"])

class CreateRequest(BaseModel):
    name: str

@router.get("")
async def list_items():
    mgr = get_manager()
    return {"items": mgr.get_all(), "count": len(mgr._items)}

@router.post("")
async def create_item(req: CreateRequest):
    mgr = get_manager()
    return mgr.create(req.name)

@router.get("/stats")
async def stats():
    mgr = get_manager()
    return {"total": len(mgr._items)}

Step 3: Register Router in Main

# backend/app/main.py — add near other router includes
from app.routers.<feature> import router as <feature>_router
app.include_router(<feature>_router)

Step 4: Frontend Page Component

// frontend/src/pages/<Feature>Page.jsx
import React, { useState, useEffect, useCallback } from 'react';

const API = '/api/<feature>';

export default function <Feature>Page() {
  const [items, setItems] = useState([]);
  const [loading, setLoading] = useState(true);

  const fetchData = useCallback(async () => {
    try {
      const r = await fetch(API);
      const d = await r.json();
      setItems(d.items || []);
    } catch (e) { console.error(e); }
    finally { setLoading(false); }
  }, []);

  useEffect(() => { fetchData(); }, [fetchData]);

  if (loading) {
    return (
      <div className="q-page-shell" style={{ display: 'flex', alignItems: 'center', justifyContent: 'center', height: '60vh' }}>
        <div style={{ color: 'var(--muted)', fontFamily: 'monospace', fontSize: 13 }}>
          <span style={{ animation: 'pulse 1.2s infinite', marginRight: 10 }}>◆</span>LOADING...
        </div>
      </div>
    );
  }

  return (
    <div className="q-page-shell">
      <div className="q-page-header">
        <div>
          <div className="q-eyebrow">Section</div>
          <h1>Feature Title</h1>
          <p>Description of the feature.</p>
        </div>
      </div>

      <div className="q-kpi-grid">
        <div className="q-kpi"><span>Total</span><strong>{items.length}</strong><small>items</small></div>
      </div>

      <div className="dashboard-grid">
        <section className="panel panel--system" style={{ gridColumn: 'span 2' }}>
          <div className="panel-title"><div>Items ({items.length})</div></div>
          <div className="module-preview">
            {items.length === 0 ? (
              <div style={{ color: 'var(--muted)', padding: 16, textAlign: 'center', fontSize: 12 }}>No items yet.</div>
            ) : items.map(item => (
              <div key={item.id} style={{ padding: '10px 12px', borderBottom: '1px solid var(--border)' }}>
                <span style={{ fontFamily: 'monospace', fontSize: 12, color: 'var(--light)' }}>{item.name}</span>
              </div>
            ))}
          </div>
        </section>
      </div>
    </div>
  );
}

Step 5: Register Route

// frontend/src/router/routes.jsx
const <Feature>Page = lazy(() => import('../pages/<Feature>Page'));
// ...
<Route path="/<feature>" element={<<Feature>Page />} />

Step 6: Add to Sidebar

// frontend/src/components/layout/Sidebar.jsx
// Add inside the appropriate SECTIONS array:
{ label: "Feature Title", to: "/<feature>" },

Step 7: Verify & Commit

# Backend syntax
python -m py_compile backend/app/gateways/<feature>/<feature>_gateway.py
python -m py_compile backend/app/routers/<feature>.py

# Frontend build
cd frontend && npx vite build

# Run tests
python -m pytest tests/unit/ -q

# Commit
git add -A
git commit -m "Add <Feature> module"
git push origin main

UI Conventions

Card Styles

<section className="panel panel--system">        {/* Blue accent */}
<section className="panel panel--intel">         {/* Purple accent */}
<section className="panel panel--defense">       {/* Green accent */}
<section className="panel panel--offense">       {/* Red accent */}

KPI Grid

<div className="q-kpi-grid">
  <div className="q-kpi"><span>Label</span><strong>Value</strong><small>unit</small></div>
</div>

Buttons

<button className="module-btn" style={{ background: 'rgba(0,229,255,0.15)', color: '#00e5ff' }}>
  Action
</button>

Colors

VariableHexUse
--accent#00e5ffPrimary actions
--danger#ff4b6bCritical/danger
--success#6ef0a3Success/online
--warn#ffd36bWarnings/medium
--muted#7fa2b8Labels/descriptions
--light#cfefffPrimary text
--panel#030e1ePanel backgrounds
--border#103347Borders

Common Patterns

Simulated Data (for demo/prototype)

import random
item.id = f"ITEM-{secrets.token_hex(4).upper()}"
item.value = random.choice([True, False])

Async Operations

const [executing, setExecuting] = useState(false);
const handleAction = useCallback(async () => {
  setExecuting(true);
  try {
    const r = await fetch(API + '/action', { method: 'POST' });
    const d = await r.json();
    // handle result
  } catch (e) { /* error handling */ }
  finally { setExecuting(false); }
}, []);

Auto-refresh

useEffect(() => {
  const iv = setInterval(fetchData, 15000);
  return () => clearInterval(iv);
}, [fetchData]);

Severity Coloring

const severityColor = (s) => ({
  critical: '#ff4b6b',
  high: '#ff8c4b',
  medium: '#ffd36b',
  low: '#6ef0a3',
  info: '#00e5ff'
}[s] || '#7fa2b8');

Error Handling

500 on API Call

  • Check enum values match
  • Check dataclass to_dict() includes all referenced fields
  • Check router imports gateway correctly

404 on API Call

  • Verify router is included in main.py
  • Verify prefix matches frontend API constant
  • Check for typos in route path

Build Failure

  • Check JSX syntax (self-closing tags, bracket matching)
  • Verify lazy import path is correct
  • Check for missing React imports

Git Workflow

git add backend/app/gateways/<feature>/
git add backend/app/routers/<feature>.py
git add frontend/src/pages/<Feature>Page.jsx
git add frontend/src/router/routes.jsx
git add frontend/src/components/layout/Sidebar.jsx
git commit -m "Add <Feature> module"
git push origin main

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

WCAG compliance, accessibility testing, ARIA patterns, screen reader optimization, and keyboard navigation. Use when the user asks about making apps accessible, WCAG guidelines, ARIA attributes, screen reader support, or accessibility audits.

日本語の概要は準備中です。原文の説明を表示しています。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

ace-music

無料

Generate AI music using ACE-Step 1.5 via ACE Music's free API. Use when the user asks to create, generate, or compose music, songs, beats, instrumentals, or audio tracks. Supports lyrics, style prompts, covers, and repainting. Free API, no cost.

日本語の概要は準備中です。原文の説明を表示しています。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

A continuously adaptive skill suite that empowers Clawdbot to act as a versatile coder, business analyst, project manager, web developer, data analyst, and NAS metadata scraper. It intelligently discovers free resources, adapts to user context, and ensures reliable, proven guidance across multiple domains.

日本語の概要は準備中です。原文の説明を表示しています。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

High-fidelity intelligence gathering and data assimilation. Focuses on synthesizing fragmented data into a comprehensive target operational picture.

日本語の概要は準備中です。原文の説明を表示しています。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

Use when Codex needs proactive task queues, heartbeat routines, scheduled follow-up, or continuous work loops instead of waiting for prompts.

日本語の概要は準備中です。原文の説明を表示しています。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

日本語の概要は準備中です。原文の説明を表示しています。

ProjectZeroDays/FreeAI_AI_Inference_Workstation52026年9月4日 更新

ProjectZeroDays のスキルをすべて見る

このスキルの問題を報告する