feat: always-on ELI16 + branch detection in preamble

- Add _BRANCH detection to preamble bash block (git branch --show-current)
- Merge ELI16 rules into default AskUserQuestion format (always-on)
- Remove _SESSIONS >= 3 conditional — better questions always
- Add simplification rules: plain English, no jargon, no raw function names
- Update tests for branch detection and simplification regression guard
This commit is contained in:
Garry Tan
2026-03-16 12:21:58 -05:00
parent 78e519e3b7
commit 17a96b096a
13 changed files with 90 additions and 57 deletions
+1 -1
View File
@@ -491,7 +491,7 @@ describe('v0.4.1 preamble features', () => {
test(`${skill} contains session awareness`, () => {
const content = fs.readFileSync(path.join(ROOT, skill), 'utf-8');
expect(content).toContain('_SESSIONS');
expect(content).toContain('ELI16');
expect(content).toContain('RECOMMENDATION');
});
}
});