AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Commit

skill-ph3on1x-wisci-commit · by ph3on1x

Creates conventional git commits enriched with a Context section that logs AI-layer changes (.wisci/, CLAUDE.md, skills, rules), turning git history into queryable long-term memory. Use to commit changes, optionally pushing afterward.

No reviews yet
0 installs
17 views
0.0% view→install

Install

$ agentstack add skill-ph3on1x-wisci-commit

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-ph3on1x-wisci-commit)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Commit? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

/commit — Context-Enriched Committer

Create git commits that track AI context evolution alongside application changes. When AI-layer files are part of the commit, a Context: section is appended to the commit body — making git log long-term, queryable memory for future sessions and agents.

Current state

!git status

!git --no-pager diff --stat HEAD

Recent commits (style reference): !git log --oneline -5

> If the blocks above show errors or unexpanded variables, run the commands yourself with Bash.

Execution Flow

  1. Parse arguments. If $ARGUMENTS starts with the standalone word push (case-insensitive): enable push-after-commit, use the remainder as the commit message (may be empty).
  1. Check for committable changes in the state above. Nothing staged, unstaged, or untracked → report "Nothing to commit — working tree clean." and stop. Run git --no-pager diff HEAD for the full diff when the stat summary is not enough to write an accurate message.
  1. Classify every changed and untracked file:
  • Application code — stage normally
  • AI context files (paths below) — stage normally; flag for the Context section
  • Sensitive files (.env, *.key, *.pem, credentials.*, *secret*) — do not stage; warn the user
  • Unrelated concerns — if changes span multiple unrelated concerns and $ARGUMENTS gives no hint, ask before bundling
  1. Stage files individually (git add ). Never git add -A or git add ..
  1. Detect AI context changes. Check git --no-pager diff --cached --name-only against the AI Context Paths below.
  1. Draft the message.
  • $ARGUMENTS provided: use it; prepend a conventional prefix (feat:, fix:, refactor:, docs:, test:, chore:) if missing, inferred from the changes.
  • Empty: auto-generate from the staged diff — focus on why, not what.
  1. Append the Context section when AI-layer files are staged (omit entirely otherwise):

``` Context:

```

  1. Commit via heredoc:

```bash git commit -m "$(cat :

Context:

EOF )" ```

  1. Verify and report: short hash, subject line, whether a Context section was included and how many AI-layer files it tracked.
  1. Push (if requested). git push; no upstream → git push -u origin . On failure: report the error, never retry with --force.

AI Context Paths

  • .wisci/** — WISCI context store (context files, handoffs, primer, index)
  • CLAUDE.md, .claude/CLAUDE.md — project instructions
  • .claude/rules/**, .claude/commands/**, .claude/skills/**, .claude/agents/**, .claude/hooks/** — Claude project config
  • .claude/settings.json, .claude/plugins/** — Claude settings and plugins
  • .mcp.json — MCP server config
  • skills/**, .claude-plugin/**, hooks/** — plugin/skill definitions (when the repo is itself a plugin)
  • .agents/** — cross-client agent skills
  • .cursorrules, .cursor/rules/** — Cursor rules
  • .github/copilot-instructions.md — Copilot instructions
  • AGENTS.md, codex.md, .codex/** — Codex instructions
  • GEMINI.md, .gemini/** — Gemini CLI instructions and config

A staged file matches if its path starts with a directory prefix above or exactly matches a filename entry.

Examples

Application + context changes:

feat: add token refresh to auth middleware

Automatic refresh when access token expires. One retry before 401.

Context:
- update .wisci/context/auth-research.md — added token refresh decision and rationale

Context-only changes:

docs: persist Stripe integration research

Context:
- create .wisci/context/stripe-integration.md — /isolate research results
- update .wisci/handoff/payments.md — Stripe added to in-progress work

Key Constraints

  • Never --no-verify. Pre-commit hook fails → report and stop.
  • Never force-push.
  • Never git add -A / git add .. Stage by name.
  • Never stage sensitive files.
  • Context section is conditional — only when AI-layer files are actually staged.
  • One logical commit — ask before bundling unrelated concerns.
  • Respect user intent — a provided message is used as-is apart from prefix and Context additions.
  • All diffs with --no-pager.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.