协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
skill-porter【开发与工程】Preview conservative tool-name translations and copy complete local skill bundles for manual adaptation to Google Antigravity.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use when adapting a locally obtained Claude Code, Cursor, Codex, or generic agent skill bundle for Google Antigravity. The utility preserves support files and previews limited tool-name substitutions; it does not prove client compatibility.
SKILL.md, that file itself, or a
repository with skills/<lowercase-hyphenated-id>/SKILL.md directories.From this skill directory, preview the local bundle:
python3 scripts/port_skill.py --source "/absolute/path/my-skill" --dry-run
Review the diff. Only exact backtick-quoted tool identifiers such as View,
Edit, and Bash change. Frontmatter and support bytes remain intact. Verify
each target tool and its argument semantics in your actual client.
Copy to a fresh staging destination, then inspect before activating:
python3 scripts/port_skill.py --source "/absolute/path/my-skill" --dest "/absolute/path/staging"
Existing skill destinations are rejected; no global paths are written.
When the user requests workspace installation, verify the current project:
python3 scripts/port_skill.py --source "/absolute/path/my-skill" --workspace --dry-run
python3 scripts/port_skill.py --source "/absolute/path/my-skill" --workspace
This writes only .agents/skills/<id> under the current working directory.
Confirm that discovery path is supported by the intended host first.
Review context-file references, tool argument shapes, client configuration, dependencies, licensing and multi-agent ordering manually. Validate the adapted skill and test actual client invocation before claiming compatibility.
For a multi-skill repository, use its local root as the source:
python3 scripts/port_skill.py --source "/absolute/path/reviewed-repository" --dry-run
python3 scripts/port_skill.py --source "/absolute/path/reviewed-repository" --dest "/absolute/path/fresh-output"
A source-only invocation defaults to preview. Remote URLs are rejected; obtain and inspect a pinned local checkout first. Run bundled tests from this directory:
PYTHONDONTWRITEBYTECODE=1 python3 -m unittest scripts/test_port_skill.py -v
Adapted from Pranav-Nexus/antigravity-skill-porter. The upstream MIT notice is preserved in LICENSE.