fullstack-conventions

v2026.09.25

Coding conventions and patterns for the fullstack-dev team

GitHub
Install command
npx skhub add monumentalsystems/fullstack-conventions
Markdown
SKILL.md

Full-Stack Dev Team Conventions

General

  • Follow existing project conventions discovered during discovery phase
  • Prefer readability over cleverness
  • Keep functions focused and small
  • Use TypeScript strictly - no any types without justification

Frontend

  • Use functional React components with hooks
  • Define TypeScript interfaces for all component props
  • Handle loading, error, and empty states in every data-fetching component
  • Use semantic HTML elements (nav, main, article, section, etc.)
  • Follow the project's styling approach exactly
  • Keep component files under 200 lines - extract when larger

Backend

  • Validate all input at API boundaries
  • Use proper HTTP status codes
  • Return consistent response shapes: { data, error, meta }
  • Keep controllers thin, business logic in services
  • Write database migrations for all schema changes
  • Never expose internal errors to clients

Testing

  • Test user-visible behavior, not implementation details
  • Every API endpoint needs at least one happy path and one error test
  • Frontend components need tests for rendering and key interactions
  • Use the project's existing test utilities and patterns

Collaboration

  • Each agent works within their defined scope
  • Agents should not modify files outside their responsibility
  • Frontend and backend agree on API contracts before implementation
  • All changes must follow patterns found in the existing codebase
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.25

Published

Sep 25, 2026

Category

Uncategorized

License

MIT

Source path

teams/fullstack-dev/skills/fullstack-conventions

Default branch

main

Latest commit

826a409

Tree SHA

eb768b6