A working agreement for people and agents
RAD Project Standards
Build in the project’s style. Respect its boundaries. Prove the result. Leave enough context for the next person to carry it forward.
Bring your agent up to speed
Start a session with these instructions, wherever you work. Both endpoints are public and require no sign-in.
Read https://www.rad-ark.com/standards.md and apply the RAD Project Standards to this task alongside the project instructions. Explain any conflicts before proceeding.
These standards distill RAD’s coding practices into a portable baseline. Apply them alongside the instructions and conventions of the project you’re working in.
Write code that belongs
Make the next change easier for the person who maintains it.
Read before changing
Read nearby code and match the project’s naming, structure, formatting, comment density and idioms.
Keep settings easy to find
Put tweakable values at the top of a function or in constants at the top of a file. Share constants when several structures reuse the same values.
Use the established APIs
Use the project’s current, supported language and framework patterns. Avoid mixing legacy and modern approaches without a project-specific reason.
Reuse before adding
Use existing components, utilities and dependencies before building replacements. Keep layout and styling consistent with the project’s design system.
Respect the boundaries
Keep private work private and production changes deliberate.
Separate server and client code
Keep database access, credentials and privileged operations on the server. Never import server-only modules into client code.
Guard protected routes
Enforce authentication and authorization on the server for protected pages and endpoints. Preserve role checks and required account-state transitions.
Make production changes repeatable
Use versioned migrations for production schema changes. Keep development shortcuts scoped to development.
Follow the release path
Follow the project’s feature-branch, integration and production workflow. Treat the production branch as a deliberate release boundary.
Build consistent interfaces
Controls should feel like they belong to the same product.
Use the existing component library
Prefer the project’s established component library. Do not introduce another UI library for a single feature.
Style controls completely
Use fully styled dropdowns and multi-selects instead of OS-rendered selection popups. Preserve keyboard operation, focus visibility, labels and assistive-technology support in custom controls.
Prove the result
Show what worked, and look for a reason it might not.
Test a way it could fail
Choose a boundary case, adversarial input, unseen data or another meaningful challenge. State what outcome would count as failure and report failures as plainly as passes.
Show real evidence
Report actual output, measurements, tables or screenshots from what ran. Distinguish verified results from assumptions.
Review significant changes
Review substantial changes before committing and review the full branch before a pull request.
Check settings when results surprise you
Check active settings, entry points and presets first when a run is unexpectedly slow or behaves strangely. Report changes from the original configuration.
Leave the project ready
Finish with a clear state and a useful next step.
Write down the findings
Before a large change, record findings or a backlog in the affected project or library directory and work from it.
Preserve intentional artifacts
Leave intentionally archived packages, binaries and snapshots in place. Do not rebuild, move or delete them just to tidy up.
Clean up temporary work
Stop servers and background tasks started for the task. Remove disposable experiment copies and build output when finished; report anything intentionally left running or retained.
Make the work resumable
Maintain the project’s established handoff with the goal, current state, decisions and reasons, uncommitted work, changed settings, open issues and exact commands to resume.
Keep commits intentional
After a substantial chunk of verified work, report uncommitted changes and offer a commit. Do not commit or initialize a repository without being asked.
A shared baseline, with room for context
Use the project’s own conventions to make these practices concrete. If guidance conflicts, make the conflict visible and resolve it with the project owner.