| name | development |
| description | Use when implementing new or changed functionality in hitobito, before writing any implementation code. |
Development
Overview
Workflow for new and changed functionality: start from a user-facing goal, drive the change through a failing spec, then implement.
When to Use
Default workflow for feature work or behavior changes. For resolving a defect, use the fixing-a-bug skill instead. For structural changes with no behavior change, use the refactoring skill instead.
Process
- State the reason for the change — the goal describing how the application should improve for the user.
- Write a spec first, defining the desired state. It must fail before any implementation exists.
- Implement the change.
- Do not touch locales other than
de.
- Confirm the spec now passes.
- Run the specs for all touched classes to catch regressions.
- Update the copyright notice at the top of touched files to cover the current year.
- Run
brakeman — no new security findings.
- Run
rubocop — code style must be clean.
- Write a commit message summarizing the need for the change.