-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
area-infrastructureBuild, CI/CD, configurationBuild, CI/CD, configurationarea-promptsAgent prompts and templatesAgent prompts and templatesarea-skillsSkills documentation and patternsSkills documentation and patternsdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestpriority:P2Normal: Standard enhancement or bug fix, moderate impactNormal: Standard enhancement or bug fix, moderate impacttechnical-debtCode or infrastructure that needs cleanup, refactoring, or optimization to reduce maintenance burdenCode or infrastructure that needs cleanup, refactoring, or optimization to reduce maintenance burden
Description
Summary
Define maximum size limits for skill prompts and add automated validation.
Problem Statement
The pr-review skill prompt has grown to 500+ lines. Large prompts:
- Consume more tokens per invocation
- Are harder for agents to process
- Become difficult to maintain
- Increase likelihood of inconsistencies
Evidence: Session 109 export analysis (commit 9b693a5)
Requirements
Size Limits
- Define maximum prompt size (proposed: 200 lines)
- Define maximum config file size (proposed: 500 lines)
- Document exceptions process for justified overages
Validation
- Add lint check for skill prompt size
- Add pre-commit hook to flag oversized prompts
- Provide actionable guidance when limit exceeded
Acceptance Criteria
- Size limits documented in skill development guide
- Lint check validates prompt size
- At least 1 oversized skill refactored to meet limit
- Pre-commit provides actionable error message
Priority
P2 - Enhancement (prevents future bloat)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-infrastructureBuild, CI/CD, configurationBuild, CI/CD, configurationarea-promptsAgent prompts and templatesAgent prompts and templatesarea-skillsSkills documentation and patternsSkills documentation and patternsdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestpriority:P2Normal: Standard enhancement or bug fix, moderate impactNormal: Standard enhancement or bug fix, moderate impacttechnical-debtCode or infrastructure that needs cleanup, refactoring, or optimization to reduce maintenance burdenCode or infrastructure that needs cleanup, refactoring, or optimization to reduce maintenance burden