code-style

code-style is a cursor rule for Cursor from yellow-hammer/mcp-1c-platform-tools. It costs 331 tokens per session, scanned A, original, MIT.

Project rules for code style, commit messages, comments, interface text, logs, TypeScript, and documentation. They require Russian text in user-facing and code-comment contexts, along with strict TypeScript practices.

In plain words
What is it for?
Writing Conventional Commit messages in Russian, naming and typing TypeScript code, documenting exported code, formatting logs and UI messages, and removing debug output before commits.
Why use it?
They keep contributions consistent across the project and reduce avoidable type and maintenance problems. They also define checks to perform before committing code.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Writing Conventional Commit messages in Russian, naming and typing TypeScript code, documenting exported code, formatting logs and UI messages, and removing debug output before commits.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/yellow-hammer/mcp-1c-platform-tools/code-style
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/yellow-hammer/mcp-1c-platform-tools

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for code-style

README.md
[![agentmods](https://agentmods.dev/badge/rules/yellow-hammer/mcp-1c-platform-tools/code-style/github.svg)](https://agentmods.dev/rules/yellow-hammer/mcp-1c-platform-tools/code-style)
Your own site
<a href="https://agentmods.dev/rules/yellow-hammer/mcp-1c-platform-tools/code-style"><img src="https://agentmods.dev/badge/rules/yellow-hammer/mcp-1c-platform-tools/code-style/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for code-style

Your own site · 80×15
<a href="https://agentmods.dev/rules/yellow-hammer/mcp-1c-platform-tools/code-style"><img src="https://agentmods.dev/badge/rules/yellow-hammer/mcp-1c-platform-tools/code-style.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 331 This file is loaded in full into every session.
When invoked 331 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00331 $0.00331
Opus 5.5 $0.00132 $0.00132
Sonnet 5.5 $0.00066 $0.00066
Haiku 4.5 $0.00033 $0.00033

Measured 1mo ago against content hash 2c0e556e1935, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-style scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/code-style.mdc · 35 lines

What it actually says

Стиль кода и коммиты

Коммиты

  • Conventional Commits: префиксы feat:, fix:, docs:, chore:, refactor: и т.д.
  • Сообщения коммитов — на русском.

Язык в коде и интерфейсе

  • Комментарии в коде: на русском.
  • Сообщения пользователю: на русском. Рутинное подтверждение — notifyQuiet (src/notify.ts), строка состояния. Окно — для ошибки, предупреждения и сообщения с кнопкой.
  • Строки для логов: на русском.

TypeScript

  • Строгий режим (tsconfig), импорты Node с префиксом node: где уместно.
  • Избегать any; использовать типы из @types/vscode, @types/node.

JSDoc

  • Документировать экспортируемые сущности и модули; комментарии на русском.
  • Подробные правила — в jsdoc.mdc.

Перед коммитом

  • Удалять отладочный вывод и лишние комментарии.

Эволюция: .cursor/rules/evolution-no-legacy.mdc.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +24 tokens per session 2c0e556e1935
  2. 3mo ago First seen · 35 lines · 307 tokens per session scan A 26c1fe0c2460

Subscribe to this mod's changes

code-style is a cursor rule published in the GitHub repository yellow-hammer/mcp-1c-platform-tools (47 stars, last pushed yesterday), licensed MIT. It adds 331 tokens to every session, about $0.0013 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

code-style compared with cursor rules from other repositories

code-style next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-styleyellow-hammer/mcp-1c-platform-toolsCursor rule47yesterdayMITA331Cursor
1c-coding-standardsDesko77/cursor-1c-skillsCursor rule789d agoMITA0Cursor
code-review-checklistDesko77/cursor-1c-skillsCursor rule789d agoMITA0Cursor
bsl-sslDesko77/cursor-1c-skillsCursor rule789d agoMITA0Cursor
bsp-profile-rights-apiDesko77/cursor-1c-skillsCursor rule789d agoMITA0Cursor
edt-form-xml-requirementsDesko77/cursor-1c-skillsCursor rule789d agoMITA0Cursor
sdd-workflowDesko77/cursor-1c-skillsCursor rule789d agoMITA12Cursor