VeOmni / rules
ByteDance-Seed/VeOmni/.cursor/rules/no-section-divider-comments.mdc
Do not use decorative section divider comments in Python code
Cursor rule2.2k starsChanged 9 days ago
What's in it
- No Section Divider Comments
- Exception: patchgen patch headers
--- description: Do not use decorative section divider comments in Python code globs: "**/*.py" alwaysApply: false --- # No Section Divider Comments Do NOT add decorative section-divider comments like: ```python # --------------------------------------------------------------------------- # Some Section Name # --------------------------------------------------------------------------- ``` or ```python # ------------------------------------------------------------------ # Some Section Name # ------------------------------------------------------------------ ``` These add visual noise without value. If code needs grouping, use module-level or class-level docstrings, or simply rely on class/function structure. ## Exception: patchgen patch headers `veomni/models/transformers/*/**_patch_gen_config.py` and the `generated/patched_modeling_*.py` files they emit are exempt. There, the ```python # ================================================================ # Patch: <Class>.<method> # 1. <what changed> — <why> # ================================================================ ``` headers plus inline `# --- Patch.N ---` markers are a required convention: they survive into the generated file and are what makes it reviewable against the upstream HuggingFace source. See `.agents/skills/veomni-patchgen-model/SKILL.md`.
More agent context in ByteDance-Seed/VeOmni
13 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Cursor rule
Skill
- create-pr.agents/skills/create-pr/SKILL.md
- veomni-debug.agents/skills/veomni-debug/SKILL.md
- veomni-develop.agents/skills/veomni-develop/SKILL.md
- veomni-fix-docs.agents/skills/veomni-fix-docs/SKILL.md
- veomni-new-model.agents/skills/veomni-new-model/SKILL.md
- veomni-new-op.agents/skills/veomni-new-op/SKILL.md
- veomni-patchgen-model.agents/skills/veomni-patchgen-model/SKILL.md
- veomni-profile.agents/skills/veomni-profile/SKILL.md
- veomni-review.agents/skills/veomni-review/SKILL.md
- veomni-uv-update.agents/skills/veomni-uv-update/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

