Project Workflow¶
Guiding Principles¶
- The Plan is the Source of Truth: All work must be tracked in
plan.md. - The Tech Stack is Deliberate: Changes to the tech stack must be
documented in
tech-stack.mdbefore implementation. - User Experience First: Every decision should prioritize user experience.
- Rapid Prototyping: Focus on quickly building functional prototypes to validate ideas. Speed over perfection.
Project Organization¶
- Source Code Folder: When building the application, create a dedicated
folder for the source code (e.g.,
conference-app/) to separate application logic from configuration and metadata, keeping the root directory clean.
Task Workflow¶
All tasks follow a rapid prototyping lifecycle.
- Select Task: Choose the next available task from
plan.md. - Mark as In Progress: Update the task's status from
[ ]to[~]inplan.md. - Implement: Write the code to complete the task. Focus on getting it working.
- Commit: Commit your changes with a message that references the task.
- Mark as Done: Update the task's status from
[~]to[x]inplan.mdand commit the change (e.g.,conductor(plan): Complete task '...').
Manual Verification¶
After implementing a feature or a set of tasks, always perform a manual check to ensure it works as expected.
- Start the server:
flask run - Open the app: Open your browser to the local development URL.
- Verify: Click through the new feature and check for obvious bugs or UI issues.
Development Commands¶
Setup¶
Daily Development¶
Before Committing¶
Commit Guidelines¶
Use conventional commit messages to keep the history clean.
Message Format¶
Types¶
feat: New featurefix: Bug fixdocs: Documentation onlystyle: Formattingrefactor: Code change that neither fixes a bug nor adds a featurechore: Maintenance tasks
Examples¶
git commit -m "feat(ui): Add user login form"
git commit -m "fix(api): Correct user data serialization"
Definition of Done¶
A task is considered "done" when:
- The code has been implemented.
- The feature works as demonstrated in a manual verification.
- The changes are committed.
- The
plan.mdis updated.