smithery/ssujitx

coding-conventions

Code style rules - clean, minimal, comment-first approach

Installation

$ npx skills add smithery/ssujitx --skill coding-conventions

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/ssujitx · top by installs.

npx skills add smithery/ssujitx

Browse all from smithery/ssujitx

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,998 B
  • docs SUMMARY.md 83 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Coding Conventions

Rule 1: Comment First

Before writing any code block, add a comment explaining what it does:

# Initialize main window with dark theme
class MainWindow(QMainWindow):
    def __init__(self):
        super().__init__()

Rule 2: No Extra Code

Write only what's needed. No boilerplate, no unused imports, no placeholder comments.

❌ Bad:

# TODO: implement later
# This might be useful
# import something_unused

✅ Good:

# Handle button click to start gateway
def on_start_clicked(self):
    self.start_gateway()

Rule 3: Clean Folder Structure

src/
├── main.py           # Entry point
├── ui/
│   ├── window.py     # Main window
│   ├── terminal.py   # Log viewer
│   └── styles.py     # Dark theme CSS
├── core/
│   ├── process.py    # Command runner
│   └── gateway.py    # WebSocket client
└── utils/
    └── platform.py   # OS detection

Rule 4: Simple Filenames

  • Lowercase only
  • Underscores for spaces
  • Short and descriptive
  • No prefixes like my, the, base_

terminal.py, process.py, styles.pyMyTerminalWidget.py, baseprocessrunner.py

Rule 5: Verify Before Commit

Before finishing any code:

  1. Check imports are used
  2. Check no syntax errors
  3. Check logic is correct
  4. Check file paths exist

Code Template

# [Brief description of what this file does]

# Imports
from PyQt6.QtWidgets import QWidget

# [Description of class/function]
class MyClass:
    def __init__(self):
        # [What this does]
        pass

Rule 6: Update Skills After Changes

After making any significant changes:

  1. Update relevant skill files in .agent/skills/
  2. Document what was changed
  3. Keep skills in sync with actual code

This ensures we stay on track and remember what was done.