Imported from shamitv/OpenModel_CRUD_01 (
AGENTS.md). Install upstream withnpx skills add shamitv/OpenModel_CRUD_01. Copyright stays with the author.
AGENTS.md
Guidance for AI coding agents and contributors working in this repository.
Feature Planning
For each feature, create a feature-specific planning directory under:
docs/plans/<feature-name>/
Use lowercase, hyphenated directory names, for example:
docs/plans/survey-builder/
docs/plans/user-authentication/
docs/plans/response-analytics/
Each feature planning directory should include:
- A plan document describing the intended implementation.
- A TO-DO list with concrete, checkable tasks.
- Notes about expected validation, tests, or manual verification.
- Explicit commit checkpoints after each meaningful change.
Suggested files:
docs/plans/<feature-name>/PLAN.md
docs/plans/<feature-name>/TODO.md
docs/plans/<feature-name>/IMPLEMENTATION_SUMMARY.md
Commit Discipline
- Commit early. Commit often.
- Commit after each meaningful change, especially after:
- Adding or updating a feature plan.
- Completing a coherent implementation step.
- Adding tests or verification coverage.
- Fixing a bug discovered during implementation.
- Updating documentation after behavior changes.
- Keep commits focused and understandable.
- Use commit messages that explain the purpose of the change, for example:
docs: add survey builder planfeat: add survey question modeltest: cover public survey submissiondocs: summarize authentication implementation
Implementation Workflow
For every feature:
- Create
docs/plans/<feature-name>/. - Write the feature plan and TO-DO list before implementation.
- Commit the plan and TO-DO list.
- Implement the feature in meaningful, reviewable increments.
- Commit after each meaningful change.
- Run relevant tests or manual verification.
- Write
IMPLEMENTATION_SUMMARY.mdin the same feature planning folder. - Commit the implementation summary.
Implementation Summary
After completing a feature, write an implementation summary in:
docs/plans/<feature-name>/IMPLEMENTATION_SUMMARY.md
The summary should include:
- What was implemented.
- Key files changed.
- Important design or technical decisions.
- Tests or verification performed.
- Known limitations or follow-up tasks.
- The commit history or major commit checkpoints for the feature.
Project Status
- For an overall view of all phases and their progress, see docs/plans/PROJECT_STATUS.md.
- Update
PROJECT_STATUS.mdwhen phase statuses change.
Repository Care
- Preserve user changes already present in the working tree.
- Do not revert unrelated changes.
- Keep planning documents updated as the implementation evolves.
- Prefer small, reviewable changes over large mixed commits.
- Before considering a feature complete, ensure it includes the plan, TO-DO list, implementation, verification, and implementation summary.
Infrastructure
For instructions on starting and stopping project components (backend, frontend, database), see docs/infra.md.