This guide provides comprehensive documentation about the AI integration capabilities in the system-tests repository, with a focus on Cursor AI and the .cursor rules structure. The AI tools are designed to enhance developer productivity when implementing tests, troubleshooting issues, and working with complex testing scenarios.
The .cursor folder contains the AI configuration and rules that make the system-tests repository AI-ready. Here's the complete structure:
.cursor/
βββ rules/ # AI rules directory
βββ aws-ssi-testing.mdc # AWS SSI (Single Step Instrumentation) testing rules
βββ code-format-standards.mdc # Code formatting and quality standards
βββ end-to-end-testing.mdc # End-to-end testing scenarios rules
βββ fine-tuning-guidance.mdc # General fine-tuning and guidance rules
βββ general-behavior.mdc # General AI behavior and communication rules
βββ java-endpoint-prompt.mdc # Specialized Java endpoint development rules
βββ k8s-ssi.mdc # Kubernetes SSI testing rules
βββ repository-structure.mdc # Repository structure and navigation rules
βββ system-tests-overview.mdc # High-level system-tests overview rules
βββ test-activation.mdc # Test activation and deactivation rules
general-behavior.mdc: Defines communication style, documentation referencing, and basic AI behaviorfine-tuning-guidance.mdc: Core guidance for interpreting documentation, file references, and repository navigationsystem-tests-overview.mdc: Fundamental understanding of what system-tests is and main conceptsrepository-structure.mdc: Detailed repository structure with comments for each folder
aws-ssi-testing.mdc: Comprehensive rules for AWS Single Step Instrumentation testingend-to-end-testing.mdc: End-to-end testing scenarios, weblogs, and test implementationk8s-ssi.mdc: Kubernetes library injection testing rulestest-activation.mdc: Rules for enabling/disabling tests using manifests and decoratorscode-format-standards.mdc: Code quality standards for shell, Python, and YAML
java-endpoint-prompt.mdc: Comprehensive Java weblog endpoint development specialist
Cursor AI automatically loads all rules marked with alwaysApply: true. No additional setup is required for basic functionality.
These rules are automatically loaded when you start Cursor:
---
description:
globs:
alwaysApply: true
---These specialized rules require explicit activation:
---
description: "Specialized Java endpoint development"
globs: ["**/*.java"]
alwaysApply: false
---π See: Cursor AI Practical Examples