Works with the AI Agents you already use

    Project Wiki: Codebase Map That Flags Stale Docs

    by doo_sani

    1

    A map of your app's screens and features in docs/wiki that marks pages stale when the code they describe changes.

    Free

    1 useSecurity scanned
    Project Wiki: Codebase Map That Flags Stale Docs

    Project Wiki: Codebase Map That Flags Stale Docs

    Example session with this skill installed

    Run a wiki init for this admin app: map the screens so you stop rebuilding components we already have.

    • Read your context and instructions
    • Compiled the project wiki
    • Generated the UI component

    Draft wiki (confirmed by the user before writing)

    KindSlugRouteMain file
    screenorder-list/admin/orderssrc/pages/OrderList.tsx
    screenorder-detail/admin/orders/:idsrc/pages/OrderDetail.tsx
    featureorder-cancelorder-list → order-detail—

    3 pages written to docs/wiki/, then stamped and indexed:

    $ node scripts/wiki.js stamp --all
    {"stamped":[{"slug":"order-detail","source_hash":"e4b2d9a1f8a8860c"},{"slug":"order-list","source_hash":"4b83b26c272d8ca2"},{"slug":"order-cancel","source_hash":"b5ee63feb45ffaed"}],"stamped_at":"2026-11-29T01:15:56.951Z"}
    $ node scripts/wiki.js check --strict
    ok        screen  order-detail
    ok        screen  order-list
    ok        feature order-cancel
    wiki: 0 invalid, 0 broken, 0 unstamped, 0 stale, 3 ok
    

    Later: someone edits OrderDetail.tsx

    $ node scripts/wiki.js check
    stale     screen  order-detail  — source files changed since the last stamp
    ok        screen  order-list
    stale     feature order-cancel  — its files or its screens' files changed since the last stamp
    wiki: 0 invalid, 0 broken, 0 unstamped, 2 stale, 1 ok
    
    $ node scripts/wiki.js find cancel
    stale     screen  order-detail  docs/wiki/screens/order-detail.md  (apis, states)
    stale     feature order-cancel  docs/wiki/features/order-cancel.md  (slug, title, apis)
    

    Next steps

    • Run /wiki update order-detail: the agent re-reads the listed files, fixes the page and stamps it again.
    • Before building a new screen, the agent runs find first and reuses ConfirmModal and StatusBadge instead of writing new ones.

    OrderList.tsx

    TSX · React component

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Coding agents grep the whole repo to find a screen that already exists, then rebuild a component that was already there. Hand-written docs would help, but they drift and nobody notices.

    Project Wiki keeps one short page per screen and per cross-screen feature in docs/wiki/, and a bundled script records a hash of the source files each page describes. When the code changes, the page turns stale instead of silently lying.

    What you get

    • One page per screen: route, files, components, APIs, UI states and links to other screens.
    • One page per feature: user flows that span several screens (e.g. order cancel across list and detail).
    • check: every page is ok, stale (its files changed), broken (a listed file or linked page is gone), unstamped or invalid.
    • find <term>: searches slugs, routes, files, components, APIs and states, and shows each hit's status, so the agent only trusts pages that still match the code.
    • index: a generated docs/wiki/index.md table of every screen and feature.

    What to ask your agent

    • "wiki init": finds your routes, shows a draft list of pages for your OK, then writes and stamps them.
    • "wiki update [slug…]": refreshes stale or broken pages after the agent re-reads the code.
    • "wiki check": status of every page.

    Why it is safe to install

    • Node.js 18+ only, no dependencies.
    • No network calls. The script writes only .md files inside docs/wiki/ and refuses files outside the project.
    • Page text is treated as data, never as instructions to the agent.

    Good fit

    • Web apps with many screens (admin panels, dashboards, SaaS front ends).
    • Teams or solo builders who let an agent work on the same codebase across many sessions.

    Requires Node.js 18+. Staleness covers only the files listed in each page's frontmatter: a new file that now belongs to a screen is not detected until you add it to the page. The agent writes the pages, so first-run quality depends on it reading the code (the skill tells it to read every listed file and to show you the draft list before writing).

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    1 use

    Times used to date

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 6 days ago

    • Free with an Agensi account

    Software
    Node.js

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    docs/wiki/**

    No network access. The bundled script writes only .md files inside docs/wiki/ and refuses paths outside the project.

    Listed6 days ago

    What's inside

    Frequently Asked Questions

    Each page records a hash of the source files it describes. `wiki.js check` compares those hashes with the current files, so a page whose code changed shows up as `stale` instead of being trusted silently.

    Any project with screens or routes: router files, `pages/` or `app/` directories, server route tables or HTML entry points. The script itself only reads the files listed on each page and needs Node.js 18+.

    No. The wiki is plain Markdown in your repository (`docs/wiki/`), and the script makes no network calls.

    `ok` (matches its files), `stale` (a listed file changed since the last stamp), `broken` (a listed file or linked page is missing), `unstamped` (never stamped) and `invalid` (frontmatter breaks the format).

    No. The script writes only `.md` files inside `docs/wiki/` and refuses paths outside the project. Pages are written after you confirm the draft list.

    New in Technical Documentation

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Technical Documentation.

    Free