Skip to content
Back to skills

Coding Principles

ASecurity

Clean-code pass for changed Python in trirouter: dead code, two-line comments, shared helpers, behaviour unchanged, generated files in sync. Use after code changes, before a commit, or when asked for a cleanup.

  • 94 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 15, 2026
ai-agentspythongoapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add hajdu-patrik/claude-workspace --skill coding-principles --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coding Principles?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Coding Principles
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hajdu-patrik-coding-principles-trirouter/badge)](https://www.skillsdirectory.com/skills/hajdu-patrik-coding-principles-trirouter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: coding-principles
description: 'Clean-code pass for changed Python in trirouter: dead code, two-line comments, shared helpers, behaviour unchanged, generated files in sync. Use after code changes, before a commit, or when asked for a cleanup.'
disable-model-invocation: true
---

Apply the rules of `CLAUDE.md` ("Conventions", "Code style") to every changed `.py` file of `trirouter/`, `tests/` and
`eval/`. Remediate, do not only report; behaviour never changes.

- Dead code goes: unused functions, constants, parameters, config keys, test helpers. Check the dynamic uses first
  (entry points, hook and MCP registration, `getattr` and dispatch strings, `manual.py` -> `docs/cli.md`,
  `config/*.json`, `templates/agents`) and the tests: a name only a test calls is test-only API, so change the test
  and remove the name.
- No wrapper that only forwards to one function; no comment that restates the code or tells its history.
- Verify with a scratch `TRIROUTER_HOME` (see `tests/CLAUDE.md`), never with a real `trirouter setup`:
  `python -m trirouter sync --pre-commit` (pyflakes, tests, the evaluation when routing code changed).

Output: files changed, rules applied, remaining risks.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.