AGENTS.md
AGENTS.mdAGENTS.mdroot
Quality
45/100
Scores the file, not the repository.Length
523 words
0 headings · 0 code blocksRepository
0
— · pushed 0 days agoLast changed
3 days ago
First indexed 3 days ago.1Codex Workspace Rules (AGENTS.md)23Purpose4- This file defines project-specific rules and preferences that Codex reads before answering any chat in this workspace.5- Keep it concise and concrete. Place non-obvious, high-impact rules first.67Cursor Rules8- Also read and honor all rules in `.cursor/rules/*.mdc` for this project.9- If any guidance conflicts, `.cursor/rules` takes precedence for this repo.1011Behavior Rules12- Always: Ask 1–2 clarifying questions when scope or intent is ambiguous.13- Always: Explain planned terminal actions briefly before running commands.14- Always: Keep answers concise by default; expand only when asked.15- Ask First: Before running destructive commands (rm/reset) or installing packages.16- Ask First: Before changing config, adding dependencies, or altering build settings.17- Never: Expose secrets or print full .env contents in answers or logs.1819Style and Tone20- Tone: Friendly, direct, and efficient. Avoid filler.21- Responses: Use short sections and bullet lists when they improve scanability.22- File References: Use clickable paths like `src/file.ts:42` (single line only).2324Task Execution25- Scope: Make minimal, surgical changes focused on the user’s request.26- Tests: If tests exist, run targeted tests for modified code first.27- Validation: Prefer small, verifiable steps; summarize progress between steps.28- Plans: Use the plan tool for multi-step or ambiguous work only.2930Code and Project31- Stack: Vite + React + TypeScript (see `package.json`).32- Formatting: Match existing style; do not add formatters unless requested.33- Types: Prefer explicit types in new/changed code; avoid one-letter names.34- Security: Treat environment variables and credentials as sensitive.3536Shell and Approvals37- Approval Mode: Default to asking before actions needing elevated permissions or network.38- Sandboxing: Assume workspace-write, network restricted; call out when escalation is needed.39- Commands: Prefer `rg` for search; read files in <=250-line chunks.4041Response Defaults42- Brevity: Target 3–8 lines unless detail is necessary.43- Structure: Use short headers sparingly; avoid over-fragmentation.44- Monospace: Wrap commands, paths, env vars, and identifiers in backticks.4546When In Doubt47- Clarify requirements, propose a minimal plan, and confirm before large changes.4849Project-Specific Rules (Customize Below)50- Backend: Supabase is the source of truth (DB/Auth/Storage/Edge Functions). Do not add custom servers. Use Edge Functions for server logic.51- Supabase Calls: Avoid redundant fetches. Cache shared data in React Context; expose typed hooks and explicit invalidate/refresh methods.52- Pagination: For any list/multi-item fetch, implement pagination; show fewer items first and add page controls at the bottom.53- Dependencies: Install latest stable versions. If unsure about API/usage, ask for a docs link and confirmation before adding. Request approval before changing build/config deps.54- TypeScript: Use strict typing in all new code. Do not change existing TypeScript config; ensure new code compiles under current strictness. Never use `any`.55- Mobile UI: Design mobile-first (320px+). Use Tailwind responsive prefixes (`sm:`, `md:`, `lg:`, `xl:`). Ensure touch targets ≥44px and test across screen sizes.56- UI Patterns: Follow shadcn/ui and Radix-based components in `src/components/ui/`; keep props minimal and typed.57- Secrets: Never echo or log values from `process.env.*`.5859Notes60- Adjust or expand sections above to reflect your preferences.61- This file is intended to be read as high-priority context at session start.62
Also in KAMAL20201/SneakerMarketplace
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| KAMAL20201/SneakerMarketplace.cursor/rules/api-patterns.mdc · 0 | Cursor rules | styletypessecuritydatabase+1 | 58/100 | 3 days ago | |
| KAMAL20201/SneakerMarketplace.cursor/rules/development-workflow.mdc · 0 | Cursor rules | buildteststyletypes+4 | 81/100 | 3 days ago | |
| KAMAL20201/SneakerMarketplace.cursor/rules/project-conventions.mdc · 0 | Cursor rules | buildteststylearch+4 | 77/100 | 3 days ago | |
| KAMAL20201/SneakerMarketplace.cursor/rules/project-overview.mdc · 0 | Cursor rules | stylearchtypes | 52/100 | 3 days ago | |
| KAMAL20201/SneakerMarketplace.cursor/rules/react-patterns.mdc · 0 | Cursor rules | stylearchuiperformance | 58/100 | 3 days ago | |
| KAMAL20201/SneakerMarketplace.cursor/rules/typescript-standards.mdc · 0 | Cursor rules | styletypesapiui+1 | 61/100 | 3 days ago | |
| KAMAL20201/SneakerMarketplace.cursor/rules/ui-components.mdc · 0 | Cursor rules | archui | 54/100 | 3 days ago |
Diff against .cursor/rules/api-patterns.mdc Diff against .cursor/rules/development-workflow.mdc Diff against .cursor/rules/project-conventions.mdc Diff against .cursor/rules/project-overview.mdc Diff against .cursor/rules/react-patterns.mdc Diff against .cursor/rules/typescript-standards.mdc Diff against .cursor/rules/ui-components.mdc
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 2 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | 3 days ago | |
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| elastic/elasticsearchx-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/AGENTS.md · 78k | AGENTS.md | buildtestlint-formatstyle+2 | 100/100 | 3 days ago |
