bencium-code-conventions▌
bencium/bencium-marketplace · updated Apr 8, 2026
Process: Explore → Plan → Code → Commit
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
gapfor spacing - Icons:
@phosphor-icons/react - Toasts:
sonnerfor 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
Performance & Architecture
- Minimize
'use client',useEffect,setState; favor RSC and Next.js SSR - Implement dynamic imports for code splitting
- Optimize images: WebP format, size data, lazy loading
- Favor small, simple, well-named modules
Development Workflow
Process: Explore → Plan → Code → Commit
- Read relevant files
- Think through a plan
- Implement
- Then commit
- Never local backend, always ask (usually Supabase, Neon)
- Minimal dependency, no docker
Environment & Deployment
- Add .env files for API keys; warn me to save keys in Vercel/Netlify env variables
- Write code deployable to Netlify or Vercel; prepare to build locally first
- Document progress in progress.md; ask for implementation plan
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.5★★★★★46 reviews- ★★★★★Hiroshi Agarwal· Dec 28, 2024
bencium-code-conventions fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Ganesh Mohane· Dec 24, 2024
Solid pick for teams standardizing on skills: bencium-code-conventions is focused, and the summary matches what you get after install.
- ★★★★★Yusuf Desai· Dec 4, 2024
bencium-code-conventions has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Amina Huang· Dec 4, 2024
bencium-code-conventions is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Meera Brown· Nov 23, 2024
bencium-code-conventions fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Tariq Rahman· Nov 19, 2024
bencium-code-conventions has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Rahul Santra· Nov 15, 2024
We added bencium-code-conventions from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Zara Huang· Oct 26, 2024
bencium-code-conventions has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Zara Kim· Oct 14, 2024
We added bencium-code-conventions from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Tariq Diallo· Oct 10, 2024
Solid pick for teams standardizing on skills: bencium-code-conventions is focused, and the summary matches what you get after install.
showing 1-10 of 46