Claude-skill-registry-data mission-airlock

Run test and lint validation gate. Use after implementation to verify code quality.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry-data
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry-data "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/mission-airlock" ~/.claude/skills/majiayu000-claude-skill-registry-data-mission-airlock && rm -rf "$T"
manifest: data/mission-airlock/SKILL.md
source content

/mission-airlock - Validation Gate

Run tests, lint, and type checking before task completion.


Instructions

Step 1: Detect Project Type

Check for these files in project root:

FileType
package.json
Node.js
Cargo.toml
Rust
pyproject.toml
or
setup.py
Python
go.mod
Go
Makefile
Make
build.gradle
Gradle
pom.xml
Maven

Step 2: Run Tests

TypeCommand
Node.js
npm test
(if "test" script exists in package.json)
Rust
cargo test
Python
pytest
or
python -m unittest discover
Go
go test ./...
Make
make test
(if target exists)
Gradle
./gradlew test
Maven
mvn test

Step 3: Run Lint

TypeCommand
Node.js
npm run lint
or
npx eslint .
or
npx biome check .
Rust
cargo clippy -- -D warnings
Python
ruff check .
or
flake8 .
Go
golangci-lint run
or
go vet ./...
Make
make lint
(if target exists)
Gradle
./gradlew spotlessCheck
or
./gradlew checkstyleMain
Maven
mvn checkstyle:check
(if configured)

Step 4: Run Type Check (if applicable)

TypeCommand
Node.js
npx tsc --noEmit
(if tsconfig.json exists)
Python
mypy .
(if configured)

Step 5: Report Result

  • All pass →
    === RESULT: PASS ===
  • Any fail →
    === RESULT: FAIL ===

Pod Integration

On PASS: Proceed to

bd close <task_id>
.

On FAIL: Create blocking bug:

bd create -t bug --title="Airlock: [summary]" --priority=1
bd comments <bug-id> --add "[CONTEXT] Task: <task-id>, Failure: <type>, Output: <error>"
bd dep add <task-id> <bug-id>
bd sync

Bug Severity

FailureSeverityBlocks?
Tests failblocker (P1)Yes
Build failcritical (P0)Yes + halt Ralph
Lint/Type failwarning (P2)No