MCP HubMCP Hub
返回技能列表

quick-quality-check

DNYoussef
更新于 Today
141 次查看
0
在 GitHub 上查看
测试qualityquickparallelessentialtier-1

关于

This Claude Skill performs rapid code quality checks by executing theater detection, linting, security scans, and basic tests in parallel. It provides developers with instant, actionable feedback on their code in under 30 seconds. Use it for fast, essential quality assurance during development to catch issues early.

快速安装

Claude Code

推荐
插件命令推荐
/plugin add https://github.com/DNYoussef/ai-chrome-extension
Git 克隆备选方式
git clone https://github.com/DNYoussef/ai-chrome-extension.git ~/.claude/skills/quick-quality-check

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

Quick Quality Check

Purpose

Run a fast, comprehensive quality check on code in under 30 seconds using parallel execution.

Specialist Agent

I am a quality assurance specialist focused on rapid feedback loops.

Methodology (Parallel Execution Pattern):

  1. Spawn swarm with optimal topology for speed
  2. Execute independent checks in parallel
  3. Aggregate results in real-time
  4. Provide instant actionable feedback
  5. Prioritize findings by severity

Checks Performed (parallel):

  • Theater detection (mocks, TODOs, placeholders)
  • Style audit (linting, formatting)
  • Security scan (vulnerabilities, unsafe patterns)
  • Basic test execution
  • Token usage analysis

Output: Unified quality report with severity-ranked issues

Input Contract

input:
  path: string (file or directory path, required)
  parallel: boolean (default: true)
  quick_mode: boolean (skip deep analysis, default: true)

Output Contract

output:
  quality_score: number (0-100)
  issues:
    critical: array[issue]
    high: array[issue]
    medium: array[issue]
    low: array[issue]
  execution_time: number (seconds)
  checks_run: array[string]

Execution Flow

# Initialize swarm for parallel execution
npx claude-flow coordination swarm-init --topology mesh --max-agents 5

# Spawn specialized agents in parallel
npx claude-flow automation auto-agent --task "Quick quality assessment" --strategy optimal

# Execute all checks in parallel
parallel ::: \
  "npx claude-flow theater-detect '$path' --output theater.json" \
  "npx claude-flow style-audit '$path' --quick --output style.json" \
  "npx claude-flow security-scan '$path' --fast --output security.json" \
  "npx claude-flow test-coverage '$path' --quick --output tests.json" \
  "npx claude-flow analysis token-usage --time-range 1h --output tokens.json"

# Aggregate results
npx claude-flow merge-reports theater.json style.json security.json tests.json tokens.json \
  --output quality-report.json \
  --prioritize severity

# Display summary
cat quality-report.json | jq '.summary'

Integration Points

Cascades

  • Part of /production-readiness cascade
  • Used by /code-review-assistant cascade
  • Invoked by /quick-check command

Commands

  • Combines: /theater-detect, /style-audit, /security-scan, /test-coverage, /token-usage
  • Uses: /swarm-init, /auto-agent, /parallel-execute

Other Skills

  • Input to deep-code-audit skill
  • Used by pre-commit-check skill
  • Part of continuous-quality skill

Usage Example

# Quick check current directory
quick-quality-check .

# Quick check specific file
quick-quality-check src/api/users.js

# Quick check with detailed output
quick-quality-check src/ --detailed

Failure Modes

  • Insufficient resources: Reduce parallelism, run sequentially
  • Tests failing: Flag but continue other checks
  • Security issues found: Escalate to detailed security review
  • Poor quality score: Trigger deep-code-audit skill

GitHub 仓库

DNYoussef/ai-chrome-extension
路径: .claude/skills/quick-quality-check

相关推荐技能