Comprehensive developer toolkit providing reusable skills for Java/Spring Boot, TypeScript/NestJS/React/Next.js, Python, PHP, AWS CloudFormation, AI/RAG, DevOps, and more.
89
89%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Risky
Do not use without reviewing
Complete test command reference for all project types and quality checks.
# Detect: package.json exists
# Command:
npm test
# With coverage:
npm test -- --coverage
# Watch mode:
npm test -- --watch
# Specific test file:
npm test -- path/to/test.spec.ts# Detect: pom.xml exists
# Command:
./mvnw clean verify
# Skip tests (not recommended):
./mvnw clean install -DskipTests
# Run specific test class:
./mvnw test -Dtest=TestClass
# Run specific test method:
./mvnw test -Dtest=TestClass#testMethod# Detect: build.gradle or build.gradle.kts exists
# Command:
./gradlew build
# Run tests only:
./gradlew test
# Run specific test:
./gradlew test --tests TestClass
# With coverage:
./gradlew test jacocoTestReport# Detect: pyproject.toml or setup.py exists
# Command:
python -m pytest
# With coverage:
python -m pytest --cov
# Verbose output:
python -m pytest -v
# Specific test file:
python -m pytest path/to/test_file.py# Detect: go.mod exists
# Command:
go test ./...
# With verbose output:
go test -v ./...
# With coverage:
go test -cover ./...
# Specific package:
go test ./path/to/package# Detect: composer.json exists
# Command:
composer test
# PHPUnit (if configured):
./vendor/bin/phpunit
# With coverage:
./vendor/bin/phpunit --coverage-html coverage# Detect: Makefile exists
# Command:
make test
# Specific target:
make test-unit
make test-integration# ESLint:
npm run lint
# TypeScript type checking:
npx tsc --noEmit
# Prettier check:
npx prettier --check .
# Prettier format:
npx prettier --write .
# Combined:
npm run lint && npx tsc --noEmit && npx prettier --check .# Checkstyle:
./mvnw checkstyle:check
# SpotBugs:
./mvnw spotbugs:check
# PMD:
./mvnw pmd:check
# Combined:
./mvnw checkstyle:check spotbugs:check pmd:check# All checks:
./gradlew check
# Individual checks:
./gradlew checkstyleMain
./gradlew spotbugsMain
./gradlew pmdMain# Ruff linter:
python -m ruff check .
# Ruff formatter:
python -m ruff format --check .
# MyPy type checker:
python -m mypy .
# Combined:
python -m ruff check . && python -m mypy . && python -m ruff format --check .# Vet:
go vet ./...
# Format check:
gofmt -l .
# Lint (requires golangci-lint):
golangci-lint run
# Combined:
go vet ./... && gofmt -l .# PHPCS:
composer lint
# PHPStan:
./vendor/bin/phpstan analyse
# Psalm:
./vendor/bin/psalm
# Combined:
composer lint && ./vendor/bin/phpstan analyse# Check formatting:
npx prettier --check .
# Format files:
npx prettier --write .
# Specific directory:
npx prettier --check src/# Check formatting:
python -m ruff format --check .
# Format files:
python -m ruff format .
# Specific directory:
python -m ruff format --check src/# Check formatting:
gofmt -l .
# Format files:
gofmt -w .
# Specific directory:
gofmt -l src/# npm audit:
npm audit
# npm audit fix:
npm audit fix
# Yarn audit:
yarn audit
# Snyk (if installed):
npx snyk test# Safety:
safety check
# Bandit:
bandit -r .
# Pip-audit:
pip-audit# OWASP Dependency Check (if installed):
dependency-check --scan .#!/bin/bash
# Comprehensive test runner for Phase 5
# Detect and run the FULL test suite
if [ -f "package.json" ]; then
echo "Detected Node.js project"
npm test 2>&1 || true
elif [ -f "pom.xml" ]; then
echo "Detected Maven project"
./mvnw clean verify 2>&1 || true
elif [ -f "build.gradle" ] || [ -f "build.gradle.kts" ]; then
echo "Detected Gradle project"
./gradlew build 2>&1 || true
elif [ -f "pyproject.toml" ] || [ -f "setup.py" ]; then
echo "Detected Python project"
python -m pytest 2>&1 || true
elif [ -f "go.mod" ]; then
echo "Detected Go project"
go test ./... 2>&1 || true
elif [ -f "composer.json" ]; then
echo "Detected PHP project"
composer test 2>&1 || true
elif [ -f "Makefile" ]; then
echo "Detected Makefile project"
make test 2>&1 || true
else
echo "No known test configuration found"
exit 1
fi#!/bin/bash
# Comprehensive linter for Phase 5
# Detect and run ALL available linters/formatters
if [ -f "package.json" ]; then
echo "Detected Node.js project"
npm run lint 2>&1 || true
npx tsc --noEmit 2>&1 || true # TypeScript type checking
elif [ -f "pom.xml" ]; then
echo "Detected Maven project"
./mvnw checkstyle:check 2>&1 || true
./mvnw spotbugs:check 2>&1 || true
elif [ -f "build.gradle" ] || [ -f "build.gradle.kts" ]; then
echo "Detected Gradle project"
./gradlew check 2>&1 || true
elif [ -f "pyproject.toml" ]; then
echo "Detected Python project"
python -m ruff check . 2>&1 || true
python -m mypy . 2>&1 || true
elif [ -f "go.mod" ]; then
echo "Detected Go project"
go vet ./... 2>&1 || true
elif [ -f "composer.json" ]; then
echo "Detected PHP project"
composer lint 2>&1 || true
fi#!/bin/bash
# Code formatting check for Phase 5
# Detect and run formatting checks
if [ -f "package.json" ]; then
echo "Checking Node.js project formatting"
npx prettier --check . 2>&1 || true
elif [ -f "pyproject.toml" ]; then
echo "Checking Python project formatting"
python -m ruff format --check . 2>&1 || true
elif [ -f "go.mod" ]; then
echo "Checking Go project formatting"
gofmt -l . 2>&1 || true
fi| Exit Code | Meaning | Action |
|---|---|---|
| 0 | All tests passed | Proceed to next phase |
| 1-4 | Tests failed | Fix failures, re-run |
| 127 | Command not found | Install test framework |
| 130 | Interrupted (Ctrl+C) | Re-run tests |
| Failure Type | Common Cause | Fix |
|---|---|---|
| Unit test failure | Logic error | Fix code |
| Compilation error | Syntax error | Fix syntax |
| Import error | Missing dependency | Install dependency |
| Type error | Type mismatch | Fix types |
| Lint error | Style violation | Fix style |
name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm ci
- run: npm testtest:
script:
- npm ci
- npm testpipeline {
stages {
stage('Test') {
steps {
sh 'npm test'
}
}
}
}docs
plugins
developer-kit-ai
developer-kit-aws
agents
docs
skills
aws
aws-cli-beast
aws-cost-optimization
aws-drawio-architecture-diagrams
aws-sam-bootstrap
aws-cloudformation
aws-cloudformation-auto-scaling
aws-cloudformation-bedrock
aws-cloudformation-cloudfront
aws-cloudformation-cloudwatch
aws-cloudformation-dynamodb
aws-cloudformation-ec2
aws-cloudformation-ecs
aws-cloudformation-elasticache
references
aws-cloudformation-iam
references
aws-cloudformation-lambda
aws-cloudformation-rds
aws-cloudformation-s3
aws-cloudformation-security
aws-cloudformation-task-ecs-deploy-gh
aws-cloudformation-vpc
references
developer-kit-core
agents
commands
skills
developer-kit-devops
developer-kit-java
agents
commands
docs
skills
aws-lambda-java-integration
aws-rds-spring-boot-integration
aws-sdk-java-v2-bedrock
aws-sdk-java-v2-core
aws-sdk-java-v2-dynamodb
aws-sdk-java-v2-kms
aws-sdk-java-v2-lambda
aws-sdk-java-v2-messaging
aws-sdk-java-v2-rds
aws-sdk-java-v2-s3
aws-sdk-java-v2-secrets-manager
clean-architecture
graalvm-native-image
langchain4j-ai-services-patterns
references
langchain4j-mcp-server-patterns
references
langchain4j-rag-implementation-patterns
references
langchain4j-spring-boot-integration
langchain4j-testing-strategies
langchain4j-tool-function-calling-patterns
langchain4j-vector-stores-configuration
references
qdrant
references
spring-ai-mcp-server-patterns
spring-boot-actuator
spring-boot-cache
spring-boot-crud-patterns
spring-boot-dependency-injection
spring-boot-event-driven-patterns
spring-boot-openapi-documentation
spring-boot-project-creator
spring-boot-resilience4j
spring-boot-rest-api-standards
spring-boot-saga-pattern
spring-boot-security-jwt
assets
references
scripts
spring-boot-test-patterns
spring-data-jpa
references
spring-data-neo4j
references
unit-test-application-events
unit-test-bean-validation
unit-test-boundary-conditions
unit-test-caching
unit-test-config-properties
references
unit-test-controller-layer
unit-test-exception-handler
references
unit-test-json-serialization
unit-test-mapper-converter
references
unit-test-parameterized
unit-test-scheduled-async
references
unit-test-service-layer
references
unit-test-utility-methods
unit-test-wiremock-rest-api
references
developer-kit-php
developer-kit-project-management
developer-kit-python
developer-kit-specs
commands
docs
hooks
test-templates
tests
skills
developer-kit-tools
developer-kit-typescript
agents
docs
hooks
rules
skills
aws-cdk
aws-lambda-typescript-integration
better-auth
clean-architecture
drizzle-orm-patterns
dynamodb-toolbox-patterns
references
nestjs
nestjs-best-practices
nestjs-code-review
nestjs-drizzle-crud-generator
nextjs-app-router
nextjs-authentication
nextjs-code-review
nextjs-data-fetching
nextjs-deployment
nextjs-performance
nx-monorepo
react-code-review
react-patterns
shadcn-ui
tailwind-css-patterns
tailwind-design-system
references
turborepo-monorepo
typescript-docs
typescript-security-review
zod-validation-utilities
references
github-spec-kit