[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FC46VT45JHTJWH9W9F7CZE":3,"skill-same:01M7FC46VT45JHTJWH9W9F7CZE":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":14,"repositoryHtmlUrl":42,"repositoryHomepageUrl":42,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M7FC46VT45JHTJWH9W9F7CZE","arcpy-script",null,"Generate ArcPy scripts for ArcGIS Pro using live map context, layer sampling, and ArcGIS‑aware prompt rules","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fgeospatial\u002Farcpy-script\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: arcpy-script\ndescription: \"Generate ArcPy scripts for ArcGIS Pro using live map context, layer sampling, and ArcGIS‑aware prompt rules\"\ncategory: geospatial\ndomain: geospatial\nsubdomain: general\nversion: 1.0.0\nlicense: MIT\nrisk: low\nsource:\n  repository: \"danmaps\u002Fgis-agent-skills\"\n  commit: \"47afe3a4b5\"\n  imported_at: \"2026-09-20\"\n  license: \"MIT\"\nplatforms:\n  - claude-code\n  - cursor\n  - codex\n  - gemini\n  - antigravity\n  - copilot\n---\n\n\n# ArcPy Script\n\nGenerate ArcPy code tailored to the user’s active ArcGIS Pro project by using real map\u002Flayer context and ArcGIS‑specific constraints. Output should be **code-only** unless the user explicitly asks for explanations.\n\n## Intent\n\nProduce scripts that work on the first run by grounding the prompt in:\n- Actual map metadata and spatial reference\n- Real layer names, fields, and small sample records\n- Visible layer context and optional view extent\n\n## Inputs\n\n- `task_description` (string)\n- `project_path` (string, optional)\n- `map_name` (string, optional)\n- `layer_names` (array, optional)\n- `selected_only` (bool, optional)\n- `max_features_per_layer` (int, optional, default 50)\n- `simplify_ratio` (float, optional, default 0.01)\n- `include_view_extent` (bool, optional)\n- `include_map_screenshot` (bool, optional)\n- `provider` (string, optional: OpenAI, OpenRouter, Azure OpenAI, Claude, DeepSeek, Local LLM)\n- `model` (string, optional)\n\n## Context Capture (mirror arcgispro_ai)\n\n### Use arcgispro-cli for real project context\n\nIf available, call `arcgispro-cli` to fetch live project details:\n- `arcgispro layers --json` for exact layer names and types\n- `arcgispro fields \"LayerName\"` for real field schemas\n- `arcgispro context` for full project dump\n\nPrefer actual layer\u002Ffield names from these outputs over guesses.\n\nWhen available, build a `map_info` JSON payload that includes:\n- Map metadata: name, title, description, spatial reference, units, rotation, time-enabled\n- Layer summaries: visibility, layer type, data source type, extent, spatial reference\n- Feature layers: field samples + simplified geometry samples (GeoJSON‑like)\n- View extent polygon (optional)\n- Active view screenshot (optional, base64 PNG)\n\n## Prompt Rules (critical)\n\n- Use `arcpy` only\n- Prefer `SelectLayerByAttribute` for attribute filters\n- If distance\u002Fnear queries are requested, also use `SelectLayerByLocation`\n- No `ORDER BY` in selection SQL\n- Use `active_map.listLayers(\"LayerName\")[0]` when zooming\n- Use `arcpy.AddMessage` for user-facing output\n- Return **only** a Python code block (no preamble, no trailing commentary)\n\n## Capabilities to Match\n\n- Map\u002Flayer metadata extraction\n- Visible-layer context sampling with simplified geometries\n- Optional view screenshot for vision‑capable models\n- Provider\u002Fmodel selection and key resolution\n- Field‑level enrichment via AI responses (optional follow‑up tool)\n\n## Output\n\n- A single, runnable ArcPy script\n- Safe defaults and minimal assumptions\n- Handles missing layers or empty selections gracefully\n\n## Examples\n\n**User:** “Select the 3 counties with lowest population density and zoom to them.”\n\n**Agent output:** Python only, using `SelectLayerByAttribute`, `SearchCursor`, and `active_view.camera.setExtent(...)`.\n\n## Outputs\n\nReturn a concise, usable result with the key artifacts or recommendations.\n\n## Safety\n\nDo not invent data, credentials, or system context. Flag uncertainty and risky operations clearly.\n\n","# ArcPy Script\n\nGenerate ArcPy code tailored to the user’s active ArcGIS Pro project by using real map\u002Flayer context and ArcGIS‑specific constraints. Output should be **code-only** unless the user explicitly asks for explanations.\n\n## Intent\n\nProduce scripts that work on the first run by grounding the prompt in:\n- Actual map metadata and spatial reference\n- Real layer names, fields, and small sample records\n- Visible layer context and optional view extent\n\n## Inputs\n\n- `task_description` (string)\n- `project_path` (string, optional)\n- `map_name` (string, optional)\n- `layer_names` (array, optional)\n- `selected_only` (bool, optional)\n- `max_features_per_layer` (int, optional, default 50)\n- `simplify_ratio` (float, optional, default 0.01)\n- `include_view_extent` (bool, optional)\n- `include_map_screenshot` (bool, optional)\n- `provider` (string, optional: OpenAI, OpenRouter, Azure OpenAI, Claude, DeepSeek, Local LLM)\n- `model` (string, optional)\n\n## Context Capture (mirror arcgispro_ai)\n\n### Use arcgispro-cli for real project context\n\nIf available, call `arcgispro-cli` to fetch live project details:\n- `arcgispro layers --json` for exact layer names and types\n- `arcgispro fields \"LayerName\"` for real field schemas\n- `arcgispro context` for full project dump\n\nPrefer actual layer\u002Ffield names from these outputs over guesses.\n\nWhen available, build a `map_info` JSON payload that includes:\n- Map metadata: name, title, description, spatial reference, units, rotation, time-enabled\n- Layer summaries: visibility, layer type, data source type, extent, spatial reference\n- Feature layers: field samples + simplified geometry samples (GeoJSON‑like)\n- View extent polygon (optional)\n- Active view screenshot (optional, base64 PNG)\n\n## Prompt Rules (critical)\n\n- Use `arcpy` only\n- Prefer `SelectLayerByAttribute` for attribute filters\n- If distance\u002Fnear queries are requested, also use `SelectLayerByLocation`\n- No `ORDER BY` in selection SQL\n- Use `active_map.listLayers(\"LayerName\")[0]` when zooming\n- Use `arcpy.AddMessage` for user-facing output\n- Return **only** a Python code block (no preamble, no trailing commentary)\n\n## Capabilities to Match\n\n- Map\u002Flayer metadata extraction\n- Visible-layer context sampling with simplified geometries\n- Optional view screenshot for vision‑capable models\n- Provider\u002Fmodel selection and key resolution\n- Field‑level enrichment via AI responses (optional follow‑up tool)\n\n## Output\n\n- A single, runnable ArcPy script\n- Safe defaults and minimal assumptions\n- Handles missing layers or empty selections gracefully\n\n## Examples\n\n**User:** “Select the 3 counties with lowest population density and zoom to them.”\n\n**Agent output:** Python only, using `SelectLayerByAttribute`, `SearchCursor`, and `active_view.camera.setExtent(...)`.\n\n## Outputs\n\nReturn a concise, usable result with the key artifacts or recommendations.\n\n## Safety\n\nDo not invent data, credentials, or system context. Flag uncertainty and risky operations clearly.\n\n",{"name":5,"risk":24,"domain":25,"source":26,"license":15,"version":30,"category":25,"platforms":31,"subdomain":38,"description":7},"low","geospatial",{"commit":27,"license":15,"repository":28,"imported_at":29},"47afe3a4b5","danmaps\u002Fgis-agent-skills","2026-09-20","1.0.0",[32,33,34,35,36,37],"claude-code","cursor","codex","gemini","antigravity","copilot","general","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fgeospatial\u002Farcpy-script","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill arcpy-script",{"tool":51,"command":52},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill arcpy-script",{"tool":54,"command":55},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill arcpy-script","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fgeospatial\u002Farcpy-script\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"skill.yaml","REFERENCE","参考文档",472,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fgeospatial\u002Farcpy-script\u002Fskill.yaml",[66,73,80,87,94,101],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]