| name | validating-workspace-builds |
| description | Provides build and lint validation checks for the active workspace. Use when self-correcting compilation failures, syntax errors, or linting violations across codebase files. Invoke a standardized validation script before completion to promote test-driven development. Don't use for drafting GitHub issue templates or codebase scans. |
Validating Workspace Builds
This skill executes self-correcting validation loops by running local builders/compilers, parsing error streams, and presenting actionable fixes.
Rules
- Never commit unchecked code. Before finalizing any frontend or backend migration task, always execute verification scripts to ensure zero compilation or syntax warnings.
- Execute build checks. Use
python3 scripts/check_angular_compile.py to compile Angular components.
- Execute python linting. Use
python3 scripts/check_python_lint.py to syntax check FastAPI endpoints.
- Fix and retry. If any checks output failures, feed the error back into your context, correct the source file, and run the validator script again until it compiles cleanly.
Execution
Run verification scripts depending on the module:
python3 scripts/check_angular_compile.py --target {path_to_angular_project_or_file}
python3 scripts/check_python_lint.py --file {path_to_fastapi_python_file}