Skip to content
Agentmart
Submit a tool

AGENTS.md · Snouzy/workout-cool

AGENTS.md from Snouzy/workout-cool: 47 lines covering Build/Test Commands, Architecture & Structure, Code Style & Conventions, Import Organization (enforced…

Template by Snouzy

IndexedMIT★ 8,638
Write a review

Install

Works with Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code. Read the repository before you give any tool access to your data.

curl -fsSL https://raw.githubusercontent.com/Snouzy/workout-cool/main/AGENTS.md -o AGENTS.md

Read it and adapt it to your project before use.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The AGENTS.md file that Snouzy/workout-cool (8,638 stars) keeps for coding agents. It has 47 lines in 5 sections: Build/Test Commands; Architecture & Structure; Code Style & Conventions; Import Organization (enforced by ESLint); Key Patterns. Use it as a model for your own project's instructions.

Use cases: frontend-development, code-generation

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

What's in it

An AGENTS.md file: instructions coding agents (Codex, Cursor, Copilot, Gemini CLI and others) read before working in a repo.

For
Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code
Length
47 lines
File
AGENTS.md

Sections

  1. Build/Test Commands
  2. Architecture & Structure
  3. Code Style & Conventions
  4. Import Organization (enforced by ESLint)
  5. Key Patterns

First lines (shown under the repo's MIT license)

# AGENTS.md - Development Guide for AI Coding Agents

## Build/Test Commands

- `pnpm dev` - Start development server with Turbopack
- `pnpm build` - Build production bundle
- `pnpm lint` - Run ESLint (no test framework detected)
- `pnpm db:seed` - Seed database with sample data
- `tsx scripts/[script-name].ts` - Run TypeScript scripts directly

## Architecture & Structure

- **Next.js 15** with App Router, **Feature-Sliced Design (FSD)**
- Structure: `features/[feature]/[model|schema|ui|lib]/` for business logic
- `src/components/ui/` for reusable UI, `src/shared/` for cross-cutting concerns
- Use **Server Components** by default, `'use client'` only when needed

## Code Style & Conventions

- **TypeScript** with strict mode, functional programming patterns
- **Named exports only** (no default exports for components)
- **kebab-case** for directories, **camelCase** for variables, **PascalCase** for components
- Use `interface` over `type`, avoid `enum` (use `as const` objects)
- Double quotes (`"`) enforced, 140 char line limit, no trailing commas

## Import Organization (enforced by ESLint)

```typescript
// External libraries (alphabetical desc)
import { zodResolver } from "@hookform/resolvers/zod";
import { useForm } from "react-hook-form";

// Internal modules
import { useI18n } from "locales/client";
import { Button } from "@/components/ui/button";
import { paths } from "@/shared/constants/paths";
```

## Key Patterns

- **Zod schemas** for validation in `schema/` directories
- **React Hook Form** with zodResolver for forms
- **next-safe-action** for server actions with typed errors
- **@tanstack/react-query** for client state management
- **Shadcn UI + Radix + Tailwind** for styling (mobile-first)
- Abstract external deps in `shared/lib/` (no direct fetch, Date, localStorage)

Signals

Stars
8,638
Forks
763
Open issues
43
Last commit (this folder)
Jul 2, 2025 (1 year ago)
Last release
Dec 7, 2025 (10 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Snouzy

Cite this page

AGENTS.md · Snouzy/workout-cool. Agent Mart. https://agentmart.dev/templates/snouzy-workout-cool-agents-md (last updated 2026-10-24)