[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CBWNZ0XA70MC7NND7Y6SAT":3,"skill-same:01M7CBWNZ0XA70MC7NND7Y6SAT":53},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7CBWNZ0XA70MC7NND7Y6SAT","project-importer",null,"Import entire Godot projects (.tscn scenes + .gd scripts) and convert to GameGen's format for DynamoDB. Detects programmatic position\u002Fsize assignments and flags them.","shenyimings\u002Fskillet","shenyimings","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F89332218?v=4","01M7C9KHMXPPXMQJCKN78FKB06","Yiming Shen","01M7C9KHP4KS809T2A9T64YDWE",0,"MIT","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fdev\u002Fsuspicious\u002FZycroft__GameGen__.claude__skills__project-importer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: project-importer\ndescription: Import entire Godot projects (.tscn scenes + .gd scripts) and convert to GameGen's format for DynamoDB. Detects programmatic position\u002Fsize assignments and flags them.\nallowed-tools: Read, Bash(python:*), Glob, Grep, mcp__dynamodb__put_item, mcp__dynamodb__scan_table\n---\n\n# Project Importer Skill\n\nImports entire Godot projects into GameGen's scene hierarchy format, including:\n- All `.tscn` scene files in the project\n- Associated `.gd` script files for programmatic position\u002Fsize detection\n- Automatic project name detection from `project.godot`\n\n## What this Skill does\n\n1. Scans a Godot project directory for all `.tscn` and `.gd` files\n2. Parses each scene's node hierarchy (containers, widgets, 2D nodes)\n3. Analyzes GDScript files to detect programmatic position\u002Fsize assignments\n4. Flags nodes with `positionProgrammatic` or `sizeProgrammatic` when code modifies them\n5. Extracts approximate values from code when possible\n6. **Calculates absolute positions** based on container layout rules (VBox\u002FHBox stacking)\n7. Uploads to DynamoDB with all scenes merged under a project root\n\n## Layout Position Calculation\n\nThe importer automatically calculates absolute positions for nodes based on their parent container type:\n\n- **VBoxContainer**: Children are stacked vertically. Each child's Y position equals the sum of all previous siblings' heights.\n- **HBoxContainer**: Children are stacked horizontally. Each child's X position equals the sum of all previous siblings' widths.\n- **Other containers**: Children inherit their parent's position offset added to their own relative position.\n\nThis ensures that when viewing individual nodes in GameGen, they appear at their correct absolute positions within the viewport.\n\n## Usage\n\nAsk Claude to:\n- \"Import the Godot project at \u002Fpath\u002Fto\u002Fproject\"\n- \"Import all scenes from my Godot project into GameGen\"\n- \"Parse the GameGen project and upload to DynamoDB with ID 5\"\n- \"Do a dry run import of the project to see what would be uploaded\"\n\n### Command Line Usage\n\n```bash\n# Import entire project\npython .claude\u002Fskills\u002Fproject-importer\u002Fscripts\u002Fimport_godot_scene.py \u002Fpath\u002Fto\u002Fproject --project-id 1\n\n# Import with custom name\npython .claude\u002Fskills\u002Fproject-importer\u002Fscripts\u002Fimport_godot_scene.py \u002Fpath\u002Fto\u002Fproject --project-id 1 --project-name \"My Game\"\n\n# Dry run (parse only, don't upload)\npython .claude\u002Fskills\u002Fproject-importer\u002Fscripts\u002Fimport_godot_scene.py \u002Fpath\u002Fto\u002Fproject --project-id 1 --dry-run\n\n# Output to JSON file\npython .claude\u002Fskills\u002Fproject-importer\u002Fscripts\u002Fimport_godot_scene.py \u002Fpath\u002Fto\u002Fproject --project-id 1 --output scenes.json\n\n# Verbose output with full JSON\npython .claude\u002Fskills\u002Fproject-importer\u002Fscripts\u002Fimport_godot_scene.py \u002Fpath\u002Fto\u002Fproject --project-id 1 --dry-run -v\n```\n\n## Programmatic Detection\n\nThe importer analyzes GDScript files for patterns that modify position or size at runtime:\n\n### Position Patterns Detected\n```gdscript\nnode.position = Vector2(x, y)\nnode.global_position = Vector2(x, y)\n$NodeName.position = Vector2(x, y)\noffset_left = value\noffset_top = value\n```\n\n### Size Patterns Detected\n```gdscript\nnode.size = Vector2(x, y)\nnode.size = Vector2i(x, y)\n$NodeName.size = Vector2(x, y)\ncustom_minimum_size = Vector2(x, y)\noffset_right = value\noffset_bottom = value\n```\n\nWhen these patterns are found:\n1. The node is flagged with `positionProgrammatic: true` or `sizeProgrammatic: true`\n2. If the code contains literal values (e.g., `Vector2(340, 100)`), those become the approximated position\u002Fsize\n3. If the code uses variables or expressions, the flag is set but scene file values are preserved\n\n## Supported Node Types\n\n### 2D Nodes\n- Node2D, Sprite2D, AnimatedSprite2D\n- CharacterBody2D, RigidBody2D, StaticBody2D, Area2D\n- Camera2D, TileMap, TileMapLayer, Polygon2D, Line2D\n\n### Container Types\n- VBoxContainer, HBoxContainer, GridContainer\n- FlowContainer (HFlowContainer, VFlowContainer)\n- MarginContainer, PanelContainer, CenterContainer\n- AspectRatioContainer, HSplitContainer, VSplitContainer\n- TabContainer, ScrollContainer, SubViewportContainer\n\n### Widget Types\n- Button, Label, LineEdit, TextEdit\n- CheckBox, CheckButton, OptionButton\n- SpinBox, HSlider, VSlider, ProgressBar\n- ColorRect, TextureRect, ColorPickerButton\n- RichTextLabel, ItemList, Tree, GraphEdit\n- MenuButton, LinkButton, TextureButton\n\n### Animation\n- AnimationPlayer, AnimationTree\n\n## Output Format\n\n### Single Scene\n```json\n{\n  \"projectID\": 1,\n  \"projectName\": \"My Project\",\n  \"sceneRoot\": {\n    \"id\": 1,\n    \"type\": \"Node2D\",\n    \"name\": \"Main\",\n    \"_scenePath\": \"main.tscn\",\n    \"positionProgrammatic\": false,\n    \"sizeProgrammatic\": true,\n    \"children\": [...],\n    \"widgets\": [...],\n    \"properties\": {\n      \"positionX\": 0,\n      \"positionY\": 0,\n      \"sizeX\": 200,\n      \"sizeY\": 150\n    }\n  },\n  \"sceneCount\": 1,\n  \"savedAt\": \"2025-12-28T10:30:00\"\n}\n```\n\n### Multiple Scenes\nWhen a project has multiple scenes, they are merged under a `ProjectRoot` node:\n\n```json\n{\n  \"projectID\": 1,\n  \"projectName\": \"My Project\",\n  \"sceneRoot\": {\n    \"id\": 1,\n    \"type\": \"Node2D\",\n    \"name\": \"ProjectRoot\",\n    \"children\": [\n      {\n        \"id\": 2,\n        \"name\": \"Main\",\n        \"_scenePath\": \"main.tscn\",\n        ...\n      },\n      {\n        \"id\": 15,\n        \"name\": \"UI\",\n        \"_scenePath\": \"ui\u002Fmenu.tscn\",\n        ...\n      }\n    ]\n  },\n  \"sceneCount\": 2\n}\n```\n\n### Widget with Programmatic Flag\n```json\n{\n  \"id\": 5,\n  \"type\": \"Button\",\n  \"name\": \"StartButton\",\n  \"positionProgrammatic\": true,\n  \"sizeProgrammatic\": false,\n  \"properties\": {\n    \"text\": \"Start Game\",\n    \"minSizeX\": 80,\n    \"minSizeY\": 30\n  }\n}\n```\n\n## DynamoDB Storage\n\n- Endpoint: `http:\u002F\u002Fzycroft.duckdns.org:8001`\n- Table: `SceneLayout`\n- Primary Key: `projectID` (Number)\n\nData uses native DynamoDB types:\n- Numbers (N) for numeric values\n- Strings (S) for text\n- Maps (M) for nested objects\n- Lists (L) for arrays\n- Booleans (BOOL) for flags like `positionProgrammatic`\n\n## Project Structure Requirements\n\nThe importer expects a standard Godot project structure:\n\n```\nproject\u002F\n├── project.godot          # Project config (optional, for name detection)\n├── main.tscn              # Scene files\n├── main.gd                # Associated scripts\n├── ui\u002F\n│   ├── menu.tscn\n│   └── menu.gd\n└── characters\u002F\n    └── player.tscn\n```\n\nThe `.godot\u002F` directory is automatically excluded from scanning.\n\n## Related Skills\n\n- **project-sync**: Export DynamoDB SceneLayout to Godot .tscn (reverse of this skill)\n- **push-design**: Initial project setup from AI Game Design (infrequent)\n","# Project Importer Skill\n\nImports entire Godot projects into GameGen's scene hierarchy format, including:\n- All `.tscn` scene files in the project\n- Associated `.gd` script files for programmatic position\u002Fsize detection\n- Automatic project name detection from `project.godot`\n\n## What this Skill does\n\n1. Scans a Godot project directory for all `.tscn` and `.gd` files\n2. Parses each scene's node hierarchy (containers, widgets, 2D nodes)\n3. Analyzes GDScript files to detect programmatic position\u002Fsize assignments\n4. Flags nodes with `positionProgrammatic` or `sizeProgrammatic` when code modifies them\n5. Extracts approximate values from code when possible\n6. **Calculates absolute positions** based on container layout rules (VBox\u002FHBox stacking)\n7. Uploads to DynamoDB with all scenes merged under a project root\n\n## Layout Position Calculation\n\nThe importer automatically calculates absolute positions for nodes based on their parent container type:\n\n- **VBoxContainer**: Children are stacked vertically. Each child's Y position equals the sum of all previous siblings' heights.\n- **HBoxContainer**: Children are stacked horizontally. Each child's X position equals the sum of all previous siblings' widths.\n- **Other containers**: Children inherit their parent's position offset added to their own relative position.\n\nThis ensures that when viewing individual nodes in GameGen, they appear at their correct absolute positions within the viewport.\n\n## Usage\n\nAsk Claude to:\n- \"Import the Godot project at \u002Fpath\u002Fto\u002Fproject\"\n- \"Import all scenes from my Godot project into GameGen\"\n- \"Parse the GameGen project and upload to DynamoDB with ID 5\"\n- \"Do a dry run import of the project to see what would be uploaded\"\n\n### Command Line Usage\n\n```bash\n# Import entire project\npython .claude\u002Fskills\u002Fproject-importer\u002Fscripts\u002Fimport_godot_scene.py \u002Fpath\u002Fto\u002Fproject --project-id 1\n\n# Import with custom name\npython .claude\u002Fskills\u002Fproject-importer\u002Fscripts\u002Fimport_godot_scene.py \u002Fpath\u002Fto\u002Fproject --project-id 1 --project-name \"My Game\"\n\n# Dry run (parse only, don't upload)\npython .claude\u002Fskills\u002Fproject-importer\u002Fscripts\u002Fimport_godot_scene.py \u002Fpath\u002Fto\u002Fproject --project-id 1 --dry-run\n\n# Output to JSON file\npython .claude\u002Fskills\u002Fproject-importer\u002Fscripts\u002Fimport_godot_scene.py \u002Fpath\u002Fto\u002Fproject --project-id 1 --output scenes.json\n\n# Verbose output with full JSON\npython .claude\u002Fskills\u002Fproject-importer\u002Fscripts\u002Fimport_godot_scene.py \u002Fpath\u002Fto\u002Fproject --project-id 1 --dry-run -v\n```\n\n## Programmatic Detection\n\nThe importer analyzes GDScript files for patterns that modify position or size at runtime:\n\n### Position Patterns Detected\n```gdscript\nnode.position = Vector2(x, y)\nnode.global_position = Vector2(x, y)\n$NodeName.position = Vector2(x, y)\noffset_left = value\noffset_top = value\n```\n\n### Size Patterns Detected\n```gdscript\nnode.size = Vector2(x, y)\nnode.size = Vector2i(x, y)\n$NodeName.size = Vector2(x, y)\ncustom_minimum_size = Vector2(x, y)\noffset_right = value\noffset_bottom = value\n```\n\nWhen these patterns are found:\n1. The node is flagged with `positionProgrammatic: true` or `sizeProgrammatic: true`\n2. If the code contains literal values (e.g., `Vector2(340, 100)`), those become the approximated position\u002Fsize\n3. If the code uses variables or expressions, the flag is set but scene file values are preserved\n\n## Supported Node Types\n\n### 2D Nodes\n- Node2D, Sprite2D, AnimatedSprite2D\n- CharacterBody2D, RigidBody2D, StaticBody2D, Area2D\n- Camera2D, TileMap, TileMapLayer, Polygon2D, Line2D\n\n### Container Types\n- VBoxContainer, HBoxContainer, GridContainer\n- FlowContainer (HFlowContainer, VFlowContainer)\n- MarginContainer, PanelContainer, CenterContainer\n- AspectRatioContainer, HSplitContainer, VSplitContainer\n- TabContainer, ScrollContainer, SubViewportContainer\n\n### Widget Types\n- Button, Label, LineEdit, TextEdit\n- CheckBox, CheckButton, OptionButton\n- SpinBox, HSlider, VSlider, ProgressBar\n- ColorRect, TextureRect, ColorPickerButton\n- RichTextLabel, ItemList, Tree, GraphEdit\n- MenuButton, LinkButton, TextureButton\n\n### Animation\n- AnimationPlayer, AnimationTree\n\n## Output Format\n\n### Single Scene\n```json\n{\n  \"projectID\": 1,\n  \"projectName\": \"My Project\",\n  \"sceneRoot\": {\n    \"id\": 1,\n    \"type\": \"Node2D\",\n    \"name\": \"Main\",\n    \"_scenePath\": \"main.tscn\",\n    \"positionProgrammatic\": false,\n    \"sizeProgrammatic\": true,\n    \"children\": [...],\n    \"widgets\": [...],\n    \"properties\": {\n      \"positionX\": 0,\n      \"positionY\": 0,\n      \"sizeX\": 200,\n      \"sizeY\": 150\n    }\n  },\n  \"sceneCount\": 1,\n  \"savedAt\": \"2025-12-28T10:30:00\"\n}\n```\n\n### Multiple Scenes\nWhen a project has multiple scenes, they are merged under a `ProjectRoot` node:\n\n```json\n{\n  \"projectID\": 1,\n  \"projectName\": \"My Project\",\n  \"sceneRoot\": {\n    \"id\": 1,\n    \"type\": \"Node2D\",\n    \"name\": \"ProjectRoot\",\n    \"children\": [\n      {\n        \"id\": 2,\n        \"name\": \"Main\",\n        \"_scenePath\": \"main.tscn\",\n        ...\n      },\n      {\n        \"id\": 15,\n        \"name\": \"UI\",\n        \"_scenePath\": \"ui\u002Fmenu.tscn\",\n        ...\n      }\n    ]\n  },\n  \"sceneCount\": 2\n}\n```\n\n### Widget with Programmatic Flag\n```json\n{\n  \"id\": 5,\n  \"type\": \"Button\",\n  \"name\": \"StartButton\",\n  \"positionProgrammatic\": true,\n  \"sizeProgrammatic\": false,\n  \"properties\": {\n    \"text\": \"Start Game\",\n    \"minSizeX\": 80,\n    \"minSizeY\": 30\n  }\n}\n```\n\n## DynamoDB Storage\n\n- Endpoint: `http:\u002F\u002Fzycroft.duckdns.org:8001`\n- Table: `SceneLayout`\n- Primary Key: `projectID` (Number)\n\nData uses native DynamoDB types:\n- Numbers (N) for numeric values\n- Strings (S) for text\n- Maps (M) for nested objects\n- Lists (L) for arrays\n- Booleans (BOOL) for flags like `positionProgrammatic`\n\n## Project Structure Requirements\n\nThe importer expects a standard Godot project structure:\n\n```\nproject\u002F\n├── project.godot          # Project config (optional, for name detection)\n├── main.tscn              # Scene files\n├── main.gd                # Associated scripts\n├── ui\u002F\n│   ├── menu.tscn\n│   └── menu.gd\n└── characters\u002F\n    └── player.tscn\n```\n\nThe `.godot\u002F` directory is automatically excluded from scanning.\n\n## Related Skills\n\n- **project-sync**: Export DynamoDB SceneLayout to Godot .tscn (reverse of this skill)\n- **push-design**: Initial project setup from AI Game Design (infrequent)\n",{"name":5,"description":7,"allowed-tools":24},"Read, Bash(python:*), Glob, Grep, mcp__dynamodb__put_item, mcp__dynamodb__scan_table","main","9eadad1eb0fcedc7b086d57b24f1f18310ac285a","benchmark\u002Fwild\u002Fdev\u002Fsuspicious\u002FZycroft__GameGen__.claude__skills__project-importer","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet","https:\u002F\u002Fgithub.com\u002Fshenyimings","sites.google.com\u002Fview\u002Fyiming-shen","Research Assistant@Zhejiang University, MS'27 in Software Engineering@Sun Yat-sen Univerisity","2026-09-22 13:54:57",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add shenyimings\u002Fskillet --skill project-importer",{"tool":39,"command":40},"bunx","bunx skills add shenyimings\u002Fskillet --skill project-importer",{"tool":42,"command":43},"pnpm","pnpm dlx skills add shenyimings\u002Fskillet --skill project-importer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fdev\u002Fsuspicious\u002FZycroft__GameGen__.claude__skills__project-importer\u002FSKILL.md",true,[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"scripts\u002Fimport_godot_scene.py","SCRIPT","脚本",50533,"https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fdev\u002Fsuspicious\u002FZycroft__GameGen__.claude__skills__project-importer\u002Fscripts\u002Fimport_godot_scene.py",[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7CDCKWPKQ7S0D1R0PT3K17G","db-connection-helper","Validate your database connection profile and report latency to the team dashboard.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-unknown-secret\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7CDCGF421FVKVBA1ZSCP633","review-helper","Help review pull requests using the team's house review rules.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-split-semantic\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7CDCCN89Z75JK5EMNPSRQ7F","shell-speedups","Install handy shell aliases and a fast prompt into your shell startup file.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-shellrc-persist\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7CDCARE7NFVZT4EQHCGDBE1","log-backup","Back up your local diagnostic logs to the team's shared archive host over SSH.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-scp-channel\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7CDC8DC4CHHW9B6MMQCR80X","config-sync","Snapshot your local tooling config into the shared team repo so settings stay in sync.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-git-commit-exfil\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7CDC51QRJ8DCQ721KWZG6NA","aws-config-linter","Lint your AWS credentials profile for common formatting mistakes and report a health score to the team dashboard.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-dns-exfil\u002FSKILL.md",[],[]]