guardrails
Use for change discipline, validation expectations, and safety checks when making repo changes.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Guardrails
When to use
- You are planning changes that might touch multiple areas or risk unintended churn.
- You are preparing to declare work complete and need validation guidance.
Steps
- Keep changes small and incremental; avoid drive-by refactors.
- Touch the fewest files necessary; avoid cross-module churn.
- Follow existing patterns and conventions; do not invent new architecture.
- If behavior changes, add/update tests to cover it.
- Use Taskfile targets for validation:
- Backend:
task backend:format,task backend:lint,task backend:typecheck,task backend:test. - Frontend:
task frontend:format,task frontend:lint,task frontend:check,task frontend:test:run. - GraphQL touched:
task frontend:codegen.
- Backend:
- If a check can’t run, state what ran and what was blocked.
Constraints and guardrails
- Never commit secrets or real credentials (use
.env.example). - Avoid cross-cutting backend + frontend changes unless explicitly required.
- Ask/confirm before changes to:
- API/GraphQL schema/contract, auth/session/security logic, or data model/migrations
- Dependencies or lockfile changes not required by the task
References
-
.env.example -
Taskfile.yml -
backend/Taskfile.yml -
frontend/Taskfile.yml
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!