@karedo-hq/agents
v0.1.3
Published
Centralized agent skills, rules, and commands for our engineering team
Maintainers
Readme
@karedo-hq/agents
Centralized agent skills, rules, and commands for our engineering team. Install shared configurations for AI-powered IDEs like Cursor, Claude Code, and more.
Installation
# Using pnpm
pnpm dlx @karedo-hq/agents install --target cursor
# Or install globally
pnpm add -g @karedo-hq/agents
agents install --target cursorUsage
Install Configurations
Install agent configurations to your current project:
agents install --target <ide>Options:
-t, --target <ide>- Target IDE (required). Currently supported:cursor-f, --force- Overwrite existing files without prompting
Examples:
# Install Cursor configurations
agents install --target cursor
# Force overwrite existing files
agents install --target cursor --forceUpdating
When rules or commands are updated, developers can get the latest version:
# Get latest from npm
pnpm dlx @karedo-hq/agents@latest install --target cursor --force
# Or directly from GitHub (always pulls latest main)
pnpm dlx github:karedo-hq/agents install --target cursor --forceThe --force flag overwrites existing files with the new versions.
Supported Targets
| Target | Description | Output Directory |
| -------- | ---------------------------------------- | ---------------- |
| cursor | Cursor IDE rules and commands | .cursor/ |
What Gets Installed
Rules
Rules provide guidelines and best practices for your codebase:
- TypeScript - General TypeScript coding standards
- API (Backend)
- Controllers, DTOs, Services
- MongoDB schemas, NestJS patterns
- Email templates, Tiptap templates
- Web (Frontend)
- Next.js guidelines, API layer patterns
- Page creation, table implementation
- Responsive dialog/drawer patterns
Commands
Commands are reusable workflows for common tasks:
- commit - Commit current work with conventional commits
- create-pr - Create a pull request with proper formatting
- deslop - Remove AI-generated code slop
- release - Automate the release process
Development
# Install dependencies
pnpm install
# Build
pnpm build
# Watch mode
pnpm dev
# Type check
pnpm typecheckAdding New Rules or Commands
- Add your rule file to
rules/(use.mdcextension for Cursor compatibility) - Add your command file to
commands/(use.mdextension) - Bump version in
package.json - Commit and push to GitHub
- Publish:
pnpm publish --access public
Adding New IDE Targets
- Create a new handler in
src/targets/<ide-name>.ts - Register it in
src/targets/index.ts - Implement the
installfunction that mapsrules/andcommands/to the IDE's expected location
License
MIT
