xiaohongshu
xiaohongshu
ln-622-build-auditor
Build health audit worker (L3). Checks compiler/linter errors, deprecation warnings, type errors, failed tests, build configuration issues. Returns findings with severity (Critical/High/Medium/Low), location, effort, and recommendations.
Full skill instructions
Specialized worker auditing build health and code quality tooling.
Receives contextStore as JSON string:
{
"tech_stack": {
"language": "TypeScript",
"build_tool": "Webpack",
"test_framework": "Jest",
...
},
"best_practices": {...},
"principles": {...},
"codebase_root": "/path/to/project"
}
What: Syntax errors, compilation failures, linter rule violations
Detection by Stack:
| Stack | Command | Error Detection |
|---|---|---|
| Node.js/TypeScript | npm run build or tsc --noEmit | Check exit code, parse stderr for errors |
| Python | python -m py_compile *.py | Check exit code, parse stderr |
| Go | go build ./... | Check exit code, parse stderr |
| Rust | cargo build | Check exit code, parse stderr |
| Java | mvn compile | Check exit code, parse build log |
Linters:
npx eslint . --format json → parse JSON for errorspylint **/*.py --output-format=jsonrubocop --format jsongolangci-lint run --out-format jsonSeverity:
Recommendation: Fix errors before proceeding, configure linter rules, add pre-commit hooks
Effort: S-M (fix syntax error vs refactor code structure)
What: Usage of deprecated APIs, libraries, or language features
Detection:
DeprecationWarning, @deprecated in stack tracenpm outdated, pip list --outdated@deprecated annotationsSeverity:
Recommendation: Migrate to recommended API, update dependencies, refactor code
Effort: M-L (depends on API complexity and usage frequency)
What: Type mismatches, missing type annotations, type checker failures
Detection by Stack:
| Stack | Tool | Command |
|---|---|---|
| TypeScript | tsc | tsc --noEmit --strict |
| Python | mypy | mypy . --strict |
| Python | pyright | pyright --warnings |
| Go | go vet | go vet ./... |
| Rust | cargo | cargo check (type checks only) |
Severity:
tsc fails, cargo check fails)any, missing type guards)any, unknown without narrowing)Recommendation: Add type annotations, enable strict mode, use type guards
Effort: S-M (add types to single file vs refactor entire module)
What: Test suite failures, skipped tests, missing test coverage
Detection by Stack:
| Stack | Framework | Command |
|---|---|---|
| Node.js | Jest | npm test -- --json --outputFile=test-results.json |
| Node.js | Mocha | mocha --reporter json > test-results.json |
| Python | Pytest | pytest --json-report --json-report-file=test-results.json |
| Go | go test | go test ./... -json |
| Rust | cargo test | cargo test --no-fail-fast |
Severity:
Recommendation: Fix failing tests, remove skip markers, add missing tests
Effort: S-M (update test assertion vs redesign test strategy)
What: Misconfigured build tools, missing scripts, incorrect paths
Detection:
package.json, Makefile, build.gradletsconfig.json, webpack.config.js, Cargo.tomlSeverity:
Recommendation: Fix config paths, add missing build scripts, optimize build settings
Effort: S-M (update config file vs redesign build pipeline)
violations = {critical: N, high: M, medium: K, low: L}
penalty = (critical * 2.0) + (high * 1.0) + (medium * 0.5) + (low * 0.2)
score = max(0, 10 - penalty)
Examples:
Return JSON to coordinator:
{
"category": "Build Health",
"score": 7,
"total_issues": 5,
"critical": 1,
"high": 2,
"medium": 2,
"low": 0,
"findings": [
{
"severity": "CRITICAL",
"location": "src/utils/helper.ts:45",
"issue": "TypeScript error: Type 'string' is not assignable to type 'number'",
"principle": "Type Safety",
"recommendation": "Fix type mismatch: change 'id: string' to 'id: number' or update usage",
"effort": "S"
},
{
"severity": "HIGH",
"location": "tests/api.test.ts:112",
"issue": "Test failed: Expected 200, received 404",
"principle": "Test Quality",
"recommendation": "Update API endpoint or fix test assertion",
"effort": "M"
}
]
}
Version: 3.0.0 Last Updated: 2025-12-23
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience