Agent skill
finalize
Finalize work to prepare a commit. Clean up unnecessary debug logs, remove unused methods added, do a final review to ensure tight elegant implementation, etc.
Install this agent skill to your Project
npx add-skill https://github.com/inline-chat/inline/tree/main/.codex/skills/finalize
Metadata
Additional technical details for this skill
- short description
- Finalize work to commit
SKILL.md
User is happy with the outcome and has probably done some manual QA checklist and is ready to finish up the task at hand to be committed and released to production. Keep this quick.
Instructions
- Review the work done so far as a final pass.
- Clean up if needed. See section on clean up workflow.
- Run related tests/lint/typecheck. If change is UI code, make sure we didn't break any other UI that uses the view we modified.
Review criteria
- Make sure the work done matches the spec
- Make sure we don't introduce unfinished work
- Make sure we didn't accidentally remove another part of the code in the file, or if we removed a function/class/file make sure it's not referenced or used anywhere else. Tell the user if we removed anything.
- Make sure we didn't accidentally expose secrets, credentials, or hard code anything that is different in production without if protecting it to env.
- If there are changes in the working directory that are not from this session, ignore those and don't mention or include them in the commit.
Clean up workflow
- Clean up unused code we added earlier in the sessions that is no longer needed.
- Remove debug logs that are not helpful to remain in code or we added to debug an issue.
- Follow best practices for preparing a commit.
Preflight checklist
git statusclean of unrelated changes (ignore but do not touch).- Scan for debug logs and remove if not required.
- Verify no secrets or hardcoded prod values were introduced.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
inline-cli
Explain and use the Inline CLI (`inline`) for authentication, chats, users, spaces, messages, search, bots, typing, notifications, tasks, schema, attachments, downloads, JSON output, and configuration. Use when asked how to use the Inline CLI or its commands, flags, outputs, or workflows.
summarize-work
Based on the context, write a summary of changes, what's left, production readiness, tests run, and APIs/packages used.
branch-out
Isolate a subset of changes from a dirty local worktree (usually on main) into a clean feature branch, then commit, push, and open a PR. Use when the user asks to "branch out", "isolate my changes", "move this work to a new branch", or create a clean PR from only selected files/hunks.
mo-needs-to-review?
Check if uncommitted changes are important/risky/breaking to require a review before merge/production release.
fill-context
Read changes, summarize spec and work done so far, and prepare for working on next steps.
postgres
PostgreSQL best practices, query optimization, connection troubleshooting, and performance improvement. Load when working with Postgres databases.
Didn't find tool you were looking for?