lindoelio/spec-driven-steroids/universal-live-check

Claude Code and agent skill by lindoelio/spec-driven-steroids

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.

Universal live-check framework for coding agents. Executes incremental, deterministic validation across all software domains (CLI, backend, frontend, mobile, embedded, libs). Change-type-aware (feat, fix, hotfix, refactor, migrate, docs). Triggers whenever an agent needs to validate code quality, run linting, perform pre-commit checks, verify builds, or validate changes in real-time. Use this skill for live validation during coding, pre-commit hooks, CI pre-flight checks, and rapid feedback loops.

Install

npx vskill@latest install lindoelio/spec-driven-steroids/universal-live-check

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

SKILL.md

Universal Live Check Framework

Validate code changes in real-time with domain-adaptive, change-type-aware checks. Every check is incremental (only validates what changed), fast (<2s), and deterministic.

Gotchas

Generic checks miss domain bugs: A TypeScript-only check will miss Docker misconfigurations, missing environment variables, or mobile-specific API level issues. Always detect the domain first.

Blocking on slow checks kills flow: Live checks must be fast. Offload heavy checks (integration tests, full test suites) to async pipelines. Live checks verify immediately-correctable issues.

Change type changes strategy: A hotfix needs minimal validation to unblock deployment. A feat needs full API contract verification. Always determine change type before selecting checks.

Scope creep in libs: Library changes affect downstream consumers. A libs domain check must verify public API surface and semver compliance even for "minor" changes.

Quick Start

text
Input: Files changed (or files to check), optional change type (feat|fix|hotfix|refactor|migrate|docs)
Output: Structured check report with pass/fail per check category
Workflow:
1. Classify domain(s) affected by the change
2. Determine change type via branch/commit/message analysis
3. Select checks per domain + change type
4. Run incremental checks (file-level first, then module-level)
5. Aggregate results into structured report
6. If failures: provide specific fix actions, not just symptoms

Activation

Load this skill when:

  • User asks for live checks, lint validation, or code quality checks
  • User mentions pre-commit, pre-push, or CI pre-flight
  • Agent is about to complete a coding session and needs validation
  • User asks to "verify", "check", "validate", or "test" code changes
  • User asks to "run checks" or "check my work"
  • Agent detects domain change (CLI→backend, frontend→mobile, etc.)

Do NOT load this skill for:

  • Running full test suites (delegate to CI async pipeline)
  • Questions about code without validating anything
  • Already-passed checks that don't need re-running

Domain Classification

Detect affected domains by analyzing file paths, package manager files, and project structure.

Domain Detection Algorithm
1. Scan changed files for domain signals
2. Check for project config files:
- package.json → frontend, libs, or CLI
- pyproject.toml / requirements.txt → backend
- Cargo.toml → embedded or libs
- docker-compose.yml / Dockerfile → backend
- android/ or ios/ directories → mobile
- Makefile / *.c / *.h → embedded
3. Combine signals,权重 domain confidence
4. Return ordered list of domains with confidence scores
Domain Signal Map
SignalDomainExamples
package.json + web frameworkfrontendReact, Vue, Svelte, Next.js
package.json + CLI toolCLIcommander, yargs, inquirer
bin/ or cli/ directoryCLICommand-line tools
pyproject.toml / requirements.txtbackendDjango, FastAPI, Flask
Cargo.toml + no web frameworkembeddedRust bare-metal
Cargo.toml + web frameworklibsRust web libraries
Dockerfile / docker-compose.ymlbackendContainer configs
android/ / ios/ directoriesmobileReact Native, Flutter
Makefile + .c / .h filesembeddedC/C++ firmware
go.modbackendGo services
.npmignore + README.md at rootlibsnpm packages
New Addition Detection

For detecting NEW files/features (priority signals):

  • bin/ directory with executable files → feat (new CLI tool)
  • cli/ path prefix → feat (new CLI tool)
  • New API routes in api/ → feat (new endpoint)
  • New components in components/ → feat (new UI feature)
  • First file in a new directory → feat (new module)
Multi-Domain Detection

Most changes affect multiple domains:

  • api/ + ui/ changes → backend + frontend
  • lib/ + cli/ changes → libs + CLI
  • server/ + mobile/ changes → backend + mobile

Always run checks for ALL detected domains.

Change Type Detection

Detect the change type in priority order:

  1. Explicit tag: User provides type tag (feat, fix, hotfix, refactor, migrate, docs)
  1. Branch name scan: Check branch for conventional-commit prefixes:
  • feat/ → feat
  • fix/ → fix
  • hotfix/ → hotfix
  • refactor/ → refactor
  • chore/ → migrate
  • docs/ → docs
  1. Commit message scan: Examine last 5 commit messages for prefixes (feat:, fix:, etc.)
  1. Heuristic inference: Analyze diff size, files changed, and message language:
  • Large diff + many files → migrate or major feat
  • Few files + "fix" language → fix
  • "emergency" / "production down" → hotfix
  1. File path patterns: Analyze file paths for change type signals:
  • cli/, bin/ → feat (new tool)
  • api/, routes/ + new file → feat (new endpoint)
  • components/ + new file → feat (new component)
  • fix/, bug/ in path → fix
  • hotfix/, patch/ → hotfix
  • migrate/, upgrade/ → migrate
  1. Change size heuristics: Scale validation depth by change scope:
  • Single file, small change → focused check on affected lines
  • Multiple files → cross-file integration checks
  • New directory/first commit → full domain validation
  • 10+ files changed → check for scope creep and missing tests
  1. Fallback: If no signal, use feat (most common, full validation)
Change Type Strategies
TypeValidation ScopeSpeedBlockers
featFull validation, API contracts, testsMediumAll errors
fixRegression check, affected area, no new issuesFastAll errors
hotfixMinimal: build passes, core logic correctFastOnly blockers
refactorBehavior preserved, no logic changeMediumLogic errors only
migrateCompatibility, deprecation warnings, dataSlowBreaking changes
docsLinks valid, formatting correctFastBroken links

Universal Check Categories

These checks apply to ALL domains:

1. Build Integrity (Universal)
- File syntax is valid (parse error check)
- Dependencies are resolvable
- Required env vars are defined (not necessarily set)
- Config files are valid (JSON/YAML/TOML parse)
2. Naming & Conventions (Universal)
- File naming follows project conventions
- Exported symbols follow naming conventions
- No debug/console logs left in production code
- No TODO/FIXME comments without tracking issue
3. Security Surface (Universal)
- No hardcoded secrets (API keys, passwords, tokens)
- No SQL/command injection vectors
- Input validation present on boundaries
- Authentication/authorization checks on endpoints
4. Error Handling (Universal)
- All errors are caught or propagated
- Error messages don't leak internals
- Resource cleanup in finally/defer blocks
- No empty catch blocks swallowing errors
5. Testing Surface (Universal)
- New code has corresponding tests
- Tests are not just stubs (assertions present)
- Test file naming follows convention
6. Cross-Domain Contamination (Universal)

When multiple domains detected, check for cross-boundary issues:

- Imports between domains (libs → backend → frontend)
- Shared config affecting multiple outputs
- Peer dependencies misaligned with actual usage
- Type mismatches across domain boundaries

Domain-Specific Checks

Read the relevant reference file for domain-specific checks:

Cross-domain detection is a key differentiator. When a libs check finds backend code importing a library function, that's a signal to also run backend checks on that file.

Check Execution Engine

Hierarchical Validation
Level 1: File-level (instant, ~10ms per file)
├── Syntax parse check
├── Naming convention check
├── No secrets scan (regex)
└── Import/resolution check
Level 2: Module-level (~100ms per module)
├── Type check (if applicable)
├── Unused export check
├── Dependency graph check
└── API contract check
Level 3: Project-level (~1s total)
├── Build/compilation check
├── Config consistency check
└── Integration surface check
Incremental Check Optimization

Only run checks affected by the changed files:

  1. File changed → Run Level 1 for that file
  2. API file changed → Run Level 2 for that module
  3. Config file changed → Run Level 3 for project
  4. Multiple files → Parallelize by file, aggregate results
Cross-Domain Contamination Detection

Critical for libs/domain packages: Changes in one domain can break another.

Run these checks when multiple domains are detected:

libs/consumer.ts imports backend/api.ts → Verify api.ts hasn't changed
frontend/page.tsx imports mobile/App.tsx → Flag cross-import
lib/utils.ts used in cli/wordcount.ts → Check lib doesn't break CLI

Signs of contamination:

  • Import chain crosses domain boundaries
  • Shared utilities used by multiple domains
  • Config files that affect multiple outputs

When found: validate BOTH the changed file AND its consumers.

Check Result Format
json
{
"domain": "backend",
"change_type": "feat",
"checks_run": 12,
"passed": 10,
"failed": 2,
"results": [
{
"check": "api-contract",
"level": "module",
"status": "pass",
"file": "api/users.rs",
"message": "All endpoints have schema definitions"
},
{
"check": "secrets-scan",
"level": "file",
"status": "fail",
"file": "config/development.env",
"line": 3,
"message": "Potential API key hardcoded",
"fix": "Move to environment variables or .env file"
}
],
"execution_time_ms": 847
}

Self-Healing Loop

For failed checks with auto-fix capability:

  1. Attempt fix using known patterns
  2. Re-run check to verify fix
  3. If still failing: Mark as requires-attention, continue
  4. After session: Report all unfixable issues with specific remediation steps

Never skip checks because auto-fix isn't available. Always report findings.

Reporting

Structured Report Format
markdown
# Live Check Report
**Domain:** backend | **Change Type:** feat
**Files:** 5 changed | **Checks:** 12 run | **Time:** 847ms
## Summary
| Status | Count |
|--------|-------|
| ✅ Passed | 10 |
| ❌ Failed | 2 |
| ⚠️ Warnings | 1 |
## Failed Checks
### 1. secrets-scan (HIGH)
**File:** `config/development.env:3`

API_KEY=sk_live_abc123 # ← hardcoded secret

**Fix:** Move to environment variables, use `.env.example` template
### 2. api-contract (MEDIUM)
**File:** `api/users.rs:45`
**Issue:** Response schema missing `email` field for `User` type
**Fix:** Add `email: string` to `UserResponse` schema
## Warnings
- `test_users.rs:12` — Test assertion too broad (consider using exact match)
## Cross-Domain Findings
When contamination detected between domains:

Contamination: libs/utils.ts used by api/users.ts Issue: api/users.ts imports bcrypt but utils doesn't export it Check: Verify all imports are resolvable across domain boundaries

## Next Steps
1. Fix 2 failed checks above
2. Run full test suite: `cargo test`
3. Verify build: `cargo build --release`
Exit Codes

This is the start of the file. Read the full SKILL.md on GitHub.

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

Repository stars
54
Repository forks
3
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 10 Jul 2026, 4 months ago.

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/lindoelio/spec-driven-steroids/universal-live-check/badge)](https://verified-skill.com/skills/lindoelio/spec-driven-steroids/universal-live-check)

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