Instruction file imported from rjmurillo/moq.analyzers (
.github/instructions/text.instructions.md). Copyright stays with the author.
Text File Instructions (Quick Reference)
- Read this file before editing any .txt file
- Cross-reference with related instruction files
- Complete the Validation Checklist before submitting
- Stop and request help if uncertain
Context Loading for Copilot
When working on this file type, you MUST:
- Read this entire instruction file before making any changes
- Cross-reference with related instruction files (listed below)
- Validate your understanding by checking the "Validation Checklist" section
- If uncertain about any requirement, stop and request clarification
Related Instruction Files:
- markdown.instructions.md - For documentation files
- project.instructions.md - For build configuration
- json.instructions.md - For configuration files
Validation Checklist
Before submitting any changes, verify:
Text Quality & Documentation:
- Text formatting is consistent
- Content is accurate and complete
- Documentation is updated
- Changes work as expected
Process:
- Conventional commit format used
- PR description includes validation evidence
- All checklist items completed
- No breaking changes introduced (or documented if necessary)
Decision Trees
When to Request Human Review
- Is this a new documentation or configuration standard? → Yes → Request expert guidance
- Is this a breaking change to documentation or configuration? → Yes → Document thoroughly and request review
- Are you uncertain about text file requirements? → Yes → Stop and request guidance
When to Stop and Ask for Help
- Uncertain about text file requirements
- Major changes to project documentation or configuration
- Security or legal implications
Common Mistakes to Avoid
DO NOT:
- Skip validation steps
- Submit changes without validation evidence
ALWAYS:
- Read the entire instruction file first
- Validate all text and documentation changes
- Include comprehensive documentation updates
- Document all changes thoroughly
Context Management
Before Starting:
- Read the complete instruction file
- Understand the current file's purpose and structure
- Identify all related files that may need updates
During Editing:
- Keep track of all changes made
- Validate each change against requirements
- Maintain consistency with existing patterns
After Completing:
- Review all changes against the validation checklist
- Ensure all requirements are met
- Prepare comprehensive PR description with evidence
Handling Uncertainty
Stop and Request Help When:
- You cannot explain your approach clearly
- You're making "educated guesses" about documentation or configuration
- You're uncertain about project documentation or configuration
- You cannot trace the logic in text file without narration
Escalation Process:
- Stop all work immediately
- Document what you were trying to accomplish
- Explain what specific aspect is unclear
- Request expert guidance with specific questions
- Do not proceed until you have clear, confident understanding
Success Criteria
Your changes are successful when:
- All text and documentation validation checks pass
- PR description is complete and accurate
- All checklist items completed
- No automated bot feedback ignored
Text File Standards
Text File Formatting Requirements
- Use consistent formatting and structure
- Follow established patterns for similar files
- Ensure proper encoding (UTF-8 recommended)
- Use descriptive file names
- Maintain consistent line endings
Text File Types in Repository
This repository contains several types of text files:
- Configuration files - Various configuration settings
- Documentation files - Plain text documentation
- Resource files - Localization and resource management
- Log files - Build and test output logs
- Banned symbols files - Code analysis configuration
Documentation Standards
Text Documentation Requirements
- Use clear, concise language
- Follow established documentation patterns
- Ensure accuracy and completeness
- Update documentation when related code changes
- Maintain consistent formatting across similar files
Documentation Format
- Use consistent structure and formatting
- Include appropriate headers and sections
- Use clear, descriptive language
- Provide examples where appropriate
- Maintain proper organization and readability
Configuration Management
Configuration File Standards
- Use consistent formatting and structure
- Follow established naming conventions
- Ensure proper validation and error handling
- Document configuration options clearly
- Maintain backward compatibility where possible
Banned Symbols Configuration
For files like BannedSymbols.txt:
- Use clear, descriptive symbol names
- Include appropriate justification for bans
- Follow established formatting patterns
- Ensure accuracy and completeness
- Update when new symbols need to be banned
Code Quality Standards
Required Checks
Before submitting a PR, ensure your changes pass all quality checks:
- Text Validation: Ensure proper formatting and structure
- Content Accuracy: Verify accuracy of information
- Formatting: Use consistent formatting
- Documentation: Update relevant documentation
- Testing: Verify text file changes work as expected
Text-Specific Requirements
- Use consistent formatting and structure
- Follow established patterns and conventions
- Ensure proper encoding and line endings
- Use descriptive content and organization
- Maintain readability and clarity
Git Commit Messages
Guidelines
- Capitalization and Punctuation: Capitalize the first word and do not end in punctuation. If using Conventional Commits, remember to use all lowercase.
- Mood: Use imperative mood in the subject line.
- Type of Commit: Specify the type of commit using conventional commit types.
- Length: The first line should ideally be no longer than 50 characters, and the body should be restricted to 72 characters.
- Content: Be direct, try to eliminate filler words and phrases.
Conventional Commits
Follow the Conventional Commits specification:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Types:
feat: New featuresfix: Bug fixesdocs: Documentation changesstyle: Code style changes (formatting, etc.)refactor: Code refactoringtest: Adding or updating testschore: Maintenance tasksci: CI/CD changesperf: Performance improvementsbuild: Build system changes
Pull Request Guidelines
PR Title and Description
Title Format:
Follow conventional commit format: type(scope): description
Description Requirements:
- Clear summary of changes
- Problem statement (what issue does this solve?)
- Solution description (how does this solve the problem?)
- Validation evidence (how was this tested?)
- Related issues (link to GitHub issues)
- Breaking changes (if any)
Required PR Checklist
Before submitting a PR, ensure:
- Text formatting is consistent
- Content is accurate and complete
- Documentation is updated
- Changes work as expected
- CI checks pass
- PR description includes validation evidence
Validation Evidence Requirements
What Constitutes Validation Evidence:
- Text validation output
- Content accuracy verification
- Formatting consistency checks
- Screenshots of successful CI runs
- Manual verification of text file changes
Evidence Format:
- Include validation logs, screenshots, or links to CI runs
- Provide clear, readable evidence
- Ensure evidence is recent and relevant
- Link to specific test results or validation output
Review Process
What Maintainers Look For
Maintainers will review PRs for:
- Content Quality: Accuracy and completeness of information
- Formatting: Consistent formatting and structure
- Documentation: Proper documentation updates
- Accuracy: Correctness of information
- Validation: Proper evidence of testing and validation
Review Timeline
- Initial review: Within 2-3 business days
- Follow-up reviews: Within 1-2 business days after changes
- Final approval: After all concerns are addressed
Common Review Feedback
Frequently Requested Changes:
- Fix formatting inconsistencies
- Improve content accuracy
- Update documentation quality
- Add missing information
- Clarify PR description or validation evidence
PRs That May Be Rejected:
- Inconsistent formatting
- Missing validation evidence
- Inaccurate or incomplete content
- Insufficient documentation updates
- Poor organization or structure
Formatting and Linting
- You must address all feedback from automated bots (e.g., text linters, formatting bots) as you would human reviewers.
- All formatting and linting issues flagged by bots or CI must be resolved before requesting review or merging.
- If you disagree with a bot's suggestion, explain why in the PR description.
- If a bot's feedback is not addressed and a human reviewer must repeat the request, the PR will be closed until all automated feedback is resolved.
Text File Best Practices
Content Guidelines
- Use clear, descriptive language
- Include appropriate examples where helpful
- Follow established content patterns
- Ensure accuracy and completeness
- Update content when related code changes
Organization Guidelines
- Use consistent structure and formatting
- Implement proper organization and hierarchy
- Maintain readability and clarity
- Use appropriate headers and sections
- Follow established naming conventions
Configuration Guidelines
- Use consistent formatting and structure
- Follow established naming conventions
- Ensure proper validation and error handling
- Document configuration options clearly
- Maintain backward compatibility where possible
Code of Conduct
This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code.