Claude Skills: 12 Strict Coding Rule Packs for TypeScript, Rust, Swift, Go, JS, Postgres, and Audits

A backend dev with 8 years of experience, specializing in web scraping and security audits, packaged 12 Claude Code skills after retyping the same rules across projects. The repo claude-skills contains opinionated rule sets for common languages and workflows, each a single SKILL.md file with frontmatter. Rules include severity tags (CRITICAL/HIGH/MEDIUM/LOW), numbered IDs, and BAD/GOOD examples.
What's inside
- typescript-strict (TS 6.0/7.0): no
any, noas, exhaustive unions,satisfies,using,NoInfer, branded IDs - rust-strict (edition 2024): no
unwrap(), thiserror/anyhow split, unsafe audit, newtype IDs, integer overflow handling, tracing - swift-strict (6.2): no force unwrap, strict concurrency, typed throws,
Sendable,somevsany, privacy manifest - go-strict (1.26): error wrapping, slog, context propagation,
errors.Is/errors.As,os.Rootfor FS containment, range-over-func - javascript-strict (Node 24 LTS):
AbortController,crypto.randomBytesfor tokens, streams for large IO, stdlib over deps - postgres-strict (PG 18): migration safety (
CONCURRENTLY,NOT VALID), RLS for multi-tenant, pgvector HNSW, AIO, skip scan,MERGE+RETURNING - security-audit-standard: 6-phase audit (secrets, input validation, authn/authz, data, deps, infra), supply chain section, OWASP Top 10 quick check, audit report format
- performance-audit-standard: hot path Big-O, N+1 queries, missing indexes,
EXPLAIN ANALYZEworkflow, Core Web Vitals - testing-patterns: Vitest, cargo test, Swift Testing, go test conventions + property-based + coverage targets
- code-review: multi-language pipeline that calls the strict skills
- github-standards: PR template, action SHA pinning, CODEOWNERS, Dependabot, secret scanning, branch protection
- git-commit: Conventional Commits with the "why" question
How they work
Skills are markdown with frontmatter. Claude Code reads the description on every turn and pulls the body into context only when relevant — e.g., rust-strict loads when you touch .rs files, postgres-strict when you write a migration, code-review when you say /code-review. No hooks or shell wrappers.
Install:
git clone https://github.com/0xMassi/claude-skills ~/Developer/claude-skills
cd ~/Developer/claude-skills
for s in */SKILL.md; do ln -s "$PWD/$(dirname $s)" ~/.claude/skills/; doneRestart Claude Code, the skills appear in the list.
Example rule from postgres-strict
PG-01: CREATE INDEX CONCURRENTLY on hot tables BAD: CREATE INDEX events_user_id_idx ON events (user_id); -- takes ACCESS EXCLUSIVE lock for the duration of the build GOOD: CREATE INDEX CONCURRENTLY events_user_id_idx ON events (user_id); -- short ACCESS EXCLUSIVE on metadata, no row lock during build
Every rule follows this BAD/GOOD format with severity tags and numbered IDs you can cite in PR comments.
What it is not
- Not a linter — linters check syntax, these check intent.
- Not a tutorial — assumes you already know the language.
- Not exhaustive — 12 files, ~4700 lines, opinionated.
MIT license, contribution guidelines in CONTRIBUTING.md. PRs welcome, especially from security and DB experts.
📖 Read the full source: r/ClaudeAI
👀 See Also

CK Search: Local Semantic Search Tool with MCP Server Integration
CK Search is a local semantic search tool with a built-in MCP server that indexes any text directory without cloud dependencies. The tool can be used by AI agents via MCP, and the source provides a practical walkthrough covering setup, strengths, and limitations compared to grep.

Claude Code Limiter: Self-Hosted Rate Limiter for Shared Claude Code Subscriptions
claude-code-limiter is a self-hostable tool that adds per-user rate limits to shared Claude Code subscriptions, featuring per-model quotas, credit budgets, sliding 24h windows, time-of-day rules, and a real-time dashboard.

120 Prompt Patterns Tested: 8 That Actually Work for Claude Code
A 3-month empirical test of 120 prompt patterns for Claude Code yields 8 actionable commands and 5 validation prompts. Key patterns: L99 (cuts hedging), /ghost (removes AI voice), OODA (structured reasoning), ULTRATHINK (deep reasoning), HARDMODE (constraint debugging).
Mergetrain: A Local Merge Queue for Parallel Claude Code Sessions That Prevents Trampled Pushes
Mergetrain is a local merge queue that prevents parallel Claude Code sessions from trampling each other's pushes. It uses worktrees, a pre-push hook, and a single runner that assembles branches into a train, runs tests, then atomically pushes.