no-force-push
Use when the no-force-push tripwire blocks a git push --force; confirms whether the user explicitly approved a history-rewriting force-push before overriding.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- no-force-push
- description
- Use when the no-force-push tripwire blocks a git push --force; confirms whether the user explicitly approved a history-rewriting force-push before overriding.
02 资源文件 11
- 脚本chaos_no_force_push.py4.9 KB
- 参考文档fixtures.json395 B
- 脚本foundations.ts1.5 KB
- 脚本hook.py3.8 KB
- 脚本index.ts31 B
- 参考文档INSTALL.md3.2 KB
- 参考文档README.md403 B
- 参考文档SELFTEST-RESULT.txt912 B
- 参考文档spec.json757 B
- 脚本test_no_force_push.py6.3 KB
- 脚本tripwire.py1.5 KB
03 SKILL.md 正文
no-force-push (forged discipline - companion procedure)
This skill is the human-followed procedure that pairs with the no-force-push hook
(a PreToolUse discipline forged by forge-discipline). The hook is the
enforcement (the harness runs it deterministically); this skill is what to DO when
it fires.
What the hook does
When its trigger matches, the hook surfaces / enforces:
Tripwire: refusing git push --force. Force-push can destroy remote history; AGENTS.md section 9 requires explicit user approval. If approved, re-run with FORGE_NO_FORCE_PUSH_OFF=1.
Procedure when it fires
- Read the hook's message - it names the exact condition that tripped.
- Resolve the underlying cause rather than silencing the hook.
- Only if it is a confirmed false positive, opt out for the moment via the
FORGE_NO_FORCE_PUSH_OFF=1environment variable (or a.disabledfile in the hook dir), and note why - do not leave the discipline disabled silently.
Notes
- This stub is generated and intentionally minimal. Flesh out the procedure with the project-specific steps the discipline is meant to enforce.
- The hook fails open: if it errors it stays silent / allows, so this procedure is the backstop, not the only line of defence.
04 同仓库更多 Skills
clarify-requirements
Resolve genuine pre-execution ambiguity by scanning repo context, generating 1-6 grounded options, and asking 1-3 focused questions via AskUserQuestion. NOT for mid-task use (injection risk); NOT when the goal is already unambiguous; use to disambiguate vague prompts before any file edits.
openmm-md
Run FREE, open-source, Windows-native GPU molecular dynamics via the openmm-md MCP (OpenMM + CUDA on the local NVIDIA GPU). Use for protein / protein-ligand MD when you want a free stack or are on Windows without a Schrodinger license. Covers the full workflow (prepare, solvate, minimize, equilibrate, production, analyze, mmgbsa) AND an honest decision guide vs Schrodinger Desmond, including how to run Desmond legitimately on Linux or a cloud GPU with a real license. This is a deliberately LESSER free alternative and does NOT replace the schrodinger MCP tools. Do NOT use it to pick a free tool when a validated FEP+, WaterMap, IFD-MD, or Prime MM-GBSA result is actually required.
visual-review
Take screenshots of web pages and UI using Playwright for visual review and iteration
status
Diagnostic status report — shows metaswarm installation state, project setup, and potential issues
start
Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work
setup
Interactive project setup — detects your project, configures metaswarm, writes project-local files