Marketplace
Rules packFree

Code style rules

by Ingot Verified publisher

The seven rules Habits writes for you, as one always-on rules file.

Install opens Ingot and adds it.

Need the app? Download Ingot

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

.ingot/rules/code-style.mdc
---
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

  1. In your project, create .ingot/rules/code-style.mdc.
  2. Paste the file below and save.
  3. Ingot picks it up in the next agent chat. Commit it to share it.