@docyt/panda-cli
v0.4.0
Published
CLI tool for installing and managing Docyt Team Panda development tools (Cursor commands, skills, rules)
Maintainers
Readme
Docyt Panda CLI
A CLI tool for installing and managing Docyt Team Panda development tools, including Cursor commands, skills, and rules.
Quick Start
Install Globally (Recommended)
npm install -g @docyt/panda-cliNow you can run panda-cli from anywhere!
Usage
# Go to your project
cd ~/Project/docyt/bb
# Install to current directory
panda-cli installThat's it! The command will be installed to .cursor/commands/ in your current directory.
Installation Location
Files are installed to your current directory (or specified path):
- Commands:
[current-dir]/.cursor/commands/ - Skills:
[current-dir]/.cursor/skills/ - Rules:
[current-dir]/.cursor/rules/ - Manifest:
[current-dir]/.cursor/.panda-cli-manifest.json
Example: If you run from /Users/sheng/Project/docyt/bb:
/Users/sheng/Project/docyt/bb/.cursor/commands/panda-oncall-state.mdCommands
install - Install Tools
# Install to current directory
panda-cli install
# Install to specific directory
panda-cli install /path/to/project
# Install only commands
panda-cli install --commands
# Install only skills
panda-cli install --skills
# Install only rules
panda-cli install --rules
# Install everything (default)
panda-cli install --alllist - List Tools
List all installed and available tools.
panda-cli listupgrade - Upgrade Tools
Upgrade installed tools to the latest version.
# Preview changes without installing
panda-cli upgrade --preview
# Upgrade (will prompt for local changes)
panda-cli upgrade
# Force upgrade (overwrite all local changes)
panda-cli upgrade --forcediff - Show Differences
Show differences between your local version and the latest available.
panda-cli diffWhat Gets Installed
Cursor Commands
Currently includes:
panda-oncall-state.md- Scan Slack channels for Team Panda on-call issues and Rollbar errors, post comprehensive report to #panda-oncallpanda-explain-feature.md- Investigate and explain Docyt business features with code-backed accuracypanda-fix-rollbar.md- NEW - Investigate Rollbar error, create Jira ticket with AI-generated implementation plan
More commands will be added over time.
Cursor Skills
Coming soon...
Cursor Rules
Coming soon...
How It Works
- Simple Detection: Uses current directory (or specified path)
- Installation: Copies files from the CLI package to your workspace
- Tracking: Creates a manifest file (
.cursor/.panda-cli-manifest.json) to track versions - Smart Upgrades: Detects local changes and prompts before overwriting
Manifest File
The CLI creates a manifest file at .cursor/.panda-cli-manifest.json to track:
- Installed version
- Installation/upgrade timestamps
- List of installed assets
- Local customizations
Example manifest:
{
"version": "0.1.1",
"installed": "2026-02-01T08:00:00Z",
"assets": {
"commands": ["docyt-panda-oncall-issues.md"],
"skills": [],
"rules": []
},
"customizations": {}
}Alternative: Use with npx (No Install)
You can also use the CLI without installing globally:
# Install to current directory
npx @docyt/panda-cli install
# List tools
npx @docyt/panda-cli list
# Upgrade
npx @docyt/panda-cli upgradeNote: npx runs slower than global install because it downloads each time.
Development
Local Development
# Install dependencies
cd docyt-panda-oncall-cli
npm install
# Make CLI available globally for testing
npm link
# Now you can run it from anywhere
panda-cli listPublishing Updates
# Bump version
npm version patch # or minor, major
# Publish to npm
npm publish --access publicAdding New Assets
- Add files to
assets/commands/,assets/skills/, orassets/rules/ - Bump the version in
package.json - Publish to npm
- Users run
panda-cli upgradeto get updates
Requirements
- Node.js >= 14.0.0
License
ISC
Support
For issues or questions, contact Team Panda.
