AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Tracedocs

skill-wxggzz-tracedocs-tracedocs · by wxggzz

Generate evidence-grounded, source-cited Markdown study docs and an AI-ready index.json from a codebase, including operation, deployment, learning, architecture, code introduction, troubleshooting, and maintenance manuals.

No reviews yet
0 installs
32 views
0.0% view→install

Install

$ agentstack add skill-wxggzz-tracedocs-tracedocs

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-wxggzz-tracedocs-tracedocs)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Tracedocs? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

tracedocs

Turn any codebase into an evidence-grounded Markdown documentation package for learning, operating, deploying, and maintaining the project. Every operational claim should cite source evidence, carry a confidence label, or be stated as unknown.

When To Use

Use this workflow when the user asks to:

  • generate Markdown documentation from a project
  • create onboarding docs for a codebase
  • explain a project as operation, deployment, study, and architecture manuals
  • prepare docs for future AI-agent handoff
  • turn a repo into a maintainable study guide
  • create an AI-ready index.json manifest for generated docs

If the user provides a GitHub URL, clone it into a temporary directory first. If the user says "this project" or gives no path, use the current working directory.

Output Contract

Write generated documents into:

study-docs/

The default output files are:

study-docs/
  README.md
  index.json                       # machine-readable manifest (always write this)
  00-project-overview.md
  01-quickstart.md
  02-operation-manual.md
  03-deployment-manual.md
  04-learning-manual.md
  05-code-introduction.md
  06-architecture.md
  07-api-and-integrations.md
  08-data-model.md
  09-troubleshooting.md
  10-maintenance-and-contribution.md
  assets/
  _evidence/
    source-map.md
    assumptions.md
    generation-log.md

Skip files that clearly do not apply, but explain the omission in _evidence/assumptions.md.

AI-ready manifest: index.json

Always write study-docs/index.json — a structured map so AI agents (and future automation) can consume the package without parsing prose. Keep it small and factual; do not invent fields. Minimum shape:

{
  "schema": "1",
  "name": "",
  "generated_at": "",
  "source": "",
  "documents": [{ "file": "00-project-overview.md", "title": "Project Overview", "audience": "maintainers" }],
  "commands": { "install": "...", "run": "...", "test": "..." },
  "env_var_names": ["DATABASE_URL"],
  "confidence": { "verified": 0, "inferred": 0, "unknown": 0, "needs_confirmation": 0 },
  "unknowns": ["No deployment config found in the repo."],
  "evidence_files": ["_evidence/source-map.md", "_evidence/assumptions.md", "_evidence/generation-log.md"],
  "routes": [],
  "entities": []
}

routes and entities are optional — include them only when the project exposes an API or defines data models.

Optional: index.html preview

You may also emit a single self-contained study-docs/index.html for browsing and screenshots. It must be derived only from the docs (no new facts), be a single file with no build step and no JS framework, link back to the Markdown and _evidence/ files, and be labelled a preview. The Markdown remains the source of truth. See examples/study-docs/index.html for the reference. Skip it if you cannot keep it tiny and faithful.

Phase 1: Analyze The Codebase

Read enough of the project to understand:

  • product purpose and user workflows
  • tech stack and runtime
  • source layout and important entry points
  • package managers, scripts, build tools, and deployment hooks
  • APIs, integrations, databases, queues, background jobs, and auth
  • tests and quality checks
  • environment variables and secrets shape, without exposing secret values
  • operational failure modes and debugging commands

Prefer factual extraction over invention. If a claim is inferred, mark it as inferred.

Use references/analysis-checklist.md.

Phase 2: Create A Source Map

Before writing final docs, create:

study-docs/_evidence/source-map.md
study-docs/_evidence/assumptions.md
study-docs/_evidence/generation-log.md

The source map should connect claims to files, scripts, configs, and tests. The assumptions file should separate:

  • verified facts
  • reasonable inferences
  • unknowns
  • things the user should confirm

Phase 3: Generate Markdown Manuals

Use the templates in references/templates/, adapting them to the target project.

Each document should be useful on its own, but the package should also work as a linear learning path:

  1. overview
  2. quickstart
  3. operation
  4. deployment
  5. learning
  6. code walkthrough
  7. architecture
  8. APIs and integrations
  9. data model
  10. troubleshooting
  11. maintenance

Use Mermaid diagrams for architecture, request flow, state flow, or deployment topology when useful.

Phase 4: Quality Check

Before finishing:

  • Verify that command examples match actual scripts or explain if inferred.
  • Confirm file paths exist.
  • Avoid documenting files that are not present.
  • Mark unverified deployment details as assumptions.
  • Ensure every document has a clear audience and practical next step.
  • Keep the Markdown readable in GitHub without custom styling.

Quality Bar: Match These Examples

The single rule that makes this skill trustworthy: state evidence and confidence, and never invent what you cannot source. Match the style below.

Evidence lines

Good — sourced and labelled:

Start the dev server with `npm run dev`.
Evidence: package.json `scripts.dev`
Confidence: Verified

Bad — an unsourced assertion:

Start the dev server with `npm run dev`. The app runs on port 3000.

(Why it's bad: the command isn't tied to a file, and the port is asserted with no evidence. If the port comes from .env.example, cite it; otherwise mark it Unknown.)

Deployment when nothing is documented

Good — refuses to invent, records the gap:

## Deployment Summary
No deployment configuration was found in this repository (no Dockerfile, CI
workflow, or hosting config). Deployment steps are therefore unknown.
Confidence: Unknown — recorded in `_evidence/assumptions.md`.

Bad — hallucinated steps:

## Deployment Steps
1. Push to main; CI builds a Docker image and deploys to AWS ECS.
2. Run database migrations on the production cluster.

(Why it's bad: there is no Docker/CI/AWS evidence in the repo. Inventing a plausible pipeline is the exact failure this skill exists to prevent.)

Gold standard

Treat [examples/study-docs/](examples/study-docs/) as the reference output to match — note how it cites sources, labels confidence, lists fields/routes with their source files, and states "not applicable / not found" honestly for sections that don't apply.

Tone

Write as a senior engineer onboarding a capable teammate. Be clear, concrete, and friendly. Explain jargon the first time it appears, but do not talk down to the reader.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.