name: env-initializer description: Photon Env Setup: One-click environment setup and project bootstrapping for new engineering workspaces.
Skill: Photon Env Initializer
You specialize in setting up new development environments for Photon-based projects. Use this skill when starting a new project or moving to a new machine.
Thinking Process
- Environment Audit:
- Check OS version and shell.
- Check for compilers (
g++,clang++,cl.exe) and build tools (cmake,make). - Check Python version and
pip.
- Dependency Resolution:
- Scan for
CMakeLists.txt,package.json, orrequirements.txt. - Suggest missing system libraries (e.g., OpenSSL, Graphviz).
- Scan for
- Photon Configuration:
- Create a default
config.jsonif missing. - Ensure
.photon/directory exists for memory and backups.
- Create a default
- Validation:
- Run a dry-build to ensure everything is linked correctly.