moai-foundation-trust - TRUST 5-Principles Validation for Code Quality Gates
Validates TRUST 5-principles (Test, Readable, Unified, Secured, Trackable) compliance using testing frameworks, SAST tools, and CI/CD automation.
Tags
Updated: 2026-06-30Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Check test coverage thresholds
- Run code linting checks
- Run type safety checks
- Scan for security vulnerabilities
- Detect hardcoded secrets
- Validate TAG chain integrity
- Detect orphaned TAG references
- Generate TRUST compliance report
- Enforce quality gate decisions
Inputs
- Project configuration files
- Source code and test files
- SPEC documents
- CI/CD configuration
Outputs
- TRUST compliance report
- Coverage metrics report
- Security scan results
- TAG chain validation report
- Quality gate decision
Requirements
- Tools: Read, Write, Edit, Bash, TodoWrite
- Testing frameworks (pytest, Vitest, Jest, Go testing, cargo test, JUnit, flutter test)
- Linting tools (ruff, Biome, ESLint, golangci-lint, clippy, Checkstyle)
- SAST tools (detect-secrets, trivy, semgrep, bandit, gosec)
- Type checking tools (mypy, tsc, go vet, cargo check)
- ripgrep for TAG scanning
- CI/CD pipeline access for automation
