{
    "componentChunkName": "component---src-templates-article-index-js",
    "path": "/developers/android/ai-assisted-development",
    "result": {"data":{"mdx":{"body":"var _excluded = [\"components\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"AI-assisted development\",\n  \"sortOrder\": 3\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, _excluded);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"The Poq Android SDK ships with embedded context for AI coding agents (Claude Code\\nand compatible tools). When set up correctly, your agent gains focused,\\nmodule-specific knowledge of the SDK while you work on your app \\u2014 how a module is\\nwired, what a vendor integration needs, and which classes to extend \\u2014 without you\\npasting in documentation.\"), mdx(\"h2\", {\n    \"id\": \"what-the-sdk-ships\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#what-the-sdk-ships\",\n    \"aria-label\": \"what the sdk ships permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"What the SDK ships\"), mdx(\"p\", null, \"These files live \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"inside the SDK repository\"), \", so they travel with it. You do\\n\", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"not\"), \" need to add this documentation site as agent context \\u2014 the per-module\\nfiles below are the curated, AI-focused version of it.\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Root \", mdx(\"inlineCode\", {\n    parentName: \"strong\"\n  }, \"CLAUDE.md\")), \" \\u2014 SDK architecture, conventions, and rules.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Per-module \", mdx(\"inlineCode\", {\n    parentName: \"strong\"\n  }, \"CLAUDE.md\")), \" \\u2014 a self-contained, action-ready brief for each module:\\nwhat it is, its entry points, setup, and extension points. These load \", mdx(\"em\", {\n    parentName: \"li\"\n  }, \"on demand\"), \"\\n\\u2014 only when the agent reads files in that module \\u2014 so they cost nothing until\\nthey're relevant.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"strong\"\n  }, \".claude/skills/\")), \" \\u2014 task scaffolding (e.g. generating tests, new components).\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"strong\"\n  }, \".claude/docs/\")), \" \\u2014 deeper reference docs the module files link to.\")), mdx(\"h2\", {\n    \"id\": \"setup\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#setup\",\n    \"aria-label\": \"setup permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Setup\"), mdx(\"p\", null, \"Add the SDK directory with\\n\", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"--add-dir\"), \" \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"and\"), \" opt in to loading its memory files via the environment variable:\"), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-bash\"\n  }, \"CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD=1 claude --add-dir ../Poq.Android.Platform\\n\")), mdx(\"p\", null, \"Or persist the flag in \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"~/.claude/settings.json\"), \":\"), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-json\"\n  }, \"{ \\\"env\\\": { \\\"CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD\\\": \\\"1\\\" } }\\n\")), mdx(\"blockquote\", null, mdx(\"p\", {\n    parentName: \"blockquote\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Important:\"), \" adding the SDK via the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"additionalDirectories\"), \" \", mdx(\"em\", {\n    parentName: \"p\"\n  }, \"setting\"), \" (instead\\nof the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"--add-dir\"), \" flag) grants file access but \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"never\"), \" loads \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"CLAUDE.md\"), \" files,\\neven with the environment variable set. Use \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"--add-dir\"), \" for the AI docs to load.\\nWithout the environment variable the files are still readable on disk \\u2014 but the\\nagent will only use them if you explicitly tell it to \\\"check the SDK\\\", and they\\nwon't load as authoritative context.\")), mdx(\"p\", null, \"Skills from the SDK load whenever it's added with \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"--add-dir\"), \" (no environment\\nvariable required).\"));\n}\n;\nMDXContent.isMDXComponent = true;","excerpt":"The Poq Android SDK ships with embedded context for AI coding agents (Claude Code\nand compatible tools). When set up correctly, your agent…","fields":{"lastModified":"2026-06-29 14:14:12 +0200\n","slug":"/developers/android/ai-assisted-development"},"frontmatter":{"date":null,"excerpt":null,"published":null,"title":"AI-assisted development"},"headings":[{"depth":2,"value":"What the SDK ships"},{"depth":2,"value":"Setup"}],"rawBody":"---\ntitle: AI-assisted development\nsortOrder: 3\n---\n\nThe Poq Android SDK ships with embedded context for AI coding agents (Claude Code\nand compatible tools). When set up correctly, your agent gains focused,\nmodule-specific knowledge of the SDK while you work on your app — how a module is\nwired, what a vendor integration needs, and which classes to extend — without you\npasting in documentation.\n\n## What the SDK ships\n\nThese files live **inside the SDK repository**, so they travel with it. You do\n**not** need to add this documentation site as agent context — the per-module\nfiles below are the curated, AI-focused version of it.\n\n- **Root `CLAUDE.md`** — SDK architecture, conventions, and rules.\n- **Per-module `CLAUDE.md`** — a self-contained, action-ready brief for each module:\n  what it is, its entry points, setup, and extension points. These load *on demand*\n  — only when the agent reads files in that module — so they cost nothing until\n  they're relevant.\n- **`.claude/skills/`** — task scaffolding (e.g. generating tests, new components).\n- **`.claude/docs/`** — deeper reference docs the module files link to.\n\n## Setup\n\nAdd the SDK directory with\n`--add-dir` **and** opt in to loading its memory files via the environment variable:\n\n```bash\nCLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD=1 claude --add-dir ../Poq.Android.Platform\n```\n\nOr persist the flag in `~/.claude/settings.json`:\n\n```json\n{ \"env\": { \"CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD\": \"1\" } }\n```\n\n> **Important:** adding the SDK via the `additionalDirectories` *setting* (instead\n> of the `--add-dir` flag) grants file access but **never** loads `CLAUDE.md` files,\n> even with the environment variable set. Use `--add-dir` for the AI docs to load.\n> Without the environment variable the files are still readable on disk — but the\n> agent will only use them if you explicitly tell it to \"check the SDK\", and they\n> won't load as authoritative context.\n\nSkills from the SDK load whenever it's added with `--add-dir` (no environment\nvariable required).\n","timeToRead":1}},"pageContext":{"id":"5cf2af77-7e70-550e-b8ff-8f99a047ce96","breadcrumb":{"location":"/developers/android/ai-assisted-development","crumbs":[{"pathname":"/","crumbLabel":"Home"},{"pathname":"/developers","crumbLabel":"developers"},{"pathname":"/developers/android","crumbLabel":"android"},{"pathname":"/developers/android/ai-assisted-development","crumbLabel":"ai-assisted-development"}]}}},
    "staticQueryHashes": ["2937047697","3649515864","63159454"]}