Imported from cbracamonte/harmoniederm (
AGENTS.md). Install upstream withnpx skills add cbracamonte/harmoniederm. Copyright stays with the author.
Repository Guidelines
Project Structure & Module Organization
This repository currently contains one app at apps/harmoniederm-web.
app/: Next.js App Router entrypoints (layout.tsx,page.tsx) and global styles.public/: static assets (SVGs, icons) served from/.- Root config files in the app:
next.config.ts,tsconfig.json,eslint.config.mjs,postcss.config.mjs. pnpm-workspace.yamlexists for workspace tooling, but only one package is present today.
Build, Test, and Development Commands
Run commands from apps/harmoniederm-web.
pnpm dev: start local dev server with Turbopack onhttp://localhost:3000.pnpm build: production build with Turbopack.pnpm start: serve the production build.pnpm lint: run ESLint (Next.js core-web-vitals + TypeScript rules).pnpm dev:webpack/pnpm build:webpack: webpack fallback for compatibility checks.
Coding Style & Naming Conventions
- Language: TypeScript + React (
.ts/.tsx) with strict compiler settings. - Indentation: 2 spaces; prefer double quotes, matching existing files.
- Components: PascalCase function/component names; route files follow Next.js conventions (
page.tsx,layout.tsx). - Imports: use
@/*alias fromtsconfig.jsonfor project-root imports when helpful. - Styling: Tailwind CSS v4 in
globals.css; keep utility classes readable and grouped by layout/spacing/visual intent.
Testing Guidelines
No test framework is configured yet.
- Minimum pre-PR quality gate:
pnpm lintand a successfulpnpm build. - When adding tests, colocate as
*.test.ts(x)near source or underapp/__tests__/and document the new command inpackage.json.
Commit & Pull Request Guidelines
Git history currently has only an initial scaffold commit, so no strict convention is established yet.
- Use short, imperative commit subjects (example:
Add hero section copy). - Keep commits focused and atomic.
- PRs should include: purpose, key changes, verification steps, and screenshots/GIFs for UI updates.
- Link related issue(s) when available and note follow-up tasks explicitly.
Security & Configuration Tips
- Do not commit secrets.
.env*is ignored by default. - Use
.env.localfor local development values. - Keep generated folders (
.next/,build/,coverage/) out of commits.
Uso de Claude como agente de código
- Este repositorio está pensado para trabajarse principalmente con Claude como asistente de codificación dentro de Cursor.
- Cuando abras una nueva sesión con Claude, pídele que lea primero
AGENTS.mdyskills.mdpara entender el contexto del proyecto. - Mantén las decisiones de arquitectura y estilo descritas aquí como la "fuente de verdad" y usa a Claude para implementarlas, refactorizar y documentar, no para redefinirlas.
- Si cambian reglas importantes del proyecto, actualiza este archivo y
skills.mdpara que Claude pueda alinearse fácilmente en futuras sesiones.