# Cursor Docmgr

> Use the docmgr CLI to manage ticketed docs (create tickets, add docs, relate code files with file-note, update changelog, and search). Use when the user asks how to use docmgr, wants a docmgr command sequence, or needs docmgr best practices (file-note, quoting, doctor).

- Skill: `majiayu000/cursor-docmgr` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/cursor-docmgr`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/cursor-docmgr/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/cursor-docmgr

---


# Cursor Docmgr

## Overview

Provide a reliable, copy/paste-friendly docmgr workflow for creating and maintaining structured ticket documentation.

## Quick start

### Shell safety: backticks
- Never paste markdown backticks (`` `...` ``) into your shell unquoted.
  - Preferred: remove backticks.
  - Alternative: wrap the arg in quotes.

### Core workflow (per ticket)
- Create a ticket: `docmgr ticket create-ticket --ticket TICKET --title "..." --topics a,b`
- Add a doc: `docmgr doc add --ticket TICKET --doc-type design-doc --title "..."` (or `analysis`/`reference`/`playbook`)
- Relate code files (notes required): `docmgr doc relate --ticket TICKET --file-note "/abs/path:why it matters"`
- Update changelog: `docmgr changelog update --ticket TICKET --entry "..." --file-note "/abs/path:reason"`
- Validate: `docmgr doctor --ticket TICKET`

## Search patterns
- Full-text: `docmgr doc search --query "..." [--topics ...] [--doc-type ...]`
- Reverse lookup by file: `docmgr doc search --file path/to/file.go`
- Directory lookup: `docmgr doc search --dir path/to/dir/`

## Reference
- Full workflow + conventions live in `references/docmgr.md`.

