About
The same rule sentences Habits proposes when you keep rejecting a style, in one rules file you can add up front. Save it in .ingot/rules and Ingot includes it in every agent chat (alwaysApply). Commit it and your whole team gets the same rules.
Highlights
- A plain .mdc file in .ingot/rules, easy to edit
- alwaysApply: included in every agent chat
- Commit it to share it with your team
What's inside
---
description: Code style rules from Ingot Habits
alwaysApply: true
---
- Do not add console.log or console.debug calls.
- Do not use the TypeScript any type; use precise types.
- Use named exports, not default exports.
- Use const or let, never var.
- Do not use inline styles; use CSS classes and design tokens.
- Do not leave TODO or FIXME comments; finish the work instead.
- Prefer arrow functions (const name = () => …) over function declarations.Install by hand
- In your project, create .ingot/rules/code-style.mdc.
- Paste the file below and save.
- Ingot picks it up in the next agent chat. Commit it to share it.