agent-skills/fe-js-ts-quality-gate/SKILL.md
Enforces ESLint, Prettier, and TypeScript compiler checks from the frontend package.json for JavaScript and TypeScript source. Use when creating or editing .js, .jsx, .ts, or .tsx files under fe/, when generating React or Vite frontend code in this repo, or when the user asks for lint-, format-, or tsc-compliant frontend changes.
npx skillsauth add petrzivny/symfony-react-skeleton fe-js-ts-quality-gateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Apply this skill whenever you create or modify any of:
.js, .jsx, .ts, .tsxunder the frontend package that owns the tooling scripts. In this repository, that is fe/ (see fe/package.json).
If the repo later adds other Node packages with their own package.json, use the nearest package.json to the changed files and the scripts defined there instead.
Compliance means whatever is configured for:
| Concern | How it is enforced (this repo) | Defined in / via |
| ---------- | ------------------------------------------- | ----------------------------------------- |
| ESLint | pnpm run lint → eslint . --max-warnings=0 | fe/package.json, fe/eslint.config.js |
| Prettier | pnpm run format → prettier --check . | fe/package.json, Prettier config in fe/ |
| TypeScript | pnpm run typecheck → tsc -b --pretty false | fe/package.json, fe/tsconfig*.json |
Do not invent style or type rules that conflict with these tools. Prefer fixes in code over disabling rules, unless the user explicitly asks otherwise.
After implementing changes to .js, .jsx, .ts, or .tsx under fe/src/ (or other frontend sources under fe/):
tsc errors for TS and project references).Run from fe/:
pnpm run typecheck
pnpm run lint
pnpm run format
For larger edits, you may use pnpm run check once the above are green to also run tests (typecheck + lint + format + test).
If ESLint/Prettier report fixable issues, you may run:
pnpm run lint:fix
pnpm run format:fix
Then rerun pnpm run lint and pnpm run format (check mode) to confirm a clean state.
pnpm or dependencies are missing, say so and give the exact commands for the user to run locally after pnpm install in fe/.api/, use the php-quality-gate skill instead.ts-tsx-eslint-prettier skill is style-focused; this skill adds mandatory verification via fe/package.json scripts for all listed extensions.development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.