cookit
Squash all unpushed commits on the current branch into a single fresh commit with a new "now" timestamp.
Skill by folkengine
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/folkengine-cookit
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/cookit
What's inside
- Skill name
cookit- Description
- Squash all unpushed commits on the current branch into a single fresh commit with a new "now" timestamp. Use when the user types /cookit.
- License
- Apache-2.0
- Instructions
- 48 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
Squash every unpushed commit on the current branch into one fresh commit, dated now. ## Preflight — refuse fast on any failure Run these in order. If any check fails, print the reason and stop. Do not run any state-changing git command. 1. `git rev-parse --is-inside-work-tree` — must succeed. 2. `git symbolic-ref --short HEAD` — refuse on detached HEAD, `main`, or `master`. 3. `git remote` — refuse if output is empty (no configured remote means every commit looks "unpushed"). 4. `git status --porcelain` — refuse if output is non-empty. Working tree must be clean: no staged, unstaged, or untracked-but-tracked changes. Tell the user to commit or stash first. 5. `git rev-list HEAD --not --remotes` — capture unpushed commit SHAs (one per line, newest first). - 0 lines → exit cleanly: "nothing to cook." - 1 line → refuse: "only one unpushed commit, nothing to combine." - 2+ lines → continue. 6. `git rev-list --merges HEAD --not --remotes` — refuse if non-empty. Squash semantics across merge commits are ambiguous. 7. Compute `BASE = $(git rev-list HEAD --not --remotes | tail -1)^` — the parent of the oldest unpushed commit. This is the soft-reset target. ## Confirm with the user Show all of: - Current branch name. - `git log $BASE..HEAD --oneline` — the commits about to be squashed. - The proposed combined commit message: `git log $BASE..HEAD --format=%B` (lists messages newest-first), joined with blank-line separators. Ask the user to **accept** the message, **edit** it, or **abort**. Do not proceed without an explicit accept or an edited message. ## Execute — the only two state-changing commands this skill is authorized to run 8. `git reset --soft "$BASE"` — un-commits the unpushed range and keeps everything staged. 9. Commit with the final message via stdin, so multi-paragraph messages survive intact: ```bash git commit -F - <<'EOF' <final message> EOF ``` This produces a fresh commit with "now" as both the author and committer date. These two commands are authorized by the **Exceptions** section of `~/.claude/CLAUDE.md`. Do not run any other state-changing git command from within this skill — not `git push`, not `git stash`, not `git rebase`, not `git commit --amend`. If something looks wrong mid-flight, stop and tell the user; do not attempt recovery on their behalf. ## Verify and report 10. `git log -1 --format='%h %an %ai %s' --date=iso` — show the resulting commit. Confirm the author/committer dates are within seconds of now. 11. Tell the user: the original commits remain reachable via `git reflog` for ~90 days if they want to roll back. The recovery command is `git reset --hard <old-HEAD-sha>` (suggest, do not run).
From folkengine/.claude, Apache-2.0.
More from folkengine/.claude
- 0.570score
huxley
folkengine
Use when the user types /huxley <code>, or asks how a function, type, file, or snippet evolved over time, wants its git lineage or "family tree", asks where…
SkillAFreshness: AClaude Code +9 - 0.529score
conformance
folkengine
Measure a codebase against an externally-authored ruleset — a standards-body spec, RFC, protocol document, regulation, house rules PDF, or API contract —…
SkillBFreshness: BClaude Code +9 - 0.529score
smimd
folkengine
Evaluate a codebase for parallelism opportunities — SIMD lanes, SWAR bit-tricks, MIMD/thread-level data parallelism, and the algorithm or data-structure…
SkillBFreshness: BClaude Code +9 - 0.529score
untangle
folkengine
Evaluate how entangled a repository is with each of its dependencies and what removing them would take — a standardized audit written to the repo's docs…
SkillBFreshness: BClaude Code +9 - 0.529score
dev-playbook
folkengine
Use when the user types /dev-playbook, asks to start, scaffold, bootstrap, or init a new project/repo/library in rust, python, go, java, cpp, c, php, ts-lib…
SkillBFreshness: BClaude Code +9 - 0.524score
quality-commitments
folkengine
Facilitates Quality Commitments work — collaborative definition of quality standards, generation of a Quality Commitments Matrix, evidence-based audit of an…
SkillBFreshness: BClaude Code +9 - 0.524score
critique
folkengine
Deliver a harsh, evidence-backed critique of whatever the user points at — a file, directory, codebase, skill, design doc, API, spec, README, or pasted text.
SkillBFreshness: BClaude Code +9 - 0.524score
qanda
folkengine
Generate a paired self-test Q&A study set — <TOPIC>_QUESTIONS.md and <TOPIC>_ANSWERS.md in the repo's docs folder — that helps developers learn how the code…
SkillBFreshness: BClaude Code +9 - 0.519score
debrief
folkengine
Bullet-point summary of what changed on the current branch versus main.
SkillBFreshness: BClaude Code +9 - 0.499score
blooper
folkengine
Use when the user asks for a "blooper report" or wants to dig through a repo's git history to find its most embarrassing early coding mistakes and see which…
SkillBFreshness: BClaude Code +9 - 0.479score
codebase-kata
folkengine
Turn a real codebase into a TDD-style coding kata that teaches the core technology or algorithm behind it.
SkillCFreshness: CClaude Code +9 - 0.479score
deconstruct
folkengine
Distill an existing codebase into a portable regeneration pack — language-agnostic DECON epics in the /epic house style plus golden test vectors extracted by…
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 23, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/folkengine/.claude
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from folkengine
- 0.570score
huxley
folkengine
Use when the user types /huxley <code>, or asks how a function, type, file, or snippet evolved over time, wants its git lineage or "family tree", asks where…
SkillAFreshness: AClaude Code +9 - 0.529score
conformance
folkengine
Measure a codebase against an externally-authored ruleset — a standards-body spec, RFC, protocol document, regulation, house rules PDF, or API contract —…
SkillBFreshness: BClaude Code +9 - 0.529score
smimd
folkengine
Evaluate a codebase for parallelism opportunities — SIMD lanes, SWAR bit-tricks, MIMD/thread-level data parallelism, and the algorithm or data-structure…
SkillBFreshness: BClaude Code +9 - 0.529score
untangle
folkengine
Evaluate how entangled a repository is with each of its dependencies and what removing them would take — a standardized audit written to the repo's docs…
SkillBFreshness: BClaude Code +9 - 0.529score
dev-playbook
folkengine
Use when the user types /dev-playbook, asks to start, scaffold, bootstrap, or init a new project/repo/library in rust, python, go, java, cpp, c, php, ts-lib…
SkillBFreshness: BClaude Code +9 - 0.524score
critique
folkengine
Deliver a harsh, evidence-backed critique of whatever the user points at — a file, directory, codebase, skill, design doc, API, spec, README, or pasted text.
SkillBFreshness: BClaude Code +9
Cite this page
cookit skill. Agent Mart. https://agentmart.dev/skills/folkengine-cookit (last updated 2026-10-24)