Setup Git
probabl-ai/skills
Set up git for an ML workspace after scaffolding. An agent skill from probabl-ai/skills.
Audits, scaffolds and safely migrates research project folder structures, keeping existing repositories read-only until you approve exact moves from a plan.
$ npx skills add Light0305/Light-skills --skill light-project-structure -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Light0305/Light-skills light-project-structure --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/light-project-structure .claude/skills/light-project-structure && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "light-project-structure" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-project-structure into .claude/skills/light-project-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-project-structure", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Light0305/Light-skills/tree/master/skills/light-project-structureType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Light0305/Light-skills --skill light-project-structure -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Light0305/Light-skills light-project-structure --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/light-project-structure .agents/skills/light-project-structure && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "light-project-structure" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-project-structure into .agents/skills/light-project-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-project-structure", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Light0305/Light-skills --skill light-project-structure -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Light0305/Light-skills light-project-structure --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/light-project-structure .cursor/skills/light-project-structure && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "light-project-structure" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-project-structure into .cursor/skills/light-project-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-project-structure", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Light0305/Light-skills.git --path skills/light-project-structure--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Light0305/Light-skills --skill light-project-structure -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Light0305/Light-skills light-project-structure --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/light-project-structure .gemini/skills/light-project-structure && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "light-project-structure" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-project-structure into .gemini/skills/light-project-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-project-structure", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Light0305/Light-skills light-project-structureInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Light0305/Light-skills --skill light-project-structure -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/light-project-structure .github/skills/light-project-structure && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "light-project-structure" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-project-structure into .github/skills/light-project-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-project-structure", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Light0305/Light-skills --skill light-project-structure -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Light0305/Light-skills light-project-structure --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/light-project-structure .opencode/skills/light-project-structure && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "light-project-structure" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-project-structure into .opencode/skills/light-project-structure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-project-structure", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
light-project-structureAudits, scaffolds and safely migrates research project folder structures, keeping existing repositories read-only until you approve exact moves from a plan.
The skill owns the visible project tree and its migration evidence, and works in one of four modes. Scaffold builds a starting tree from one explicit profile in an empty target. Intake inspects an existing repository, monorepo package or non-Git folder and stops at the decision. Apply runs once you approve exact action IDs bound to a plan digest, and rollback reverses applied moves from the applied manifest. Profiles cover Python, R, mixed and LaTeX projects, and it will not scaffold a non-empty directory or force a fixed tree onto projects it does not fit.
Safety rules are strict. Inventory is read-only, nothing is overwritten, deleted or forced, symlinks, submodules and uncommitted or untracked work are preserved, and content under .light belongs to memory-pm alone. Unknown facts stay marked UNKNOWN. Before delivery, structure_governance_gate.py checks the profile choice, read-only safety, leftover template placeholders, a secret scan, the environment, authorization binding and rollback evidence. A tidy structure is never presented as proof of reproducible research, and the skill stays a standalone local tool outside its pack's stage graph.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6b44f57. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Light Project Structure loads about 3k tokens when it runs, and up to ~5.4k if it reads all its reference files. Until then it costs about 166 tokens; SKILL.md has 1,291 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
doctor are present when relevant; `.env` ignore is not a secret-scan result.Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from Light0305/Light-skills at commit 6b44f57, republished under its MIT licence (© Light0305). 1,291 words, ~2,972 tokens.
.claude/skills/light-project-structure/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.Own the visible project tree and its migration evidence. Do not mistake a tidy directory for reproducible research.
Read
references/project-lifecycle-resource-map.md
before an existing-repository migration. It defines artifacts, policy, access
levels, provenance, and cross-skill ownership. Use
references/structure-profiles.json for
small profile minima and
templates/project-policy.template.json
for explicit project/file policy.
Use scripts/structure_governance_gate.py before delivery to validate profile
choice, existing-project read-only safety, template residuals, secret scan,
environment doctor, authorization binding, applied-manifest binding, and
rollback evidence.
git rm --cached, initialize DVC, rewrite
configuration, or move a symlink automatically.--force as consent. The lifecycle has no force bypass..light/ content. memory-pm alone creates or edits passport,
project card, decision log, version history, terminology, and handoff files.UNKNOWN. A path such as data/raw does not prove size,
sensitivity, immutability, recomputability, or Git policy.light.findings.v1; add no
STAGE_GATES, ROUTES, stage number, or back-edge.| Situation | Mode |
|---|---|
| Empty target and the user wants a starting tree | scaffold with one explicit profile |
| Existing repository, monorepo package, or non-Git directory | intake, then stop at the decision |
| User approved exact moves after seeing the plan | create authorization, then apply |
| Applied moves need reversal | rollback from the applied manifest |
Do not scaffold a non-empty directory. Do not retrofit a fixed 23-directory tree onto R, paper-only, mixed-language, custom, or monorepo projects.
Collect or preserve as UNKNOWN:
Choose the smallest profile after inspecting observed technology signatures and the user's declared deliverables:
python-researchr-researchmixed-researchpaper-onlyexisting-customProfiles are extensible minima, not compliance verdicts.
The selected profile is not evidence about the project. intake records
observed file/config signals separately from policy-declared artifact types,
recommends a profile, and fails the governance gate when a different profile
has no concrete profile_selection_reason.
Copy the policy template outside the source root, fill known project facts, and add file rules only where there is evidence. Legitimate tracked artifacts include small public fixtures, reviewed golden files, DVC pointers, final paper figures, release artifacts, or audit evidence when project policy requires them. Large/sensitive source data, models, and results usually need DVC/object storage, but require a decision rather than a directory-name verdict.
Run:
python scripts/scaffold.py intake <root> --out <evidence-dir> \
--profile mixed-research --policy <project-policy.json>The command writes evidence to --out and verifies that the source snapshot
and Git status did not change.
intake also emits technology signatures, the environment doctor, template
residual scan, secret scan, and governance report named in the resource map.
Tool checks derive from observed or explicitly declared artifact types, not
from the chosen profile alone. If the project requires Python, R, Quarto, DVC,
LaTeX, or other local tools, record those requirements in the policy. Use the
standalone doctor command only when you need an extra ad-hoc check:
python scripts/structure_governance_gate.py --doctor python rRead the intake artifacts named in the resource map. Check:
UNKNOWN owner, producer, recomputability, sensitivity, classification,
target, and policy basis;policy.project.artifact_types; the selected profile matches
the recommendation or has a concrete user override reason;../, absolute, drive-letter, UNC, or otherwise root-escaping action paths
are blocked in the dry-run plan and governance gate, not deferred to apply;.light/ is preserved and has no move action;raw;.env ignore is not a secret-scan result.Present:
git rm --cached, configuration rewrite, and DVC initialization;Then stop. Ask which action IDs the user authorizes. Do not prewrite their answer.
Run the governance gate on the delivery bundle before presenting a structure as ready:
python scripts/structure_governance_gate.py \
--input templates/project-structure-governance.example.jsonThe bundled example is intentionally fail-closed: it attempts scaffold on an
existing R project, leaves template placeholders, reports secret values, misses
R, uses force, moves .light/, duplicates action IDs, applies delete, moves a
symlink, and risks overwrite.
After the user chooses, create an authorization document:
{
"schema": "light.project-structure.v2.authorization",
"authorization_id": "<user-created stable authorization id>",
"plan_sha256": "<exact migration-plan plan_sha256>",
"approved_action_ids": ["move-0001"],
"authorized_by": "<user-supplied identifier>",
"authorized_at": "<YYYY-MM-DD>"
}Do not include blocked or unknown actions. authorization_id and
authorized_by must be concrete user-supplied values, not template text;
authorized_at cannot be in the future. A changed plan requires fresh
authorization. The authorization cannot resolve an overwrite or bypass a
symlink block.
python scripts/scaffold.py apply \
--plan <migration-plan.json> \
--authorization <authorization.json> \
--manifest-out <applied-manifest.json> \
--as-of <YYYY-MM-DD>
python scripts/scaffold.py rollback \
--manifest <applied-manifest.json> \
--rollback-out <rollback-manifest.json>apply re-verifies source hashes and absolute containment, creates missing
target parents, refuses existing targets, moves only ordinary files, records
before/after SHA-256, and writes an applied manifest that binds the exact plan
file and authorization file by locator plus file SHA-256. A path that escaped
the selected root should already have been marked blocked during planning; if
one reaches apply anyway, apply still fails closed. rollback verifies target
hashes and refuses to overwrite a reappeared source; it uses the applied
manifest for safe restoration and does not require the original plan/auth files
to still be present.
After rollback:
.light/ content remain byte-identical;Use only on an empty target:
python scripts/scaffold.py scaffold <target> --profile r-research --name <name>The command records profile and generator hashes in
.project-structure-provenance.json. It is one-time generation, not safe
template updating. For managed template evolution, evaluate Copier or Cruft and
review local modifications and conflicts; do not claim drift detection is a
merge guarantee.
memory-pm to run pm.py init when .light/ memory is needed; do not do
its work here.data-engineering.experiment-coding.file-reading understand supplied repositories/materials; this skill
alone owns moves.orchestrator consume a delivery if useful; do not create a gate.Run the script self-test:
python scripts/scaffold.py --selftest
python scripts/structure_governance_gate.py --selftestIt exercises source-read-only intake, a tracked fixture policy, generated
environment/template/secret/governance reports, an untracked draft, .light/
preservation, authorization binding, applied-manifest plan/auth file binding,
real move/hash evidence, rollback, reapply, non-Git mode, monorepo subroot
handling, profile scaffold idempotence, and a best-effort Windows symlink
branch.
Before delivery, verify:
.light/ content survived move and rollback.structure_governance_gate.py passes for the actual delivery bundle.© Light0305, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files (scripts, references) in skills/light-project-structure of Light0305/Light-skills.
Open the folder on GitHubat commit 6b44f57
Light Project Structure next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Light Project Structure this skillLight0305/Light-skills | 640 | — | ~3k | Automated safety check: Notes | MIT | |
| Setup Gitprobabl-ai/skills | 135 | — | ~1.4k | Automated safety check: Notes | BSD-3-Clause | |
| Project Initathola/claude-night-market | 342 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Migrate Internal Package into GhostTryGhost/Ghost | 55k | — | ~3.8k | Automated safety check: Pass | MIT | |
| Skyvern Version BumpSkyvern-AI/skyvern | 23k | — | ~1k | Automated safety check: Notes | AGPL-3.0 | |
| Saleor Commit Workflowsaleor/saleor | 23k | — | ~575 | Automated safety check: Pass | BSD-3-Clause |
probabl-ai/skills
Set up git for an ML workspace after scaffolding. An agent skill from probabl-ai/skills.
athola/claude-night-market
Scaffolds new projects with git, CI/CD workflows, pre-commit hooks, and build config.
TryGhost/Ghost
Moves a package from another TryGhost repository into Ghost as an internal workspace package while keeping its Git history, with checkpoints for the steps that need an administrator.
Skyvern-AI/skyvern
Walks through a Skyvern open-source release bump: update the version, rebuild the Python and TypeScript SDKs with Fern, commit, and open a pull request.
saleor/saleor
Commits changes in the Saleor codebase and works through pre-commit hook failures from ruff, mypy, the GraphQL schema check and the migrations check.
pybind/pybind11
Opens the pybind11 release-preparation pull request: picking the release base, bumping the version in common.h and integrating the changelog, following docs/release.rst.
Light0305/Light-skills
Verifies that every reference in a manuscript is real, correctly identified and actually supports its claim, and produces a citation registry for typesetting.
Light0305/Light-skills
Coordinates and recovers multi-stage Light research projects from a single passport file, with checkpoints, stale-work tracking and rerouting only when you approve.
Light0305/Light-skills
Builds an evidence-backed invention disclosure packet from a project or research result for attorney or patent-agent review, without giving legal advice.
Light0305/Light-skills
Prepares draft materials for a China software copyright registration from a real project: application worksheet, source deposit plan, operation manual and consistency checks.
Light0305/Light-skills
Evidence-based workflow for designing or modernizing a software system: current-state inventory, options, API and schema contracts, migration plans, ADRs and verification.
Light0305/Light-skills
Build and preflight submission-ready LaTeX/PDF artifacts for Light stage 11.
Categories
Audits, scaffolds and safely migrates research project folder structures, keeping existing repositories read-only until you approve exact moves from a plan. The skill owns the visible project tree and its migration evidence, and works in one of four modes. Scaffold builds a starting tree from one explicit profile in an empty target.
Light Project Structure fits situations like: starting a new research project with a clean, profile-based folder tree; cleaning up an existing repository with a reviewed move plan; rolling back moves from an earlier structure migration; taking a source inventory and agreeing naming and storage policy before reorganizing.
Run `npx skills add Light0305/Light-skills --skill light-project-structure -a claude-code`. Or copy the skill folder (skills/light-project-structure in Light0305/Light-skills) into .claude/skills/light-project-structure in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Light0305/Light-skills --skill light-project-structure -a codex`. Or copy the skill folder (skills/light-project-structure in Light0305/Light-skills) into .agents/skills/light-project-structure in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Light0305/Light-skills --skill light-project-structure -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/light-project-structure, .gemini/skills/light-project-structure, .github/skills/light-project-structure and .opencode/skills/light-project-structure in your project.
Going by SKILL.md and its folder, Light Project Structure needs Python for the scripts in its folder and the command-line tools its instructions call (git). Our summary lists: Python, to run scaffold.py and the governance gate script.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Light Project Structure is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.4k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Light Project Structure: Setup Git (probabl-ai/skills, 135 stars), Project Init (athola/claude-night-market, 342 stars), Migrate Internal Package into Ghost (TryGhost/Ghost, 55k stars) and Skyvern Version Bump (Skyvern-AI/skyvern, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Light0305 (a GitHub user) maintains it in Light0305/Light-skills, which has 640 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on July 6, 2026.
Source: Light0305/Light-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.