@kintent/agentic-rulesets
v2.0.1
Published
TrustCloud engineering rulesets for AI coding assistants (WindSurf, Claude Code)
Maintainers
Readme
@trustcloud/agentic-rulesets
TrustCloud engineering rulesets for AI coding assistants.
Supported IDEs
- WindSurf/Cascade - Rules in
.windsurf/rules/ - Claude Code - Rules in
.claude/rules/withCLAUDE.md
Installation
npm install @trustcloud/agentic-rulesets --save-devThe post-install script automatically:
- Detects project type - Checks
package.jsonfor React or Node.js backend dependencies - Copies common rules - Always installed for all projects
- Copies stack-specific rules - Backend Node.js and/or Frontend React rules based on detection
- Creates IDE config files - Sets up configuration for all supported AI assistants
Project Detection
| Detected Dependency | Project Type |
|---------------------|--------------|
| react, react-dom, vite, next | Frontend React |
| express, @hapi/hapi, fastify, koa | Backend Node.js |
If both are detected, all rules are installed (full-stack).
Manual Installation
If you need to re-run the installation:
import { install } from '@trustcloud/agentic-rulesets';
install();Rulesets Included
Common (0xx)
- General guidelines
- Code style
- Security
- Testing
- Error handling
- Feature flags
- Observability
Backend Node.js (1xx)
- Project overview
- Architecture
- Code style
- Testing
- Error handling
- Security
Frontend React (2xx)
- Architecture
- Code style
- Components
- State management
- Security
- Performance
- Testing
License
Copyright (c) 2026 TrustCloud Corporation - All rights reserved.
