
Product
Announcing Bun and vlt Support in Socket
Bringing supply chain security to the next generation of JavaScript package managers
@clipboard-health/ai-rules
Advanced tools
Pre-built AI agent rules for consistent coding standards.
npm install --save-dev @clipboard-health/ai-rules
Choose the profile that matches your project type:
| Profile | Includes | Use For |
|---|---|---|
common | common | TypeScript libraries, generic projects |
frontend | common + frontend | React apps, web apps |
backend | common + backend | NestJS services, APIs |
fullstack | common + frontend + backend | Monorepos, fullstack apps |
Rule categories:
Add it to your package.json:
{
"scripts": {
"sync-ai-rules": "node ./node_modules/@clipboard-health/ai-rules/scripts/sync.js [PROFILE_NAME]",
"postinstall": "npm run sync-ai-rules"
}
}
Run:
npm install # Runs postinstall automatically
Commit the generated files:
git add .
git commit -m "feat: add AI coding rules"
Bonus: For repo-specific rules, create an OVERLAY.md file. The sync script appends its contents in each generated file to load the contents into AI agent context.
When we release new rules or improvements:
# Update the package
npm update @clipboard-health/ai-rules
# The postinstall script automatically copies the latest files
npm install
# Review the changes
git diff .
# Commit the updates
git add .
git commit -m "chore: update AI coding rules"
See package.json scripts for a list of commands.
FAQs
Pre-built AI agent rules for consistent coding standards.
We found that @clipboard-health/ai-rules demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.