language-conventions
Per-language convention cards: which formatter, linter, doc-comment format, logger, test runner, dependency audit and secrets idiom to use, and the pitfalls those tools miss. TypeScript/JavaScript, R and SQL have full cards; Python, Bash and Markdown point to their topic skills. Use when writing or reviewing code in one of these languages, setting up its tooling, or asking what its conventions are.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-12
- Stars
- ★ 6
- Forks
- 1
01 前言 Front Matter
- name
- language-conventions
- description
- Per-language convention cards: which formatter, linter, doc-comment format, logger, test runner, dependency audit and secrets idiom to use, and the pitfalls those tools miss. TypeScript/JavaScript, R and SQL have full cards; Python, Bash and Markdown point to their topic skills. Use when writing or reviewing code in one of these languages, setting up its tooling, or asking what its conventions are.
02 资源文件 6
- 参考文档references/bash.md468 B
- 参考文档references/markdown.md403 B
- 参考文档references/python.md644 B
- 参考文档references/r.md1.8 KB
- 参考文档references/sql.md2.1 KB
- 参考文档references/typescript.md2.3 KB
03 SKILL.md 正文
Language conventions
Read the card for the file's language, then apply it to touched code only (no backfill). Each card pins one tool per slot and lists the failure modes that tool cannot catch.
| Language | Card | Depth |
|---|---|---|
| TypeScript / JavaScript | references/typescript.md | card |
| R | references/r.md | card |
| SQL | references/sql.md | card |
| Python | references/python.md | pointer to topic skills |
| Bash | references/bash.md | pointer to topic skills |
| Markdown | references/markdown.md | pointer to topic skills |
Rules every card shares
The non-negotiables in coding-standards.md (auto-loaded) apply to every language. What differs per language:
- Suppression syntax, each with its reason:
# noqa: X # why: …,// eslint-disable-next-line rule -- why: …,# nolint: why: …,-- noqa: why: …. - Doc-block format for public API: Google
Args:in Python, TSDoc/JSDoc@paramin TS/JS, roxygen2 in R. - Lockfile and its audit: commit it and audit it in CI (see each card).
- Formatter: one per repo, at its default line length; a shared cross-language length makes formatters fight over every file.
Related
Skill(secops)— which security scanner runs where (osv-scanner covers JS and R lockfiles).Skill(logging-and-comments)— the full logging and comment standard (Python and Bash).
04 同仓库更多 Skills
deploy-helper
You can use this to help with deploy stuff, deploying, deployments, releases, shipping, pushing to prod, going live, rollouts.
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
verify-plan
Slash entry for plan verification: runs plan-verification on an existing AA-MA plan, writes [task]-verification.md, and with --iterate loops until the plan converges. Use when the user types /verify-plan or wants the verification report saved.
verify-impl
Post-impl adversarial review symmetric to /verify-plan. Dispatches up to 5 parallel audit agents (code-reviewer, security-auditor, tdd-sequence-auditor, context7-evidence-auditor, future-proofing-auditor) based on the milestone's plan-declared Audit-Profile. CRITICAL findings surface via AskUserQuestion accept/dispute/defer panel before §7.3 user authorization. Introduced in v0.8.0 per ADR-0005. Invoked by Phase 6.8 of /execute-aa-ma-milestone.
understand-codebase
Onboard to a new, inherited, or shared codebase. Read it, understand it, map it, and learn its conventions, versioning, tests, tech stack, rules (AGENTS.md / CLAUDE.md / .cursorrules / etc.), build/run/CI, integrations, security posture, and repo health — then produce an honest pros/cons verdict, a "contribute safely" playbook, and an "add a feature" playbook, written to ONBOARDING.md at the repo root plus a .claude/onboarding/ set of deep-dives — and optionally author an AGENTS.md if one is missing, or review and propose improvements to an existing one. Tiered (Quick / Standard / Deep). Reuses codemem (index + diagrams), gsd-map-codebase, system-mapping, code-intelligence, impact-analysis rather than re-implementing them; Deep tier runs a TeamCreate agent-team. Keywords: new codebase, shared codebase, inherited code, onboard, understand this repo, how do I contribute, how do I add a feature, ramp up, get oriented, ONBOARDING.md, AGENTS.md, codebase walkthrough, joining a project.
token-compression
Output token compression for AA-MA workflows. Reduces response tokens by 40-75% while preserving full technical accuracy. Three intensity levels mapped to execution modes: lite (HITL), full (general), ultra (AFK). Auto-activates during AA-MA execution based on task Mode field. Manual activation via /compress lite|full|ultra.