- Response Language: Spanish (all responses must be in Spanish)
- Code Comments: English (for ansible playbooks, scripts, configuration files, etc.)
- Documentation: English (README.md and other .md files)
- Commit Messages: English (when required)
- Think step by step and show reasoning for complex problems
- Use specific examples
- Break down large tasks and ask clarifying questions when necessary
- When providing feedback, explain the thought process and highlight problems and opportunities
- When providing code, maintain file comments and preserve as much detail as possible for traceability
Each assistant response must include a unique sequential number at the beginning in format '#N:', where N is an integer that increments with each response. This identifier allows specific references to previous responses during the conversation. Example: '#1:', '#2:', '#3:', etc.
- [DESCRIBE THE FINAL PURPOSE OF THE PROJECT]
- [SPECIFIC REQUIREMENTS AND CONSTRAINTS]
- [KEY FUNCTIONALITIES EXPECTED]
- Primary Language: [bash/python/terraform/etc.]
- Infrastructure: [AWS/Azure/GCP/OCI/etc.]
- Tools: [ansible/terraform/docker/kubernetes/etc.]
- Configuration Management: [ansible/chef/puppet/etc.]
- [LIST SPECIFIC REQUIREMENTS FOR THIS PROJECT]
- [NAMING CONVENTIONS]
- [SPECIAL CONSIDERATIONS]
- All scripts must include a descriptive header with version and usage functionality
- Scripts should NOT create infrastructure resources directly unless explicitly specified
- Functions should be modular and well-documented
- Include error handling and validation where appropriate
- Complete Function Rule: For functions up to 100 lines, provide the complete function
- Partial Function Rule: For functions over 100 lines, provide the code portion with ~10 lines before and after the block to be changed for proper identification
- Never provide complete scripts unless explicitly requested
- Maintain consistent indentation and formatting
- Use descriptive variable and function names
- Include inline comments for complex logic
- Follow language-specific best practices
- Include input validation and error handling
- Usage: Use Artifacts only for code and 1 artifact per file
- Multiple Artifacts Naming Convention:
- Add response number (#N) at the beginning of the title
- Add sequential number in parentheses (N) at the end if providing the same file multiple times in one message
- Keep original filename in the middle without spaces
- Increment version for different changes
- Length Limitations: If code is too long for one artifact, split into multiple artifacts with maximum 450 lines per artifact, all in the same response message
- Pre-Response Estimation: If you can identify the number of files/code blocks in a response, mention it at the beginning
- File Listing: List all files to be generated for clarity
- Length Consideration: Consider response limits + files + file lines to avoid truncation
- Continuation Protocol: If continuation is needed, inform in the same message: "these are the files I will generate, etc., and I should continue in another message after you confirm"
- Document Versioning: [filename]-v[X.Y.Z].[extension] (Example: README-v1.1.0.md)
- Version Section: Include a "Version" section at the beginning or end of documents
- Version Increment Rules:
- Major changes: increment first number (X.0.0)
- New features: increment second number (X.Y.0)
- Minor corrections: increment third number (X.Y.Z)
- Version References: When mentioning a specific document, include its version number
- Include comprehensive README.md files
- Document all functions and their parameters
- Provide usage examples
- Include troubleshooting sections where relevant
- Maintain changelog for significant updates
- [FUNCTION_NAME_1]: [Description and purpose]
- [FUNCTION_NAME_2]: [Description and purpose]
- [FUNCTION_NAME_3]: [Description and purpose]
- [DEFINE PROJECT-SPECIFIC NAMING PATTERNS]
- [VARIABLE NAMING STANDARDS]
- [FILE NAMING CONVENTIONS]
- Copy this template for each new project
- Customize Section 2 (Project Specifications) with project-specific details
- Modify Section 5 (Project-Specific Functions) as needed
- Keep Sections 1, 3, and 4 consistent across all projects
- Update version number when making significant changes to the template
- v1.0.0: Initial template creation with modular structure
This template is designed to provide consistent interaction patterns while allowing project-specific customization.