coding-standards
- Repo stars 0
- Author updated Live
- Author repo skills-registry
- Domain
- AI
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @tomevault-io · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- Python >=3.10
- Permissions
-
- Read-only
- Env read
- Write / modify
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: coding-standards
description: name: coding-standards Use when this capability is needed. description: Use when writing or revi…
category: ai
runtime: Python
---
# coding-standards output preview
## PART A: Task fit
- Use case: name: coding-standards Use when this capability is needed. description: Use when writing or reviewing code in any language. Covers typed-language rules (TypeScript, Python, Go), naming conventions, file organisation, error handling, import ordering, and universal quality rules. Read project conventions first to identify the stack, then apply only the rele….
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “Typed Language Rules (apply only when project uses the language) / Naming Conventions / File Organisation” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “name: coding-standards Use when this capability is needed. description: Use when writing or reviewing code in any language. Covers typed-language rules (TypeScript, Python, Go), naming conventions, file organisation, error handling, import ordering, and universal quality rules. Read project conventions first to identify the stack, then apply only the rele…”.
- **02** When the source has headings, the agent prioritizes “Typed Language Rules (apply only when project uses the language) / Naming Conventions / File Organisation” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, read environment variables, write/modify files; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, read environment variables, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, read environment variables, write/modify files.
Start with a small task and check whether the result follows “Typed Language Rules (apply only when project uses the language) / Naming Conventions / File Organisation”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: coding-standards
description: name: coding-standards Use when this capability is needed. description: Use when writing or revi…
category: ai
source: tomevault-io/skills-registry
---
# coding-standards
## When to use
- name: coding-standards Use when this capability is needed. description: Use when writing or reviewing code in any lang…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “Typed Language Rules (apply only when project uses the language) / Naming Conventions / File Organisation” and keep inference separate from source facts.
- read files, read environment variables, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "coding-standards" {
input -> user goal + target files + boundaries + acceptance criteria
context -> Typed Language Rules (apply only when project uses the language) / Naming Conventions / File Organisation
rules -> SKILL.md triggers / order / output contract
runtime -> Python | read files, read environment variables, write/modify files | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} name: coding-standards description: Use when writing or reviewing code in any language. Covers typed-language rules (TypeScript, Python, Go), naming conventions, file organisation, error handling, import ordering, and universal quality rules. Read project conventions first to identify the stack, then apply only the relevant language sections.
Coding Standards
Before reviewing, read
copilot-instructions.md/AGENTS.md/CLAUDE.mdto identify the project's language, framework, and version. Adapt stack-specific rules accordingly.
Typed Language Rules (apply only when project uses the language)
TypeScript
- Strict mode required — never disable
strict: true - No
anywithout comment explaining why unavoidable - No
@ts-ignorewithout comment - Use
unknown+ narrowing instead ofanywhen type genuinely unknown interfacefor object shapes;typefor unions, intersections, utilities- All exported functions: explicit return type annotations
Python
- Type hints required on all function signatures (
def fn(x: int) -> str:) - No
# type: ignorewithout explanatory comment - Use
T | None(Python 3.10+) orOptional[T]— no implicitNonereturns - Use
dataclassesorpydanticfor structured data shapes
Go
- All errors must be checked — never discard with
_unless intentional + commented - Exported identifiers must have doc comments
- No
interface{}/anywithout justification - Prefer table-driven tests; use
errors.Is/errors.Asfor error checking
Naming Conventions
| Thing | Convention | Example |
|---|---|---|
| UI components / classes | PascalCase | UserCard, NoteEditor |
| Utility / helper files | kebab-case | sync-messages.ts, format-date.py |
| Variables and functions | camelCase | activeUser, loadData() |
| Module-level constants | UPPER_SNAKE_CASE | MAX_RETRIES |
| Type / interface names | PascalCase | UserSchema, ApiResponse |
| Route / endpoint files | Follow framework convention | +page.server.ts, router.py |
File Organisation
- Group by feature/domain, not by type
- One exported component per file
- Target under 400 lines per file; split larger files by concern
- Before creating a new file, check if logic fits in an existing module
Error Handling
- Never empty
catchblocks — re-throw, log, or return structured error - Server errors: log with context server-side; return safe message to client (no stack traces, no internal paths)
- API routes: return appropriate HTTP status codes with structured error body
- Validate all user input at system boundaries before use
Security (non-negotiable)
- No hardcoded secrets, credentials, or API keys — use environment variables
- Parameterized queries only — never interpolate user input into SQL/queries
- Sanitize user-controlled HTML before rendering (DOMPurify or equivalent)
- Never return stack traces or internal paths to the client
Import Ordering
Groups separated by a blank line:
- External packages / standard library
- Framework internals
- Internal path aliases
- Relative imports
Code Quality
- Functions under 50 lines, single responsibility
- No dead code, unused imports, or commented-out blocks in commits
- No logic repeated at 3+ call sites without extraction into a named helper
- Comment the why, not the what
What Never to Do
- No syntax from the wrong framework version — check project conventions
- No untyped code where the language supports type annotations
- No hardcoded environment-specific values
- No deprecated APIs without a migration comment
Source: AshenDulsanka/agent-arche — distributed by TomeVault.
Decide Fit First
Design Intent
How To Use It
Boundaries And Review