pageel/para-workspace/docs

Claude Code and agent skill by pageel/para-workspace

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Sidecar data for /docs workflow — document templates loaded just-in-time when generating docs.

Install

npx vskill@latest install pageel/para-workspace/docs

SKILL.md

Skill: Docs Templates

Sidecar Skill for the /docs workflow. Contains document templates
that the Agent loads only when generating documentation (Step 6).
Pattern: Workflow = Logic → Sidecar Skill = Data Router.

When to Load

  • /docs new → Step 6 (Generate Documentation): load relevant template from references/
  • /docs review → NOT needed
  • /docs update → NOT needed
  • /docs publish → NOT needed

References

FileWhenPurpose
references/architecture.mdProject type = anySystem overview & component diagram
references/cli.mdProject type = CLI ToolCommand reference and usage
references/deployment.mdProject type = Web App, WebsitePrerequisites, build, deploy, env vars
references/changelog.mdNo existing changelogVersion history template
references/strategy.mdStrategy creation (Step 3.5)Vision, decisions, roadmap alignment
Convention: Data files live in references/ (not templates/).

Frontmatter Order Convention

All documentation Markdown files in the docs/ directory SHOULD include YAML Frontmatter at the beginning of the file to declare metadata, particularly the display order.

yaml
---
title: "Document Display Title"
order: 1
---
Guidelines:
  1. Value Range: Use positive numbers for order.
  2. Sequential Pattern: Use sequential order numbers starting from 1 (e.g., 1, 2, 3, 4...). The rendered output will display these exact numbers, maintaining consistency between metadata and the UI.
  3. Folders Sorting: Root-level directories are automatically sorted based on their occurrence order in the README.md index file. Child files within directories are sorted by their order Frontmatter field. If the order is missing, files fallback to alphabetical sorting. Special files like README.md and changelog.md (case-insensitive) are automatically excluded from displaying number prefixes.

Graph-Awareness

When generating documentation that covers code architecture or features:

🔍 If project has .beads/graph/, read para-graph §3.3.2 for the graph-enhanced
documentation pipeline (build → enrich → context bundle per doc).
If no graph → proceed with source-only doc writing.

Docs Freshness Rule

⛔ Stale docs are worse than no docs — they mislead.
When Agent modifies code that changes a public interface, it MUST update
the corresponding documentation in the same session.
Trigger Conditions

Agent MUST check for docs staleness when ANY of these changes occur:

Change TypeDocs to UpdateExample
API endpoint added/changeddocs/api/ or inline JSDocNew route /api/webhook/sepay
DB schema modified (Drizzle/Prisma)docs/architecture.md or schema docsAdded payments table
Config format changedREADME.md setup section, env.example.txtNew env var SEPAY_API_KEY
CLI command added/changeddocs/cli.mdNew flag --backup
Public function signature changedInline JSDoc + architecture docsgetDb() → getDb(platform?)
Enforcement Protocol
  1. Detect: After completing a code change, scan docs/ for files referencing the modified entity.
  2. Update: Modify the docs to reflect the new behavior. Keep changes minimal and factual.
  3. Log: Add a note in sprint-current.md if docs update is deferred (with reason).
Anti-Pattern
"I'll update docs later" — Agent MUST NOT defer docs updates to a separate task
unless the user explicitly requests it. Docs drift is the #1 cause of onboarding
confusion in OSS projects.

Source Verification Protocol

⛔ Anti-Hallucination Guard (v1.8.6): Every generated doc MUST pass source
verification before it is considered complete. This is enforced in workflow Step 10.2.
Guard Header Template

Every document file MUST include this HTML comment after the title:

markdown
# [Document Title]
<!-- ⚠️ SOURCE-VERIFIED — Cross-referenced with [file1.ts, file2.ts, ...] on YYYY-MM-DD -->

The guard header serves as:

  1. Defense against attention decay — Agent re-reads this header before editing and knows which files to re-verify.
  2. Audit trail — Reviewers can trace which source files were checked and when.
  3. Freshness signal — If source files change significantly after the date, docs may need re-verification.
State Verification Rules
ScenarioDocumentation Requirement
Config declared + Code uses itDocument as active feature (normal)
Config declared + No code uses itMark: [Planned — Not yet implemented in source]
Code uses it + No explicit configDocument as runtime-derived or hardcoded
Feature removed from code but still in docsRemove or update — stale docs are harmful
Verification Checklist (per doc)
#CheckMethod
1All src/ paths existfind or ls on each referenced path
2All function names match actual exportsgrep "export.*functionName" in source
3All env vars exist in config or codegrep in wrangler.jsonc + source files
4No feature described as "active" without codegrep binding name in src/ — zero results = [Planned]

Unified CSA Documentation Gating (Tier 2)

🛡️ Traceability Guard (v1.9.0): The legacy graph-node comment tags (<!-- @graph-node: nodeId -->) and the graph_link_docs tool are deprecated and disabled (since v0.17.4). Documentation files in the docs/ directory are now integrated directly into the Unified CSA (Tier 2) Gating framework.
Binding Protocols

To establish traceability between code, specifications, and documentation, choose one of the following methods:

MethodSyntax in Doc FileSyntax in Code FileUse Case
Spec-to-Doc Inheritance<span data-csa-inherits="csa-spec-id"></span>// @para-doc [#csa-spec-id]When the document section explains a business requirement defined in a Spec.
Doc-Specific Binding<span id="csa-doc-anchor"></span>// @para-doc [docs/path.md#csa-doc-anchor]When documenting a technical component or API not covered by a Spec.
Verification Workflow
  1. Write or update document content.
  2. Insert the appropriate <span data-csa-inherits="..."></span> or <span id="..."></span> anchors on the headings.
  3. If using Doc-Specific Binding, add the corresponding // @para-doc comment to the source code entity.
  4. Run para-graph build [project-name] to update the graph database.
  5. Run npx para-graph audit csa --project . to verify compliance.
Engine Behavior: The AST parser automatically resolves these relationships during build. No manual link command or secondary linking tool is required.

Index Statistics Convention

When /docs update --graph runs, Agent MUST update the ## Graph Traceability section in docs/README.md.

Required Metrics
MetricSourceDescription
Total docsIndex table row countFiles listed in all section tables
Docs with graph anchorsgrep "<!-- @graph-node" in docs/Files containing anchor comments
Graph nodes with docAnchorsgraph_query resultsNodes with non-empty docAnchors array
Stale docsstaleSince field on linked nodesCode changed but docs not updated
Staleness Detection

A document is considered stale when:

  1. It has <!-- @graph-node: X --> anchors
  2. Node X has staleSince set (code signature changed after last enrichment)
  3. The doc's "last reviewed" date is earlier than staleSince

Agent SHOULD list stale documents in the ### Stale Documents sub-table within the Graph Traceability section.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
49
Repository forks
18
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/pageel/para-workspace/docs/badge)](https://verified-skill.com/skills/pageel/para-workspace/docs)

Something wrong with this skill or its page? Tell us.