majiayu000/claude-skill-registry-data/build-test-auto

Claude Code and agent skill by majiayu000/claude-skill-registry-data

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Tainted

Author "majiayu000" has blocked skill(s)

Automatically builds and tests code changes. Use whenever code is modified, tests fail, before creating pull requests, or when verifying code quality.

Install

npx vskill@latest install majiayu000/claude-skill-registry-data/build-test-auto

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/build-test-auto.

Automated Build & Test Workflow

Overview

This skill provides automated build and test execution for various project types. It is triggered automatically when code changes are made or when tests need verification.

Quick Reference

Project Detection & Commands
bash
# JavaScript/Node.js
if [ -f "package.json" ]; then
npm install && npm run build && npm test
fi
# Python
if [ -f "pyproject.toml" ] || [ -f "setup.py" ]; then
pip install -e . && python -m pytest
fi
# Rust
if [ -f "Cargo.toml" ]; then
cargo build && cargo test
fi
# Go
if [ -f "go.mod" ]; then
go build ./... && go test ./...
fi
# Java Maven
if [ -f "pom.xml" ]; then
mvn compile && mvn test
fi
# Java/Kotlin Gradle
if [ -f "build.gradle" ] || [ -f "build.gradle.kts" ]; then
./gradlew build && ./gradlew test
fi
# Ruby
if [ -f "Gemfile" ]; then
bundle install && bundle exec rspec
fi
# Make-based
if [ -f "Makefile" ]; then
make && make test
fi

Workflow Steps

1. Pre-Build Checks
  • Verify dependencies are installed
  • Check for required tools (use mise if available)
  • Validate configuration files
2. Build Phase
  • Run the build command
  • Capture all output
  • Stop immediately on build failure
  • Show exact error location
3. Test Phase
  • Run the full test suite
  • Capture test output with verbose mode
  • Document all failures
4. Failure Analysis

For each failure:

  1. Identify the test name and file
  2. Show the exact error message
  3. Display relevant stack trace
  4. Analyze root cause
5. Fix & Verify
  • Apply minimal fixes
  • Re-run tests to confirm
  • Report final status

Linting

After tests pass, also run linting:

Project TypeLint Command
Node.jsnpm run lint
Pythonruff check . or flake8
Rustcargo clippy
Gogo vet ./...

Tips

  • Use mise to install missing runtimes
  • Check .nvmrc, .python-version, .tool-versions for version requirements
  • Run lint and build before pushing to remote

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/majiayu000/claude-skill-registry-data/build-test-auto/badge)](https://verified-skill.com/skills/majiayu000/claude-skill-registry-data/build-test-auto)

Something wrong with this skill or its page? Tell us.