一键导入
quality-guardrails
Activate this skill when adding new service endpoints, editing database layers, or preparing to commit changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Activate this skill when adding new service endpoints, editing database layers, or preparing to commit changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Activate this skill when writing or refactoring microservice and SDK javascript/typescript source files.
Activate this skill before opening pull requests, modifying production configurations, or executing deployment and destructive commands to ensure proper human-in-the-loop verification.
Activate this skill when beginning complex tasks, proposing architectural changes, or modifying codebase files to ensure proper planning and predictive failure analysis.
Activate this skill when making tool calls, interacting with the terminal, or invoking GitHub APIs to ensure strict ReAct patterns are followed.
Activate this skill when delegating tasks, defining subagents, or orchestrating parallel agentic workflows.
Activate this skill after implementing code changes to verify, review, and update markdown documentation and timestamps.
| name | quality-guardrails |
| description | Activate this skill when adding new service endpoints, editing database layers, or preparing to commit changes. |
To prevent regression and ensure 100% architectural integrity, the following automated checks are mandatory:
LiferayService (index.cjs) MUST have a corresponding implementation in either LiferayRestService or LiferayGraphqlService.tests/serviceParity.test.cjs. This prevents TypeError: ... is not a function errors when invoking headless wrappers.[S.CREATE_PRODUCTS]) MUST be mapped to a valid class method.BaseGenerator.verifySteps() method is called at boot time in bootstrap.cjs. The microservice will fail to start if any mapping is broken.lint-staged run eslint --fix, vitest run, and markdownlint on every commit. This catches ReferenceError, SyntaxError, and documentation drift before they reach the repository.Last Updated: 2026-07-19 | Last Reviewed: 2026-07-19