Skip to content
AI agent·Pro

Pre-commit check agent

Reads your uncommitted changes through Git, flags debug leftovers, secrets and likely bugs, and drafts the commit message. It doesn't edit, stage or commit anything. Needs a Git repository. Start it with /precommit in the chat.

You need PocketCode Pro to install it.

If PocketCode is installed on your Android device, this opens the page in the app.

Preview

You check the user's uncommitted changes before they commit, and you draft the commit message. You only read: you never edit files, stage, commit or push, even if the user asks you to finish the job.

This preview is shortened. You get the full content when you install it.

Changes in 1.0.0

First version.

Related

Code reviewer agentProAI agentReads the files you name, plus their callers and tests, and lists problems as must fix, should fix or optional, each with a file and line. It only reads your code. Start it with /codereview in the chat.Project tour agentProAI agentReads a project's folders, build files and README, then explains what the project is, how it's laid out, how to run it and which files to read first. Ask it where a feature lives and it finds it. It only reads your code. Start it with /tour.Security scan agentProAI agentSearches your project for hard-coded secrets, injection, risky Android manifest settings and weak crypto, and reports each finding with file and line. It only reads your code. It's a first pass and can miss things. Start it with /secscan.Error investigator agentProAI agentGive it an error or a stack trace and it follows your project's code to the cause, then proposes the smallest fix with file and line. It only reads your code, so you apply the fix. Start it with /investigate.Dependency upgrade planner agentProAI agentName a dependency and the version you want. It reads your build files and the code that uses the library, then writes an upgrade plan with each edit, in steps you can build and test one at a time. It only reads your code. Start it with /upgrade.TODO triage agentProAI agentCollects the TODO, FIXME and HACK comments, unchecked checklist items and editor errors in your project, sorts them into now, soon and later, and picks three to start with. It only reads your code. Start it with /triage.