feat: add .agentrules with project-specific AI guardrails
This commit is contained in:
parent
cb2bc98e4c
commit
f629d57807
1 changed files with 17 additions and 0 deletions
17
.agentrules
Normal file
17
.agentrules
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
title: AGENTS.md — degenfeed-web
|
||||
repo: frontend
|
||||
stack: Next.js 15 + TypeScript + React 19 + Turborepo
|
||||
domain: degenfeed.xyz
|
||||
deploy: Cloudflare Pages
|
||||
status: active
|
||||
---
|
||||
|
||||
## Rules
|
||||
1. No raw fetch() in components — use SDK packages
|
||||
2. All components must have loading and error states
|
||||
3. CSS via Tailwind only — no inline styles except framer-motion
|
||||
4. OpenAPI types auto-generated at apps/web/src/types/api.ts
|
||||
5. Cross-protocol compatibility: test Nostr, Farcaster, Bluesky, Mastodon
|
||||
6. No hardcoded URLs — use env vars or config
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue