agentsclimarketplace

Docstruct

Skill aetox-skills/docstruct

AI documentation architecture skill for clear, non-duplicated, source-of-truth driven, token-efficient project documentation.

Install
npx -y skills add aetox-skills/docstruct

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Documentation architecture discipline for AI agents. Use when creating, updating, auditing, or organizing software project documentation so docs stay clear, non-duplicated, source-of-truth driven, and token-efficient.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

3.8 KB, as published. Nobody here has run it

DocStruct

Purpose

Use DocStruct to create, update, audit, and organize project documentation without duplicate Markdown files, unclear ownership, unnecessary length, or token waste.

When To Use

Use this skill when the task involves:

  • initializing project documentation
  • auditing existing docs
  • deciding where documentation belongs
  • reducing duplicated docs
  • documenting APIs, features, architecture, or handoff state
  • preparing docs so humans and agents can continue work safely

When Not To Use

Do not use DocStruct when:

  • a short README update is enough
  • the user asks for marketing copy, a website, or a full docs platform
  • legal, compliance, or regulated docs require a formal external standard
  • the project already has a clear maintained documentation system

Core Rules

  • Read existing docs and nearby source files before writing.
  • Update existing docs before creating new files.
  • Create a file only when it has a clear responsibility.
  • Keep one source of truth for each durable fact.
  • Link instead of copying repeated details.
  • Keep docs short by default; expand only when complexity requires it.
  • Mark uncertain information as UNKNOWN.
  • Mark required work as TODO.
  • Do not invent missing implementation details.
  • Remove or shorten documentation that does not help future work.

Decision Flow

Before writing:

  1. Find existing docs and README files.
  2. Decide whether the information is useful for future work.
  3. If a responsible file exists, update it.
  4. If content is duplicated, keep the best source and replace copies with links.
  5. If no responsible file exists, create the smallest useful document.
  6. If information is uncertain, write UNKNOWN and state what to verify.

For more detail, read references/decision-flow.md.

Single Source of Truth

Put each type of information in its responsible place:

  • API behavior belongs in API docs.
  • Database behavior belongs in database docs.
  • UI behavior belongs in frontend docs.
  • Deployment behavior belongs in deployment docs.
  • Cross-system behavior belongs in architecture or integration docs.

Other files may link to the responsible source. Do not copy the same details into multiple files.

Output Style

Write direct, compact Markdown. Prefer short sections, bullet lists, explicit status, and links to related files. Avoid decorative prose, long theory, placeholder files, and repeated background context.

Status Labels

Use status labels to make continuation safe:

  • Current State: what exists now
  • Implementation: implemented, partial, planned, or unknown
  • Dependency: required related file, system, or decision
  • Done: confirmed completed work
  • Not Done: known remaining work
  • TODO: action required
  • UNKNOWN: must be verified

For label guidance, read references/status-labels.md.

Minimal Template

# Title

## Purpose

## Status

- Current State:
- Implementation:
- Dependency:

## Notes

- ...

## Done

- [ ] ...

## Not Done

- [ ] ...

## Related Files

- `...`

## Notes for Agent

- ...

References

  • references/decision-flow.md: detailed documentation placement flow
  • references/status-labels.md: status labels and examples
  • references/docstruct-principles.md: concise DocStruct principles
  • templates/: reusable Markdown templates
  • prompts/: ready-to-use initialization and audit prompts
  • adapters/: Cursor and AGENTS.md examples

Final Instruction

The best documentation is the smallest structure that preserves clarity, ownership, and continuity.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.