Imported from PhucTruong-ctrl/agui-commerceops-dashboard (
AGENTS.md). Install upstream withnpx skills add PhucTruong-ctrl/agui-commerceops-dashboard. Copyright stays with the author.
AGENTS.md — Project Operating Rules
This file applies to every agent/session working in this repository (including non-Hive sessions).
Scope
- Work only inside this project scope.
- Do not modify machine-global config (
~/.config/*,~/.agents/*) unless explicitly requested. - Do not work outside the active Trello card scope.
Language Policy
- Repository content must be English-only: source code, comments, function/variable names, docs, commit messages, and AGENTS.md.
- Trello content must be Vietnamese-only to keep board communication consistent.
- Do not use emoji in Trello comments.
Required Build and Verification
Run verification commands that match the changed scope before reporting completion.
- If
frontend/*changes:cd frontend && npm run lintcd frontend && npm run build
- If
backend/*changes:cd backend && npm run build- run backend tests when the card requires tests
If changes are docs/config only and do not affect runtime, explicitly state why full verification was not run.
Git and Commit Rules
- Never work directly on
main/master; use a feature branch (agent/<task-name>or equivalent). - Check working tree status before editing.
- Do not commit or push unless explicitly requested.
- Use Conventional Commits.
Security
- Never commit secrets (
.env, credentials, private keys, tokens). - Never print/paste raw secrets in output, logs, or comments.
- When sensitive config must be referenced, mask values (
***).
Mandatory Trello Workflow
For each card:
- Implement strictly within card scope.
- Run scope-appropriate verification.
- Update checklist and list/status according to board convention.
- Add an evidence comment with commit hash, verification results, and repo/PR URL (if available).
Trello Evidence Comment Template (Vietnamese, no emoji)
Hoàn thành
- Commit: <hash>
- Kết quả xác minh:
- frontend: <kết quả>
- backend: <kết quả>
- Repo/PR: <url>
- Ghi chú: <tuỳ chọn>
Definition of Done
- Matches the approved card scope.
- Required verification commands were run with recorded results.
- Trello checklist and evidence comment were updated using the language rules.
- Final report includes changed files, verification commands/results, and remaining risks (if any).
Gotchas
- Do not start DB/schema implementation before analysis/design chain is complete.
- Do not close a card without Trello evidence comment.
- Do not claim “done” without scope-appropriate verification.