AI coding tools/Overview

AI coding tools

Accordee is set up so AI coding tools can find their way around it. This page covers what every tool shares: why it works well, the instruction files, prompts we've checked against the real code, and good habits. Each tool then has its own short page.

Why it works well

  • A familiar stack. Next.js, React, TypeScript, Tailwind CSS and shadcn/ui are what these tools see most, so they write code in the same style.
  • Consistent patterns. Every list is a DataTable, and every module has a view component and a provider. A tool can copy an existing screen instead of inventing a new one.
  • Design tokens in one place. Colours, type sizes, radii and motion live in src/app/globals.css, so a style change is one edit, not a search through components.
  • Demo data kept apart from the UI. Sample records live in src/lib/data and reach the screens through providers, so connecting your own API means changing one provider per module.

What's included

FileWhat's in it
AGENTS.mdThe architecture, the providers, the design rules (tokens, font weights, no dimmed backdrops) and step-by-step recipes for adding a page, a sidebar item and a table.
.agents/skills/Eight Agent Skills: a catalog of every component, the tokens and patterns, task skills for pages, modules, forms, theming and your API, and a review step. See Agent skills.
CLAUDE.mdPoints Claude Code at AGENTS.md (it imports it) and repeats the most important rules.

Most tools read AGENTS.md on their own; Claude Code reads CLAUDE.md, which brings AGENTS.md in with it. You don't need to set anything up: open the folder and the rules are there. Each tool's page says exactly which file it reads and how to check.

Choose your tool

ToolWhere you use itSuits
Claude CodeTerminal (also inside editors)People happy to work from a terminal and review changes as they go
CursorIts own editorPeople who want the AI inside the editor, next to the code
OpenAI CodexTerminal, editor extension, desktop app or the webPeople with a ChatGPT plan who want to use it in more than one place
GitHub CopilotVS Code and other editors, or the terminalTeams already working on GitHub with Copilot
Other toolsWindsurf, Gemini CLI, Cline and v0Anyone already using one of these

Getting started

Get the code: clone the private repository or unzip the download (see Installation), then open the folder.

Install the dependencies, so the tool can run the app and its checks:

npm ci

With the ZIP, commit the untouched code, so you can always see what the AI changed (a clone already has it):

git init && git add -A && git commit -m "Accordee v2.2.0"

Then open the folder in your tool of choice and start with "Explain the project structure"; each tool's page walks you through a first session.

Example prompts

These work in any of the tools. Each was tried against the code; the right-hand column says what it changes.

PromptWhat it does
Add an Owner column to the customers table, after Growth Rate.Adds a column in components/customers/customers-table.tsx, using the owner every customer already has.
Create a Reports page with the same layout as Contracts and add it to the Finance group in the sidebar.Follows the page and sidebar recipes in AGENTS.md: a route in app/(crm)/reports, a view component, the sidebar entry in lib/data/preferences.ts and components/shell/nav-meta.ts, and the header breadcrumb.
Change the brand colour to #0f766e in light and dark mode.Updates the brand tokens in src/app/globals.css for both modes; buttons, links and highlights follow.
Load customers from my API at https://api.example.com/customers instead of the demo data.Changes CustomersProvider the way the Database guide describes. Tell it your API's response shape and how it signs in.

Ask for one change at a time. After each one, run npm run check:ui and npm run build, as AGENTS.md asks.

Good habits

  • Commit before big changes, so you can compare the result or roll it back.
  • Review what the AI changed before you keep it. Read the diff and click through the screens it touched, in light and dark mode and on a phone.
  • Keep the design rules. If something looks off, point the tool back to the design standards in AGENTS.md.

Have someone technical review anything that touches your backend, sign-in, payments or customer data before it ships. AI tools can write this code, but they can also get security details wrong.