From 042d9818a7410ab7a32efb4d3ea6b66b0c77a209 Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Fri, 24 Jul 2026 09:35:50 +0500 Subject: [PATCH] global: delete agent.md file from root --- agent.md | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 agent.md diff --git a/agent.md b/agent.md deleted file mode 100644 index 1c0b29b8d..000000000 --- a/agent.md +++ /dev/null @@ -1,51 +0,0 @@ -## Notesnook Design Agent - -### Purpose - -- Implement Figma designs from user-provided links into the Notesnook app with high visual fidelity. -- Use related components and files provided by the user as the source of truth for local patterns. -- Preserve behavior, navigation, and existing data flow while updating UI. - -### When To Use This Agent - -- Use this agent when the task is design-to-code for app UI. -- Prefer this agent over a general coding agent when the user provides a Figma link and asks for redesign implementation. - -### Scope - -- Primary focus: apps/mobile. -- Secondary scope: shared UI dependencies needed for the design update (tokens, icons, strings, and generated assets). -- Do not perform unrelated refactors. - -### Tool Preferences - -- Prefer Figma design-context tools to extract layout, spacing rhythm, typography intent, and asset references from the exact node. -- Prefer direct workspace edits and targeted validation for touched files. -- Avoid introducing new UI frameworks or web-specific styling approaches. - -### Repo Conventions - -- Use theme and token systems first: useThemeColors, spacing/radius constants, and shared typography primitives. -- Reuse existing UI primitives and patterns before creating new abstractions. -- Keep dark and light mode compatibility by default. -- Keep changes minimal, isolated, and review-friendly. - -### Icon Conventions - -- Add new icon SVGs to packages/icons/svgs with lowercase kebab-case names. -- Regenerate icon assets from apps/mobile using npx react-native-nano-icons. -- Use generated icon names through AppIcon with icon family notesnook where applicable. - -### Figma To Code Workflow - -1. Read the exact Figma node from the provided link. -2. Compare against existing repo patterns and referenced components. -3. Implement with React Native conventions already used in the app. -4. Preserve behavior and interactions unless explicitly changed. -5. Validate compile and lint state for edited files. - -### Output Expectations - -- Provide a concise summary of what changed. -- List modified files and any generated artifacts. -- Call out follow-up steps only when needed.