new-sdk-app
CommandCreate and setup a new Claude Agent SDK application
Multi-agent code review with iterative improvement
> /plugin marketplace add composio-community/awesome-claude-plugins
description: Multi-agent code review with iterative improvement argument-hint: "[scope] [--recent] [--domain AGENT] [--quick] [--create-tech-debt] [--resume]" allowed-tools: Bash(git:*), Bash(node:*), Read, Write, Edit, Glob, Grep, Task, AskUserQuestion
Comprehensive code review using specialized AI agents with iterative improvement.
| Phase | Description | Details | |-------|-------------|---------| | 1 | Context & Agent Selection | This file | | 2 | Multi-Agent Review | See `audit-project-agents.md` | | 3-4 | Tech Debt & Fixes | This file | | 5-6 | Verification & Iteration | This file | | 7 | Completion Report | This file | | 8 | GitHub Issues | See `audit-project-github.md` |
Parse from $ARGUMENTS:
If `--resume` is provided, reuse the most recent review queue in the platform state dir. Otherwise create a new queue file. See `audit-project-agents.md` for queue handling.
# Get plugin root using Node.js helper
PLUGIN_ROOT=$(node -e "const { getPluginRoot } = require('@awesome-slash/lib/cross-platform'); const root = getPluginRoot('audit-project'); if (!root) { console.error('Error: Could not locate audit-project plugin root'); process.exit(1); } console.log(root);")
PLATFORM=$(node "$PLUGIN_ROOT/lib/platform/detect-platform.js")
TOOLS=$(node "$PLUGIN_ROOT/lib/platform/verify-tools.js")
PROJECT_TYPE=$(echo $PLATFORM | jq -r '.projectType')
PACKAGE_MGR=$(echo $PLATFORM | jq -r '.packageManager')
# Detect framework
FRAMEWORK="unknown"
if [ "$PROJECT_TYPE" = "nodejs" ]; then
[ -n "$(jq -e '.dependencies.react' package.json 2>/dev/null)" ] && FRAMEWORK="react"
[ -n "$(jq -e '.dependencies.express' package.json 2>/dev/null)" ] && FRAMEWORK="express"
elif [ "$PROJECT_TYPE" = "python" ]; then
grep -q "django" requirements.txt 2>/dev/null && FRAMEWORK="django"
grep -q "fastapi" requirements.txt 2>/dev/null && FRAMEWORK="fastapi"
fi
RESUME_MODE=$([ "${ARGUMENTS}" != "${ARGUMENTS%--resume*}" ] && echo "true" || echo "false")FILE_COUNT=$(git ls-files | wc -l) TEST_FILES=$(git ls-files | grep -E '(test|spec)\.' | wc -l) HAS_TESTS=$( [ "$TEST_FILES" -gt 0 ] && echo "true" || echo "false" ) HAS_DB=$(grep -rq -E "(Sequelize|Prisma|TypeORM)" . 2>/dev/null && echo "true" || echo "false") HAS_API=$(grep -rq -E "(express|fastify|@nestjs)" . 2>/dev/null && echo "true" || echo "false") HAS_FRONTEND=$( [ "$(git ls-files | grep -E '\.(tsx|jsx|vue|svelte)$' | wc -l)" -gt 0 ] && echo "true" || echo "false" ) HAS_BACKEND=$(grep -rq -E "(express|fastify|@nestjs|koa|hapi)" . 2>/dev/null && echo "true" || echo "false") if [ -d ".github/workflows" ] || [ -f ".gitlab-ci.yml" ] || [ -f ".circleci/config.yml" ] || \ [ -f "Jenkinsfile" ] || [ -f ".travis.yml" ] || [ -f "azure-pipelines.yml" ] || \ [ -f "bitbucket-pipelines.yml" ]; then HAS_CICD="true" else HAS_CICD="false" fi
**Always Active:**
**Conditional:**
See `audit-project-agents.md` for detailed agent coordination.
**Review queue:** Write findings to a temporary queue file in the platform state dir and keep it updated until all issues are resolved. Remove the file when the queue is empty.
Every finding MUST include:
### Finding: Unsafe SQL Query
**Agent**: security-expert
**File**: src/api/users.ts:87
**Severity**: critical
**Code**:
```typescript
const query = `SELECT * FROM users WHERE id = ${userId}`;**Fix**: Use parameterized queries. **Effort**: small
## Phase 3: Tech Debt Documentation If TECHNICAL_DEBT.md exists or `--create-tech-debt`: ```markdown # Technical Debt Last updated: $(date -I) ## Summary **Total Issues**: X | Critical: Y | High: Z | Medium: A | Low: B ## Critical Issues [Grouped by severity with file:line, description, fix, effort] ## Progress Tracking - [ ] Issue 1 - [ ] Issue 2
1. **Auto-fixable** (lint, formatting): Apply directly 2. **Manual fix** (code logic): Implement suggested fix 3. **Design decision required**: Flag as blocked and report to user 4. **False positive**: Mark and remove from review queue
1. Critical severity first 2. Then high → medium → low 3. Then by effort (small → large) 4. Then batch by file
# Run tests [ -n "$TEST_CMD" ] && $TEST_CMD TEST_STATUS=$? # Run linter [ -n "$LINT_CMD" ] && $LINT_CMD LINT_STATUS=$? # Run build [ -n "$BUILD_CMD" ] && $BUILD_CMD BUILD_S
A curated list of Plugins that let you extend Claude Code with custom commands, agents, hooks, and MCP servers through the plugin system.
Create and setup a new Claude Agent SDK application
This file contains detailed agent coordination for `/audit-project`.
This file contains GitHub integration for `/audit-project`.
Streamlines bug fixing by creating a GitHub issue first, then a feature branch for implementing and thoroughly testing the…
Perform a comprehensive code review of recent changes
Creates git commits using conventional commit format with appropriate emojis, following project standards and creating…
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools…
This compatibility command keeps `/oh-my-claudecode:ask` available without loading the full `ask` skill description in every…