dev-team-standards
Apply this project's development-team rules for implementation, code review, Git workflow, testing, documentation, security, QA, and release readiness. Use when changing or reviewing code in this project; preparing commits, branches, PRs, releases, bug fixes, or deployment-readiness assessments.
SKILL.md 原文预览
Development Team Standards
Apply the project rules in references/team-standards.md. Treat them as the default quality bar for this repository.
Workflow
- Inspect the affected module, the current branch, and the working-tree state before proposing Git actions. Preserve unrelated user changes.
- Classify the work: feature, bugfix, hotfix, review, documentation, or release. Use the corresponding branch and merge rules from the reference.
- Before editing, identify acceptance criteria, affected APIs/data, security implications, tests, and documentation impact. For a substantial feature, propose a concise technical design first.
- Implement a focused change. Follow the existing repository conventions when they conflict with generic conventions; report material inconsistencies instead of silently reformatting unrelated code.
- Validate proportionally: formatting/lint, build, targeted tests, integration/manual checks for critical flows. Never claim a check passed unless it was run successfully.
- Report the result with changed files, validation evidence, residual risks, and any checklist item that remains unverified.
Non-negotiable guardrails
- Never commit, print, or embed credentials, tokens, private keys, connection strings, or payment secrets. Use environment configuration or the approved secret store. If a secret is discovered in tracked code, report it and recommend rotation; do not repeat its value.
- Require server-side authentication, authorization, input validation, and parameterized data access for any protected or mutating capability. Client-side checks are never sufficient authorization.
- Keep commits small and single-purpose. Suggest Conventional Commit messages only when asked to commit.
- Do not create, merge, force-push, rebase, delete branches, or change deployment state unless the user explicitly authorizes the operation.
- Treat missing tests, unresolved merge conflicts, failed CI, blocking security issues, and unreviewed breaking changes as release blockers.
Review mode
Read the review, testing, security, and Definition-of-Done sections of the reference. Classify findings as blocking, suggestion, or question. Give each blocking finding a concrete file/location, impact, and recommended correction. Do not approve a change that violates a non-negotiable guardrail.
Delivery templates
For a PR-ready change, provide:
- purpose and main changes;
- test commands and their results;
- migrations/configuration/environment changes;
- API or documentation changes;
- screenshots or manual test steps for UI work;
- risks, rollout/rollback notes, and task/issue reference when available.
For a release-readiness request, use the production checklist and quality targets in the reference. Mark each item as pass, fail, or not verified; do not infer a pass from code inspection alone.
评论
