一键导入
looply-git-guardrails
Use to verify safety of git operations during active looply workflows. Blocks destructive commands and suggests safe alternatives.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use to verify safety of git operations during active looply workflows. Blocks destructive commands and suggests safe alternatives.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use to list, inspect or manage linked looply sessions from chat. Shows session details and resume commands.
Use to open a new session tab for a feature. Registers the session in session-links.json and provides the resume command for the new tab.
Use to review architecture and design independently. Identifies structural improvements, validates against existing ADRs, and verifies compliance with codebase design principles.
Use to execute structured code review like GitHub and CodeRabbit. Reviews code changes, classifies findings by severity and generates actionable suggestions. Formal delivery gate with approval checklist.
Use to prepare and validate a software release. Includes security, performance, monitoring, rollback and operability checklist. Final delivery gate before production deploy.
Use when a delivery story already exists and needs technical design, implementation, review and release preparation. Do not use before discovery and planning are complete.
| name | looply-git-guardrails |
| description | Use to verify safety of git operations during active looply workflows. Blocks destructive commands and suggests safe alternatives. |
Use this skill when the user explicitly invokes $looply-git-guardrails, asks to run /looply:git-guardrails, or when git destructive operations are detected during active workflows.
Quick usage:
$looply-git-guardrails [git-command]Primary references:
Usage:
$looply-git-guardrails/looply:git-guardrails$looply-git-guardrails [git-command]Example:
When to use:
Curated example guidance:
onThe following commands are blocked during active workflows:
| Command | Risk | Alternative |
|---|---|---|
push --force | Overwrites remote history | push --force-with-lease |
hard reset | Loses uncommitted changes | stash + reset --soft |
rebase -i | Rewrites history interactively | regular rebase + separate commits |
commit --no-verify | Skips pre-commit hooks | Fix hook issues |
checkout --force | Overwrites local changes | stash before checkout |
branch -D | Deletes unmerged branch | branch -d (with check) |
push --force on the main branch (main/master).hard reset or rebase -i with an active workflow without first committing or stashing.--no-verify unless the user explicitly requests it..looply/custom/features/ for active workflows.When called without arguments, audits the current git state:
When called with a specific git command, evaluates the safety of the operation.
Execution rules:
.looply/custom/features/ for active workflows before authorizing destructive git operations..looply/custom.The sections below were pre-composed by looply from agent context_slots.