# HuG

> The Humane-Gated Flow is an issue-driven development lifecycle for building software with a coding agent.

HuG is a paid AI agent skill pack (several skills in one listing) on Agensi by Julien Béranger, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $8 (one-time purchase)
- Creator: [Julien Béranger](https://www.agensi.io/creators/julien-b-ranger)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-10-14
- Security: scan passed (2026-10-14); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/hug
- Tags: ai-agents, prompt-engineering, llm-ops, github-cli, git, sdlc, repo-management

## About this skill

HuG is a collection of six specialized skills designed to bridge the gap between source code and repository management. It solves the friction of maintaining documentation accuracy, managing GitHub issue hygiene, and enforcing high-quality review workflows. The package automates the tedious parts of the development lifecycle, ensuring that documentation never drifts from the implementation and that every pull request is backed by a clean, traceable history.

### What it does
- **Detect documentation drift** by mapping repository files to specific doc sections and identifying missing or outdated content.
- **Automate issue management** by turning raw feedback into formatted GitHub issues with proper labels, milestones, and tracking relationships.
- **Orchestrate pull requests** by syncing them with existing issues, verifying CI status, and handling the merge-and-cleanup flow.
- **Enforce reviewed commits** through a specialized loop where the agent only commits what the human has manually staged.
- **Generate repository roadmaps** by sequencing open issues into pinned tracking issues with dependency logic.

### How it works
1. **Sync check**: Run `check-doc-drift` against a file or URL to receive a diff table of the repo vs. documentation.
2. **Intake feedback**: Use `/intake` with pasted text to automatically generate categorized GitHub issues.
3. **Plan work**: Invoke `plan-issues` to build a prioritized roadmap directly within the GitHub issue tracker.
4. **Iterative development**: Use `/review-loop` to write code that the human must stage before the agent will commit and push.

### Frameworks & tools
This skill requires the GitHub CLI (`gh`) and `git`. It integrates with repository-specific tools like `package.json` scripts, `Makefiles`, and standard GitHub issue/PR templates.

### Why this beats prompting it yourself
Writing prompts to manage GitHub API calls and multi-file drift checks is prone to hallucination and context loss. HuG provides a deterministic workflow for repository maintenance, ensuring that system-level commands like `gh api` and `git write-tree` are executed with precise, verified logic.

### Use cases
- **Maintaining READMEs** by ensuring code snippets match the actual source files.
- **Triage automation** for turning messy email feedback into actionable dev tickets.
- **Review enforcement** for teams that want a strict "human-stages, agent-commits" workflow.
- **Release planning** to visualize issue dependencies without leaving the GitHub UI.

### Known limitations
Requires the GitHub CLI to be authenticated. The review loop requires manual staging by the user. Planning skills are limited to approximately 200 open issues per run.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the HuG skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does HuG ensure my documentation stays accurate as the code evolves?

HuG prevents 'documentation drift' by mapping your source code to your docs; it identifies outdated snippets or missing explanations and proposes specific updates to keep them in sync.

### Are there any specific system requirements or external tools needed to run these skills?

Yes, HuG requires both the GitHub CLI (gh) and Git to be installed and authenticated on your local environment to perform API calls and repository actions.

### Can the agent push code changes to my repository without my supervision?

The Reviewed Commit workflow requires you to manually stage changes (git add) before the agent can commit them, ensuring a human always verifies the final code before it hits the repository.

### What exactly is included in the HuG skill package?

You receive a suite of six specialized skills, including the doc-drift checker, the /intake feedback processor, the /review-loop manager, and the issue roadmap planner.

### Which AI agents or development environments are compatible with HuG?

HuG is designed to work with any AI agent or IDE extension that supports system-level command execution and tool-calling, such as Claude Dev, Roo Code, or Windsurf.

### Is there a limit to how many GitHub issues HuG can manage at once?

The roadmap planning and issue sequencing features are currently optimized for repositories with up to 200 open issues to ensure performance and context accuracy.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
