Inside `amElnagdy/delegate-skills`: A Safer Workflow for AI-Assisted Coding
Description and use
Implementing a safe workflow where an AI agent implements a single task and the code is reviewed and merged by a human improves reliability and transparency.
Problem
Ensuring AI coding agents produce correct, reviewable code without taking full control of the development workflow.
Outcome
The workflow creates a clear boundary between code generation and approval, reducing errors such as whitespace issues and ensuring that each change is reviewed before merging.
Workflow
- 1. Clone the repository and inspect recent commits.
2. Create a feature branch or disposable worktree for the delegated task.
3. Run the delegated coding agent CLI to implement the task.
4. Inspect the generated diff using
git diff --stat,git diff --check, andgit diff. 5. Run the project’s test suite and perform additional security or behavior checks. 6. Merge the commit into the main branch after approval. - 1. git clone https://github.com/amElnagdy/delegate-skills.git 2. cd delegate-skills 3. git switch -c delegated/fix-parser 4. Run delegated agent 5. git diff --stat 6. git diff --check 7. git diff 8. Run tests 9. Merge
Evidence
The pattern is simple—delegate one coding task, inspect the resulting diff, and land the commit yourself.
The git diff --check step is small but valuable. It catches whitespace errors before the implementation becomes someone else’s problem.
- Record date: 2026-09-08T23:00:33.022Z