# feedback no duplicate docs

> Enforce a single source of truth by preventing duplicate tracking, TODO, and checklist documents in your repository.

feedback no duplicate docs is a free AI agent skill on Agensi by kktestdev, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [kktestdev](https://www.agensi.io/creators/supakit-kitjanabumrungsak)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Uses: 1
- Version: 1.0
- Last updated: 2026-10-20
- Security: scan passed (2026-10-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/feedback-no-duplicate-docs
- Tags: code-review, markdown, documentation, repository-hygiene, project-management

## About this skill

Repo bloat and document drift happen when agents create new files for tasks that already have a home. Parallel tracking documents lead to outdated information, lost context, and a fragmented source of truth. This skill forces a "search-before-write" workflow to ensure checklists, TODOs, and roadmaps stay consolidated.

### What it does
- **Prevents duplication** by identifying existing tracking files before a new one is initialized.
- **Consolidates tracking** by preferring `Edit` operations on existing `.md` files over creating new ones.
- **Automates discovery** using targeted glob patterns for common document types like checklists, bug logs, and roadmaps.
- **Self-corrects misses** by providing a recovery flow to migrate content and delete redundant files if a duplicate was already created.

### How it works
1. **Search phase** triggered before any `.md` write in the repo root, `tasks/`, or `docs/` directories.
2. **Analysis phase** to determine if the new content is orthogonal or belongs in an existing candidate file.
3. **Consolidation phase** where the agent extends the existing document section or asks the user for the authoritative file.
4. **Cleanup phase** to delete duplicates and update cross-references if a miss occurs.

### Frameworks & tools
Works with any repository structure using Markdown for documentation. Optimized for agents with filesystem access tools like `Glob`, `Edit`, and `Write`.

### Why this beats prompting it yourself
Generic prompts often fail to check the full directory tree before generating output, leading to `TODO_v2.md` or `REGRESSION_NEW.md` clutter. This skill encodes specific search heuristics and a "Single Source of Truth" logic that enforces repository hygiene automatically.

### Use cases
- Adding deploy verification steps to an existing project checklist.
- Appending new bugs to a central `BUG.md` instead of creating a new task file.
- Updating an existing sprint roadmap with deferred items.

### Known limitations
Does not apply to genuinely unique artifacts with a different audience or angle. Requires the agent to have filesystem search capabilities.

## 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 feedback no duplicate docs skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill prevent repository bloat compared to standard agent behavior?

It prevents 'document drift' by enforcing a search-before-write workflow, ensuring that new tasks, bugs, or roadmap items are appended to existing files rather than creating fragmented duplicates like TODO_v2.md.

### Which AI agents and file formats are supported?

This skill is compatible with any AI agent that has filesystem access (specifically Glob, Read, and Write capabilities) and works across any repository using Markdown for documentation.

### Can I use this skill to monitor specific subdirectories for duplicates?

While optimized for common locations like the root, `/docs`, and `/tasks` folders, the skill's logic can be applied to any directory where you want to maintain a single source of truth for tracking documents.

### What happens if the agent accidentally creates a duplicate file before the skill intervenes?

The skill includes a recovery flow that identifies the redundancy, migrates the new content into the original authoritative file, and deletes the duplicate to restore repository hygiene.

### What is included in the purchase of this skill?

You receive the core logic patterns and heuristic workflows that you can import into your agent's environment, along with documentation on how to integrate it with your agent's existing filesystem tools.

---

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.
