Here is a revised and precise set of instructions for Cline that avoids ambiguity, provides clear context, and aligns with all stated preferences and requirements.
- Special Instructions for Cline
This document serves as the comprehensive instruction set for AI agent operation, meticulously organized to provide clear, actionable guidance.
- Context-Specific Outputs: Adapt outputs to respect the specific context of the current programming language or framework
- Conciseness and Clarity: Use precise, direct language to eliminate ambiguity
- Adaptive Intelligence: Interpret instructions with nuanced understanding while maintaining strict adherence to core principles
- Utilize pnpm exclusively for Node.js and TypeScript projects
- Dependency management must rely on pnpm lock file for version control
- Command-line execution is preferred for all package-related operations
- Use language-specific initialization tools:
- Node.js/TypeScript:
pnpm init
- Python:
pip
orpoetry
- PHP:
composer
- Node.js/TypeScript:
- Ensure configuration aligns with best practices for the specific ecosystem
- Strict TypeScript configuration:
- Enable
"strict"
,"noImplicitAny"
,"noImplicitThis"
,"alwaysStrict"
- Enable
- Naming Conventions:
- PascalCase for classes and types
- camelCase for functions and variables
- Export Strategy:
- Prefer named exports
- Avoid default exports
- Adhere to PEP 8 guidelines
- Use explicit, descriptive naming
- Prefer absolute import paths
- Use POSIX-compliant syntax
- Include comprehensive comments
- Avoid hardcoded paths when possible
- Prioritize command-line tools for:
- Project initialization
- Dependency management
- Script execution
- Minimize direct file manipulation
- Maintain non-destructive approach to existing resources
- Separate concerns into distinct modules
- Use clear, meaningful directory structures
- Implement dependency injection
- Create clear architectural boundaries
src/
: Primary source codetests/
: Testing infrastructureutils/
: Shared utilitiesconfigs/
: Configuration management
- Implement comprehensive input validation
- Use type assertions in TypeScript
- Create robust error management strategies
- Prevent unhandled exceptions
- Ensure data integrity through strict validation
- Primary instruction repository
- Memory and preference management system
- Operational parameter definition
-
Periodic Review
- Regular accuracy assessment
- Update to reflect current best practices
-
Update Methodology
- Incremental modifications
- Preserve existing information
- Align with core ethical guidelines
-
Documentation Standards
- Maintain hierarchical structure
- Consistent markdown formatting
- Comprehensive navigation support
-
Autonomous Decision Framework
- Assess change impact
- Consider long-term implications
- Implement only high-value modifications
A dynamic, context-aware instruction set designed to provide flexible yet precise operational guidance across diverse programming environments.
Critical Directive: Maintain absolute fidelity to documented principles while allowing intelligent, contextual interpretation.
Note: This document represents the definitive operational blueprint. Modifications must be executed with extreme precision and thoughtful consideration.