From dk
Show detailed information about a registered project — git status, dependencies, file counts. Use when the user says 'project info', 'project details', or 'tell me about <project>'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dk:infoThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Source the helpers:
Source the helpers:
source "${CLAUDE_PLUGIN_ROOT}/scripts/dk-helpers.sh"
Verify workspace exists. If no argument, list projects and ask user to select.
Validate the project exists in workspace.yaml using dk_project_field.
Read registry data: Use dk_project_field to get: path, type, enabled, and read the packages, git.url, git.default_branch, meta.description, meta.scope fields from the project block.
Gather live git data — run these Bash commands (batch them in parallel where possible):
git -C <abs_path> branch --show-current 2>/dev/null || echo "detached"
git -C <abs_path> status --porcelain 2>/dev/null | wc -l | tr -d ' '
git -C <abs_path> log --oneline -5 2>/dev/null
git -C <abs_path> rev-list --left-right --count HEAD...@{upstream} 2>/dev/null || echo "0 0"
git -C <abs_path> log -1 --format='%cr' 2>/dev/null || echo "unknown"
Package info (node projects): Read package.json for version. Search dependencies and devDependencies for any workspace:* references — these are workspace dependencies.
File counts: Count source and test files based on project type:
*.ts, *.tsx, *.js, *.jsx (excluding node_modules, dist)*.go (excluding *_test.go for source, *_test.go for tests)*.py (excluding test_* for source)*.rs (excluding target/)Display info card:
┌─────────────────────────────────────────┐
│ olam │
└─────────────────────────────────────────┘
Path: ./olam
Type: node
Version: 0.1.0
Enabled: true
Description: World lifecycle manager
Packages (5):
- core
- adapters
- mcp-server
- cloudflare
- control-plane
Git:
Remote: [email protected]:idl3/olam.git
Branch: main
Status: clean
Sync: up to date
Last commit: 2 hours ago
Recent commits:
abc1234 feat: add streaming support
def5678 fix: connection pool timeout
...
Workspace deps:
- @idl3/aether-types
Files:
Source: 142
Tests: 38
If the project directory doesn't exist on disk, show a warning and display only registry data.
npx claudepluginhub pleri/diakon --plugin dkProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.