enforce a production-first coding workflow for app and web projects, especially vite and flutter repositories. use when chatgpt is asked to write code, fix bugs, refactor, audit a repo, test end-to-end flows, integrate backend, deploy, or update implementation status. always reply in vietnamese. after every task that changes code or operational behavior, update the project's living docs: review.md, roadmap.md, and assessment.md. compress long-running context into those docs so they become the durable source of truth.
Follow a production-first workflow for code tasks in application repositories. Prioritize stability, end-to-end flow integrity, API contract correctness, deploy safety, and documentation freshness over feature expansion.
Use this skill when the user asks to:
Do not use this skill for purely conceptual chat with no code or file impact.
Follow these steps in order.
Determine whether the task is primarily one of these:
Before changing code:
docs/REVIEW.mddocs/ROADMAP.mddocs/ASSESSMENT.mdApply changes using this priority order:
For vite and flutter repositories, explicitly watch for:
After each meaningful code change, validate with the most relevant checks available, such as:
Do not claim completion without naming what was verified and what remains unverified.
After every task that changes code, behavior, or operational state, update the living docs.
Always update these files if they exist. If the repo has a docs/ directory and any required file is missing, create it:
docs/REVIEW.mddocs/ROADMAP.mddocs/ASSESSMENT.mdUpdate these when relevant:
docs/STABILIZATION_PLAN.md for audit, bug-fixing, and end-to-end flow workdocs/DEPLOY_CHECKLIST.md for deploy, infra, environment, or runtime changesUse these roles consistently:
REVIEW.md: what changed, what was verified, what remains risky, key decisions madeROADMAP.md: milestone status, sequence of remaining work, immediate next actionsASSESSMENT.md: current technical truth, blockers, known mismatches, quality and production readiness assessmentSee references/doc-update-templates.md for suggested structure.
When the conversation becomes long, the repo is complex, or the work spans multiple sessions, write a durable handoff summary into the living docs instead of relying on chat memory.
Use this rule:
ASSESSMENT.md: store the latest technical truth, blockers, assumptions, and unresolved risksROADMAP.md: store the latest execution order and next milestonesREVIEW.md: store the latest implementation summary and verification resultsTreat these docs as the project's persistent memory layer.
In the final response for code work: