devtrail-statuslisted
Install: claude install-skill Technophile522/devtrail
# DevTrail Status Skill
This skill checks the documentation status of the DevTrail in the current project.
## Instructions
When invoked, perform the following checks and display the results:
### 1. Find Recent DevTrail Documents
Search for DevTrail documents created or modified in the last hour:
```bash
# Get documents modified in the last hour
git log --since="1 hour ago" --name-only --pretty=format: -- ".devtrail/**/*.md" | sort -u | grep -v "^$"
```
If git is not available or the directory is not a git repo, use file modification times:
- Check `.devtrail/07-ai-audit/agent-logs/` for recent AILOG files
- Check `.devtrail/07-ai-audit/decisions/` for recent AIDEC files
- Check `.devtrail/07-ai-audit/ethical-reviews/` for recent ETH files
### 2. Find Modified Source Files
Identify source files that were modified and might need documentation:
```bash
# Get modified files (staged and unstaged)
git diff --name-only HEAD~1..HEAD 2>/dev/null || git diff --name-only
```
Filter to show only files that might need documentation:
- Exclude: `*.md`, `*.json`, `*.yml`, `*.yaml`, `*.lock`, `package-lock.json`
- Include: `*.ts`, `*.js`, `*.tsx`, `*.jsx`, `*.py`, `*.go`, `*.rs`, `*.java`, `*.cs`, `*.rb`, `*.php`
### 3. Analyze Documentation Gaps
For each modified source file, check if there's a corresponding DevTrail document:
- Files with >10 lines of changes in business logic folders should have an AILOG
- Security-related files should have documentation with `risk_level: hig