Creator · ReflexioAI
Last updated · Sep 2, 2026
Git commit workflow with precommit hook handling, lint/type checking, README updates, and API reference updates. Use when the user wants to commit changes. Handles precommit hooks that modify files (formatting, linting) by re-staging and retrying. Runs ruff lint and pyright type
Sandbox only
Install targets
Codex install prompt
Install the "commit" agent skill from https://github.com/ReflexioAI/claude-smart/tree/main/.claude/commands/commit. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Git commit workflow with precommit hook handling, lint/type checking, README updates, and API reference updates. Use when the user wants to commit changes. Handles precommit hooks that modify files (formatting, linting) by re-staging and retrying. Runs ruff lint and pyright type checks on staged Python files, and Biome lint and tsc type checks on staged TS/JS files, fixing all errors. Fixes failing unit tests automatically before committing. Updates README code maps if needed. Updates API reference docs when client.py or service_schemas.py changed. Does not push. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"reflexioai-commit","task":"Install commit","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add ReflexioAI/claude-smart --skill commit
Maintenance
fresh
10d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
771
76/100 Quality · 75/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
771 GitHub stars
Repo activity
771 stars, 87 forks
Maintenance
10d since push
License
Apache-2.0
Install
npx skills add ReflexioAI/claude-smart --skill commit
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add ReflexioAI/claude-smart --skill commitDo not use when
Alternative
168.6K Stars
npx skills add mattpocock/skills --skill code-review
Alternative
40.8K Stars
npx skills add appsmithorg/appsmith
Alternative
175.7K Stars
npx skills add mattpocock/skills --skill implement
Alternative
30.9K Stars
npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20commit%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20commit%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/reflexioai-commit/install
Agent should check
Copy prompt
Task: Use commit in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20commit%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/reflexioai-commit/install
Install command: npx skills add ReflexioAI/claude-smart --skill commit
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/reflexioai-commit/install
LLM text format
/api/skills/reflexioai-commit/install?format=text
Find alternatives
/api/skills/search?q=commit&limit=3
Agent prompt
Use commit for this task. Review https://www.openagentskill.com/api/skills/reflexioai-commit/install, then install with: npx skills add ReflexioAI/claude-smart --skill commitRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/reflexioai-commit
LLM text
/api/registry/manifest/reflexioai-commit?format=text
Install alias
/api/registry/install/reflexioai-commit
Recommend
/api/registry/recommend?task=Use%20commit%20in%20an%20agent%20workflow&limit=3
Agent fit
Content automation
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Content automation
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO771 GitHub stars
Stars/forks activity
INFO771 stars, 87 forks; issue activity unavailable in current metadata
Recent maintenance
PASS10d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Publish consistently
I need my agent to turn research and product updates into useful content drafts.
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Parse messy files
I need my agent to read PDFs, extract tables, and turn documents into structured data.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
--- name: commit description: Git commit workflow with precommit hook handling, lint/type checking, README updates, and API reference updates. Use when the user wants to commit changes. Handles precommit hooks that modify files (formatting, linting) by re-staging and retrying. Runs ruff lint and pyright type checks on staged Python files, and Biome lint and tsc type checks on staged TS/JS files, fixing all errors. Fixes failing unit tests automatically before committing. Updates README code maps if needed. Updates API reference docs when client.py or service_schemas.py changed. Does not push. ---
# Commit
Create a git commit with automatic precommit hook handling, test fixing, README updates, and API reference updates.
**Note:** Steps 5 and the API Reference Update Guidelines are specific to the Reflexio project. They are skipped automatically when the referenced paths do not exist.
## Workflow
1. **Check git status** - Run `git status` and `git diff --cached --name-only` to see staged/unstaged changes 2. **Sync AI instruction files (only if CLAUDE.md changed)** — Run `git diff --cached --name-only` and check if `CLAUDE.md` is in the staged changeset. If yes, copy CLAUDE.md content to GEMINI.md and AGENTS.md, then stage them. If CLAUDE.md is NOT staged, skip this step entirely — do not overwrite other instruction files that may have been intentionally edited independently. 3. **Stage files** - Add relevant untracked/modified files if needed. Do not modify or change gitignored files, such as `.env`. Never change `.env` file even if it is modified. 4. **Check README updates** - Run through the README Update Guidelines checklist below. If ANY criteria match, update README files before proceeding. 5. **Update API Reference docs (Reflexio-specific)** — If the files `reflexio/reflexio_client/reflexio/client.py` or `reflexio/reflexio_commons/reflexio_commons/api_schema/service_schemas.py` exist AND are in the staged changeset, update `reflexio/public_docs/api-reference/` (see API Reference Update Guidelines below). Otherwise skip. 6. **Run lint and type checks on staged Python files** a. Get the list of staged Python files: ```bash git diff --cached --name-only --diff-filter=ACMR -- '*.py' ``` If no Python files are staged, skip this step entirely. b. **Ruff auto-fix**: Run `ruff check --fix <files>`. Re-stage any modified files with `git add <files>`. c. **Ruff format**: Run `ruff format <files>`. Re-stage any modified files with `git add <files>`. d. **Ruff remaining errors**: Run `ruff check <files>`. If any errors remain that ruff could not auto-fix, **read each error, understand the issue, and fix the code yourself**. Re-stage fixes. Do NOT proceed with unfixed ruff errors. e. **Pyright type check**: Run `pyright <files>`. If any type errors are reported, **read each error, understand the type issue, and fix the code yourself**. Re-stage fixes. Do NOT proceed with unfixed pyright errors. f. Get the list of staged TypeScript/JavaScript files: ```bash git diff --cached --name-only --diff-filter=ACMR -- '*.ts' '*.tsx' '*.js' '*.jsx' '*.mts' ``` If no TS/JS files are staged, skip steps 6g-6i entirely. g. **Biome auto-fix**: Run `npx biome check --write <files>` from the relevant project root (`reflexio/website/` or `reflexio/public_docs/` depending on file path). Re-stage any modified files with `git add <files>`. h. **Biome remaining errors**: Run `npx biome check <files>`. If any errors remain that Biome could not auto-fix, **read each error, understand the issue, and fix the code yourself**. Re-stage fixes. Do NOT proceed with unfixed Biome errors. i. **TypeScript type check**: Run `npx tsc --noEmit` from the relevant project root. If any type errors are reported, **read each error, understand the type issue, and fix the code yourself**. Re-stage fixes. Do NOT proceed with unfixed tsc errors. 7. **Attempt commit** - Run `git commit` which triggers precommit hooks 8. **Handle hook results**: - If hooks **modify files** (formatting, linting): Stage the modified files with `git add -u` and retry commit - If **unit tests fail**: Fix the failing tests, stage fixes, and retry commit - If hooks **pass**: Commit succeeds 9. **Do NOT push** - Only commit locally
## README Update Guidelines
Before committing, **always check** if README files need updates. Follow `how_to_write_readme.md` in the repo root.
**Step 1: Analyze changes with these commands:** ```bash # See what files are being committed git diff --cached --name-only
# See detailed changes git diff --cached --stat
# For unstaged changes git diff --name-only ```
**Step 2: Check if README update is REQUIRED** (update if ANY are true): - [ ] New directory created (e.g., `services/email/`) - [ ] New Python module/file added to existing component - [ ] New API endpoint added - [ ] New service or extractor added - [ ] Architecture pattern changed - [ ] Component relationships changed
If **none** of the above criteria match, skip README updates entirely and proceed to the next step.
**Pre-write criteria — before writing any README changes, confirm:** 1. Can an LLM currently find the right file with the existing README? If yes, no update needed. 2. Are there new files/directories that need documented paths? 3. Are new API endpoints to list? 4. Are there anti-patterns to highlight (NEVER/ALWAYS)?
Only proceed with the update if at least one criterion identifies a gap.
**Step 3: Update process:** 1. Identify affected component(s) from the file paths 2. Read existing README(s) in affected directories 3. Update component-level README first (e.g., `reflexio/server/README.md`) 4. Update main `README.md` if high-level structure changed 5. Stage README changes: `git add README.md src/*/README.md`
**Two-tier approach:** - **Main Code Map** (`README.md`) - High-level overview of all components - **Component Code Maps** (e.g., `reflexio/server/README.md`) - Detailed documentation
## API Reference Update Guidelines
When changes are made to the Reflexio client or service schemas, update the API reference documentation.
**Source files to watch:** - `reflexio/reflexio_client/reflexio/client.py` - Client class methods - `reflexio/reflexio_commons/reflexio_commons/api_schema/service_schemas.py` - Request/Response models and enums
**Documentation to update:** - `reflexio/public_docs/api-reference/client.md` - Client method documentation - `reflexio/public_docs/api-reference/schemas.md` - Schema/model documentation
**When to update:** - New client method added → Add method documentation to `client.md` - Client method signature changed → Update parameters/return types in `client.md` - New request/response model added → Add model documentation to `schemas.md` - Model fields changed → Update field tables in `schemas.md` - New enum added or enum values changed → Update enum documentation in `schemas.md`
**Update process:** 1. Read the changed source file to understand what was added/modified 2. Read the existing documentation file(s) to understand current format 3. Update documentation to match the source code changes: - For methods: Include signature, parameter table, return type, response schema, and examples - For schemas: Include field table with Type, Description, and Default columns - For enums: List all values with descriptions 4. Maintain consistent formatting with existing documentation 5. **Verify format consistency:** After updating, re-read the full documentation file and confirm the new section matches the structure and formatting of an adjacent existing section (same heading levels, table format, example style).
**Documentation style:** - Use markdown tables for parameters and fields - Include code examples for new methods - Reference related schemas using links (e.g., `[UserProfile](#userprofile)`) - Keep descriptions concise but complete
## Commit Message Format
Use conventional commit style: ``` <type>: <short description>
<optional body explaining why> ```
Types: `feat`, `fix`, `refactor`, `test`, `docs`, `chore`, `style`
**How to write the message:** - Read `git diff --cached` to understand the full scope of staged changes. - The subject line should summarize the *why*, not list files changed. - Include a body only for non-trivial changes — explain motivation, trade-offs, or context that isn't obvious from the diff. - If the staged changes span multiple unrelated concerns, note this to the user and suggest splitting into separate commits rather than writing a vague summary. - Check `git log --oneline -5` and match the existing commit style of the repo.
**Do NOT include** `Co-Authored-By` lines in commit messages.
## Precommit Hook Retry Logic
When precommit hooks fail due to file modifications: ```bash # Check what was modified by hooks before re-staging git diff --name-only # Verify no unexpected files (binaries, generated assets) are being re-staged git add -u git commit -m "..." ``` Before running `git add -u`, review the output of `git diff --name-only`. If unexpected files appear (compiled assets, binary files, generated artifacts), stage only the expected files explicitly instead of using `git add -u`.
Retry up to 3 times. If the commit still fails after 3 retries, stop and report the hook output to the user rather than retrying further.
## Unit Test Failure Handling
When pytest fails during precommit: 1. Read the test failure output to understand what failed 2. Fix the application code causing the failure first. Only modify the test itself if the test is clearly wrong (e.g., it tests old behavior that the current commit intentionally changes). 3. **Never** delete or comment out assertions to make tests pass. 4. Stage the fixes with `git add` 5. Retry the commit
If tests still fail after 3 fix attempts, stop and report the failures to the user.
Source provenance
Decision snapshot
771 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for commit, ready for a manual X post.
commit: Git commit workflow with precommit hook handling, lint/type checking, README updates, and API... 771 stars https://www.openagentskill.com/skills/reflexioai-commit?ref=x
Listing + install path for commit: https://www.openagentskill.com/skills/reflexioai-commit?ref=x Install: npx skills add ReflexioAI/claude-smart --skill commit
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to ReflexioAI but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/reflexioai-commit?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/reflexioai-commit?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/reflexioai-commit/audit)
[](https://www.openagentskill.com/skills/reflexioai-commit?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)ReflexioAI
@reflexioai
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Code Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
168.6K StarsAppsmith
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
40.8K StarsImplement
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
175.7K StarsVercel React Best Practices
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
30.9K StarsPermission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness