← ClaudeAtlas

devtrail-newlisted

Create DevTrail documentation. Analyzes context to suggest document type or accepts explicit type parameter. Always confirms before creating.
Technophile522/devtrail · ★ 0 · AI & Automation · score 62
Install: claude install-skill Technophile522/devtrail
# DevTrail New Skill Create DevTrail documentation based on recent changes. ## Instructions When invoked, follow these steps: ### 1. Check for Parameters If the user specified a document type (e.g., `/devtrail-new ailog`), skip to step 4 using that type. Valid types: `ailog`, `aidec`, `adr`, `eth`, `req`, `tes`, `inc`, `tde` ### 2. Analyze Context Gather information about recent changes: ```bash # Get current date date +%Y-%m-%d # Get modified files (staged and unstaged) git status --porcelain # Get recent changes summary git diff --stat HEAD~1 2>/dev/null || git diff --stat # Count lines changed git diff --numstat HEAD~1 2>/dev/null || git diff --numstat ``` ### 3. Classify and Suggest Type Based on the analysis, suggest a document type: | Pattern | Suggested Type | |---------|---------------| | New code in `src/`, `lib/`, `app/` (>10 lines) | AILOG | | Multiple implementation alternatives discussed | AIDEC | | Structural/architectural changes, new modules | ADR | | Files with `auth`, `user`, `privacy`, `gdpr` | ETH (draft) | | Test files (`*.test.*`, `*.spec.*`) | TES | | Bug fixes, hotfixes | INC | | `TODO`, `FIXME`, `HACK` comments added | TDE | | Requirements or spec files | REQ | ### 4. Confirm with User **Always display this confirmation before creating:** ``` ╔══════════════════════════════════════════════════════════════════╗ ║ DevTrail New ║ ╠═══════════════════════════════════════════════════════