bencium-code-conventions

bencium-code-conventions is a skill for Claude Code from bencium/bencium-marketplace. It costs 19 tokens per session (728 once invoked), scanned A, original, MIT.

A set of personal coding conventions covering code style, technology choices, and development workflow.

In plain words
What is it for?
Use it when you need guidance on how to write, structure, or work on code according to these conventions.
Why use it?
It helps keep coding work consistent with the author's preferred practices.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Part of the bencium-code-conventions plugin — 1 skill shipped together

not rated 420repo +7 10d ago A scan Socket: passSnyk: passSkillSpector: warn 19 tokens original MIT

Good fit Use it when you need guidance on how to write, structure, or work on code according to these conventions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bencium/bencium-marketplace/bencium-code-conventions
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bencium/bencium-marketplace --skill bencium-code-conventions
Clone the repo
git clone --depth 1 https://github.com/bencium/bencium-marketplace

Made for: Claude Code.

Or install bencium-code-conventions, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bencium-code-conventions

README.md
[![agentmods](https://agentmods.dev/badge/skills/bencium/bencium-marketplace/bencium-code-conventions/github.svg)](https://agentmods.dev/skills/bencium/bencium-marketplace/bencium-code-conventions)
Your own site
<a href="https://agentmods.dev/skills/bencium/bencium-marketplace/bencium-code-conventions"><img src="https://agentmods.dev/badge/skills/bencium/bencium-marketplace/bencium-code-conventions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bencium-code-conventions

Your own site · 80×15
<a href="https://agentmods.dev/skills/bencium/bencium-marketplace/bencium-code-conventions"><img src="https://agentmods.dev/badge/skills/bencium/bencium-marketplace/bencium-code-conventions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 728 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 18 Mar 2026
  • Snyk pass 8 Mar 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 72
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.00728
Opus 5 $0.00010 $0.00364
Sonnet 5 $0.00004 $0.00146
Haiku 4.5 $0.00002 $0.00073

Measured 10d ago against content hash 0d330a7d5fe8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

bencium-code-conventions scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Test APIs via curl commands first, then implement in code
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

bencium-code-conventions/skills/bencium-code-conventions/SKILL.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Code Conventions

Core Technologies

  • Frontend: ReactJS, Next.js (App Router structure), TypeScript
  • Styling: TailwindCSS v3.x (never v4), Shadcn UI
  • Build Tools: Vite (when applicable)
  • Backend: Postgres compatible convex.dev or Supabase (always ask, never local postgres)
  • Deployment: Netlify or Vercel or Fly - suggest
  • Environment: Mac M2, Python3 with virtual environments, no CUDA, no Docker
  • Alternative Languages: Avoid python if you can, try using RUST

Code Style & Structure

  • Use ES modules (import/export) syntax
  • Destructure imports when possible
  • Use TypeScript for all new code
  • Use async/await instead of Promise chains
  • Prefer const/let over var; use early returns
  • Use consts instead of functions: const toggle = () =>. Define types.
  • Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError)
  • Use lowercase with dashes for directory names (e.g., components/auth-wizard)

Framework Conventions

  • Next.js: Use App Router (app directory) structure and page.tsx files
  • React: Functional and declarative patterns; avoid classes
  • State Management: Zustand, TanStack React Query
  • Validation: Zod for schema validation

Component Library & Styling

  • Component Library: Prefer shadcn components from @/components/ui
  • Styling: Tailwind utility classes
  • Layout: Grid/flex wrappers with gap for spacing
  • Icons: @phosphor-icons/react
  • Toasts: sonner for notifications
  • Always add loading states, spinners, placeholder animations

Quality Assurance & Testing

  • TDD: Write failing tests first, commit them, then iterate until suite passes
  • Never mock tests - if there's a test script, execute all until done
  • Always write SQL in chunks with test steps after each chunk
  • Typecheck after making code changes
  • Run tests before committing
  • Prefer running single tests for performance, not whole suite

Error Handling

  • Implement proper error handling and user input validation
  • Error messages should be understood by non-technical people
  • Use early returns for error conditions
  • Test APIs via curl commands first, then implement in code

Read the full file on GitHub · 75 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 75 lines · 19 tokens per session scan A 0d330a7d5fe8

Subscribe to this mod's changes

bencium-code-conventions is a skill published in the GitHub repository bencium/bencium-marketplace (420 stars, last pushed 10d ago), licensed MIT. It adds 19 tokens to every session and 728 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

metengine-data-agent

Real-time smart money analytics API for Polymarket prediction markets, Hyperliquid perpetual futures, and Meteora Solana LP/AMM pools. 63 endpoints. Pay-per-request via x402 on Solana Mainnet USDC. No API keys.

sendaifun/skills · 57 tokens

carbium

Build on Solana with Carbium infrastructure — bare-metal RPC, Standard WebSocket pubsub, gRPC Full Block streaming (22ms), DEX aggregation via CQ1 engine (sub-ms quotes), gasless swaps, and MEV-protected execution via Jito bundling. Drop-in replacement for Helius, QuickNode, Triton, or Jupiter Swap API.

sendaifun/skills · 78 tokens

pumpfun

Complete PumpFun Protocol guide for building token launches, bonding curves, and AMM integrations on Solana. Covers Pump Program (token creation, buy/sell on bonding curves), PumpSwap AMM (liquidity pools, swaps), fee structures, creator fees, and SDK integration.

sendaifun/skills · 60 tokens

helius-phantom

Build frontend Solana applications with Phantom Connect SDK and Helius infrastructure. Covers React, React Native, and browser SDK integration, transaction signing via Helius Sender, API key proxying, token gating, NFT minting, crypto payments, real-time updates, and secure frontend architecture.

sendaifun/skills · 62 tokens

lifi

Integrate LI.FI for cross-chain swaps, bridging, payments, route discovery, and transfer status tracking across Solana, EVM, Bitcoin, and Sui. Use when building Solana applications or AI agents that need quotes, routes, executable transactions, supported chains/tokens/tools, or cross-chain transfer monitoring.

sendaifun/skills · 67 tokens

orca

Complete guide for Orca - Solana's leading concentrated liquidity AMM (CLMM). Covers Whirlpools SDK for swaps, liquidity provision, pool creation, position management, and fee harvesting on Solana and Eclipse networks.

sendaifun/skills · 48 tokens