Imported from PatrickvBeek/portfolioTracker (.roo/rules-code/AGENTS.md). Install upstream with npx skills add PatrickvBeek/portfolioTracker --skill rules-code. Copyright stays with the author.
Project Coding Rules (Non-Obvious Only)
Always use Material UI components when applicable
Custom styling: Use .module.less files, never inline styles
bemHelper + .css pattern is deprecated → replace with .module.less
MUI component styling changes go in theme.ts only
Component logic must be extracted to <Component>.logic.ts files for complex data handling
Domain calculations must be kept in domain/ folder, not in React hooks
Domain imports use "pt-domain" alias, not relative paths
LESS files must reference predefined variables from frontend/src/theme/definitions.less
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/patrickvbeek-portfoliotracker-rules-code/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.