bupt-gamma/gammagl/gammagl-developer
Claude Code and agent skill by bupt-gamma/gammagl
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install bupt-gamma/gammagl/gammagl-developerSKILL.md
GammaGL Developer Skill
Use this skill when editing GammaGL source, examples, tests, installation metadata, or documentation.
Repository Layout
gammagl/: library package.gammagl/layers/: reusable layers. Convolution layers live in
gammagl/layers/conv/.
gammagl/models/: model definitions exported through
gammagl.models.__all__.
gammagl/datasets/: dataset wrappers exported through
gammagl.datasets.__all__.
gammagl/utils/: public utility functions exported through
gammagl.utils.__all__.
examples/: runnable model examples and reproduction scripts.tests/: unit and smoke tests.setup.py,requirements.txt,docs/requirements.txt: package and
environment dependency entry points.
TensorLayerX Constraint
GammaGL relies on the GAMMA Lab TensorLayerX branch:
Install the backend first. For the default torch backend, install PyTorch before installing TensorLayerX. Do not replace this branch with the public PyPI TensorLayerX package when validating changes.
Quick Start Environments
CPU:
CUDA:
Use one GammaGL package for CPU and GPU. Select CUDA extension compilation with GAMMAGL_WITH_CUDA=0, 1, or auto.
LLM/GFM features are optional:
These extras may install packages such as PyTorch, Transformers, Torch-Geometric, OpenAI SDK, and Sentence Transformers. Core GammaGL imports must not require them.
Running Examples
Prefer TL_BACKEND=torch unless the task targets another backend.
If a trainer does not support a short epoch argument, first run --help and add a small smoke path instead of forcing a full experiment.
Public API Update Rules
When adding a layer:
- Add the implementation under the appropriate
gammagl/layers/subpackage. - Export public classes from the subpackage
__init__.py. - If docs use
from gammagl.layers import Name, export it in
gammagl/layers/__init__.py.
- Add or update a focused layer test.
When adding a model:
- Add the implementation under
gammagl/models/. - Export the public class from
gammagl/models/__init__.py. - Keep
__all__spelling and capitalization exactly aligned with imported
names.
- Add a focused model test or a tiny example smoke test.
When adding a dataset:
- Add the wrapper under
gammagl/datasets/. - Export it from
gammagl/datasets/__init__.py. - Avoid downloads during import. Download only when the dataset is constructed
or processed.
When adding a utility:
- Export public utilities from
gammagl/utils/__init__.py. - Do not import optional heavy frameworks at module import time.
- Add a unit test for shared behavior.
Dependency Rules
- Keep runtime dependencies small and backend-neutral.
- Keep
pytest,ruff,pybind11, andninjain development/build extras,
not the base runtime set.
- Keep molecular dependencies such as
rdkitoptional unless a core API truly
requires them.
- Keep LLM/GFM dependencies in extras. Do not import them from package
__init__ files.
- Do not add personal paths, hard-coded dataset roots, or import-time
TL_BACKEND overrides.
Troubleshooting
TensorLayerX import fails:
- Confirm PyTorch or the selected backend is installed first.
- Confirm TensorLayerX came from
dddg617/tensorlayerx.git@nightly.
CUDA extension build fails:
- Use
GAMMAGL_WITH_CUDA=0for CPU-only installs. - Use
GAMMAGL_WITH_CUDA=autowhen CUDA may or may not be present. - Use
GAMMAGL_WITH_CUDA=1only when CUDA headers andnvccare available.
Optional dependency is missing:
- Keep the error local to the optional feature.
- Add a clear installation hint for the relevant extra or package.
- Do not move the dependency into the core import path.
Dataset download fails:
- Keep tests on synthetic or cached tiny data where possible.
- Document dataset paths and credentials clearly in the example README.
Standard Checks
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gammagl-developer/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bupt-gamma/gammagl/gammagl-developer)