跳到正文
cccskills
免费在 GitHub 公开

quantum-build-verify

Verifies build integrity across the Quantum C2 framework — Python syntax checks, FastAPI router validation, React frontend builds, and test suite execution. Use after any code change to ensure nothing is broken before committing.

中文简介正在准备中。当前显示原文说明。

ProjectZeroDays/FreeAI_AI_Inference_Workstation星标 5(GitHub 5 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md3.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Quantum Build & Verify

Verifies full-stack build integrity for the Quantum C2 framework.

Quick Verify (All-in-One)

# Run from project root
cd "C:\Users\Project Zero\Desktop\Stuff\Code Forge"

# 1. Backend syntax check
python -m py_compile backend/app/gateways/router_exploit/router_gateway.py
python -m py_compile backend/app/routers/router_exploit.py

# 2. Frontend build
cd frontend && npx vite build 2>&1 | Select-Object -Last 5

# 3. Run tests
cd .. && python -m pytest tests/unit/ -q

Python Syntax Check

# Single file
python -m py_compile path/to/file.py

# All backend files
python -m py_compile backend/app/gateways/**/*.py backend/app/routers/**/*.py

# Enum consistency check (catches missing enum values)
python -c "
from app.gateways.router_exploit.router_gateway import RouterVulnType, get_router_vuln_db
db = get_router_vuln_db()
for vuln in db.VULNERABILITIES.values():
    try:
        RouterVulnType(vuln['type'])
    except ValueError:
        print(f'MISSING enum: {vuln[\"type\"]} in {vuln[\"cve\"]}')
"

Frontend Build

cd frontend
npx vite build

# Check for specific errors
npx vite build 2>&1 | Select-String "error"
npx vite build 2>&1 | Select-String "failed"

# Watch mode for development
npx vite build --watch

Test Suites

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

# Specific test file
python -m pytest tests/unit/test_<module>.py -v

# Integration tests
python -m pytest tests/integration/ -q

# With coverage
python -m pytest tests/ --cov=app --cov-report=term-missing

API Endpoint Verification

# Health check
curl -s https://localhost:4433/api/status -k

# Router exploit endpoints
curl -s https://localhost:4433/api/router-exploit/devices -k
curl -s -X POST https://localhost:4433/api/router-exploit/devices/detect -k
curl -s https://localhost:4433/api/router-exploit/vulns -k
curl -s https://localhost:4433/api/router-exploit/stats -k

# Test with authentication if required
curl -s -H "Authorization: Bearer <token>" https://localhost:4433/api/router-exploit/devices -k

Common Build Failures

ErrorCauseFix
ModuleNotFoundErrorMissing import pathCheck relative import from file location
EnumValueErrorMissing enum valueAdd to enum class definition
Vite build failedJSX syntax errorCheck unclosed tags, missing imports
Route not foundMissing route registrationAdd to routes.jsx and Sidebar.jsx
500 on endpointNoneType accessCheck dataclass initialization
ImportError: cannot importCircular importRestructure imports, use TYPE_CHECKING

Pre-Commit Checklist

# 1. Syntax check all modified Python files
find backend -name "*.py" -newer <last-commit> -exec python -m py_compile {} \;

# 2. Frontend build
cd frontend && npx vite build && cd ..

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

# 4. Check git diff
git diff --stat

# 5. If all pass, commit
git add -A
git commit -m "Verify build after <change>"

Environment

# Activate venv
.venv\Scripts\activate

# Check Python version
python --version  # Should be 3.10+

# Check dependencies
pip list | Select-String "fastapi|uvicorn|pydantic|react"

# Reinstall if needed
pip install -r requirements.txt

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。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 的全部技能

报告此技能的问题