Exam System Project
Use this skill for any development task inside the exam_system_new repository.
Workflow
- Read
todolist.md,spec.md, andapi.mdbefore changing code. - Update
spec.mdandapi.mdfirst when the task changes behavior, UI rules, workflow, or developer assets. - Add the task to
todolist.md, mark progress during execution, and close it after validation. - Keep changes minimal and scoped to one task.
- Validate before finishing. Prefer the smallest command that proves the change.
- When asked to release, summarize the exact files changed, tests run, commit hash, branch, and push result.
Execution Rules
- Use Traditional Chinese in user-facing output.
- Use commands compatible with Windows PowerShell 7+.
- Use
apply_patchfor manual file edits. - Prefer
rgfor file and text search. - Do not revert unrelated user changes.
- For frontend work, preserve mobile behavior and only expand layouts responsively.
- For backend work, respect the configured Java versions and current project structure.
Task Routing
- For project context, commands, structure, and release checklist, read
references/project-context.md. - For backend behavior or API contracts, read the relevant sections in
spec.mdandapi.mdinstead of duplicating them here. - For frontend page changes, inspect the target page and its shared components before editing.
Release Output
When the user asks for commit, push, 發布, or 發布報告, include:
- branch name
- commit hash
- commit message
- whether push succeeded
- tests or build commands executed
- known warnings or residual risks