@dzhechkov/p-replicator 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +314 -0
- package/bin/cli.js +4 -0
- package/package.json +62 -0
- package/src/cli.js +160 -0
- package/src/commands/doctor.js +151 -0
- package/src/commands/init.js +155 -0
- package/src/commands/list.js +133 -0
- package/src/commands/remove.js +111 -0
- package/src/commands/update.js +102 -0
- package/src/utils.js +280 -0
- package/templates/.claude/agents/doc-validator.md +92 -0
- package/templates/.claude/agents/harvest-coordinator.md +91 -0
- package/templates/.claude/agents/product-discoverer.md +57 -0
- package/templates/.claude/agents/replicate-coordinator.md +98 -0
- package/templates/.claude/commands/harvest.md +106 -0
- package/templates/.claude/commands/replicate.md +389 -0
- package/templates/.claude/rules/replicate-pipeline.md +92 -0
- package/templates/.claude/skills/brutal-honesty-review/README.md +218 -0
- package/templates/.claude/skills/brutal-honesty-review/SKILL.md +225 -0
- package/templates/.claude/skills/brutal-honesty-review/resources/assessment-rubrics.md +295 -0
- package/templates/.claude/skills/brutal-honesty-review/resources/review-template.md +102 -0
- package/templates/.claude/skills/brutal-honesty-review/scripts/assess-code.sh +179 -0
- package/templates/.claude/skills/brutal-honesty-review/scripts/assess-tests.sh +223 -0
- package/templates/.claude/skills/cc-toolkit-generator-enhanced/SKILL.md +374 -0
- package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/claude-md-strategy.md +178 -0
- package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/enhanced-recommendations.md +416 -0
- package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/extended-mapping.md +370 -0
- package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/automation-commands.md +733 -0
- package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/ddd-agents.md +416 -0
- package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/ddd-hooks-commands.md +524 -0
- package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/ddd-skills.md +350 -0
- package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/enhanced-claude-md.md +235 -0
- package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/feature-lifecycle-ent.md +400 -0
- package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/feature-lifecycle.md +325 -0
- package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/feature-suggestions.md +423 -0
- package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/insights-system.md +349 -0
- package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/mcp.md +274 -0
- package/templates/.claude/skills/cc-toolkit-generator-enhanced/references/templates/start-command.md +283 -0
- package/templates/.claude/skills/explore/SKILL.md +215 -0
- package/templates/.claude/skills/explore/references/questioning-techniques.md +151 -0
- package/templates/.claude/skills/explore/references/task-brief-templates.md +355 -0
- package/templates/.claude/skills/goap-research-ed25519/SKILL.md +415 -0
- package/templates/.claude/skills/goap-research-ed25519/references/ed25519-verification.md +658 -0
- package/templates/.claude/skills/goap-research-ed25519/references/research-actions.md +544 -0
- package/templates/.claude/skills/goap-research-ed25519/references/source-evaluation.md +560 -0
- package/templates/.claude/skills/goap-research-ed25519/scripts/ed25519_verifier.py +662 -0
- package/templates/.claude/skills/goap-research-ed25519/scripts/goap_planner.py +720 -0
- package/templates/.claude/skills/knowledge-extractor/SKILL.md +412 -0
- package/templates/.claude/skills/knowledge-extractor/examples/rate-limiting-extraction.md +259 -0
- package/templates/.claude/skills/knowledge-extractor/modules/01-agent-review.md +192 -0
- package/templates/.claude/skills/knowledge-extractor/modules/02-classify.md +122 -0
- package/templates/.claude/skills/knowledge-extractor/modules/03-decontextualize.md +156 -0
- package/templates/.claude/skills/knowledge-extractor/modules/04-integrate.md +178 -0
- package/templates/.claude/skills/knowledge-extractor/references/artifact-categories.md +342 -0
- package/templates/.claude/skills/knowledge-extractor/references/decontextualization-guide.md +247 -0
- package/templates/.claude/skills/knowledge-extractor/references/maturity-model.md +153 -0
- package/templates/.claude/skills/knowledge-extractor/templates/artifact-card.md +60 -0
- package/templates/.claude/skills/knowledge-extractor/templates/harvest-report.md +70 -0
- package/templates/.claude/skills/knowledge-extractor/templates/toolkit-harvest.md +38 -0
- package/templates/.claude/skills/pipeline-forge/SKILL.md +523 -0
- package/templates/.claude/skills/pipeline-forge/examples/replicate-analysis.md +291 -0
- package/templates/.claude/skills/pipeline-forge/references/patterns-catalog.md +408 -0
- package/templates/.claude/skills/pipeline-forge/references/quality-gates.md +268 -0
- package/templates/.claude/skills/pipeline-forge/references/skill-anatomy.md +292 -0
- package/templates/.claude/skills/pipeline-forge/templates/agent-template.md +60 -0
- package/templates/.claude/skills/pipeline-forge/templates/command-template.md +80 -0
- package/templates/.claude/skills/pipeline-forge/templates/pipeline-template.md +137 -0
- package/templates/.claude/skills/pipeline-forge/templates/skill-template.md +132 -0
- package/templates/.claude/skills/problem-solver-enhanced/SKILL.md +562 -0
- package/templates/.claude/skills/requirements-validator/SKILL.md +121 -0
- package/templates/.claude/skills/requirements-validator/assets/templates/bdd-feature-template.feature +69 -0
- package/templates/.claude/skills/requirements-validator/references/bdd-patterns.md +184 -0
- package/templates/.claude/skills/requirements-validator/references/invest-criteria.md +121 -0
- package/templates/.claude/skills/requirements-validator/references/scoring-system.md +134 -0
- package/templates/.claude/skills/requirements-validator/references/smart-criteria.md +130 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/SKILL.md +194 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/examples/noom-cjm-example.md +100 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/examples/noom-module1-example.md +88 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/01-intelligence.md +328 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/02-product-customers.md +221 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/025-cjm-prototype.md +206 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/03-market-competition.md +402 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/04-business-finance.md +287 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/05-growth-engine.md +290 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/06-playbook-synthesis.md +286 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/references/blue-ocean-canvas.md +39 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/references/industry-benchmarks.md +67 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/references/jtbd-canvas.md +48 -0
- package/templates/.claude/skills/sparc-prd-mini/SKILL.md +955 -0
- package/templates/.claude/skills/sparc-prd-mini/references/sparc-methodology.md +360 -0
- package/templates/.claude/skills/sparc-prd-mini/templates/CLAUDE.md +91 -0
- package/templates/.claude/skills/sparc-prd-mini/templates/prd.md +336 -0
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
# Brutal Honesty Review Skill
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
A QE skill that delivers unvarnished technical criticism combining three legendary personas:
|
|
6
|
+
- **Linus Torvalds**: Surgical technical precision
|
|
7
|
+
- **Gordon Ramsay**: Standards-driven quality assessment
|
|
8
|
+
- **James Bach**: BS detection in testing practices
|
|
9
|
+
|
|
10
|
+
## Purpose
|
|
11
|
+
|
|
12
|
+
Unlike diplomatic reviews, this skill eliminates ambiguity about technical standards. It **dissects why something is wrong, explains the correct approach, and has zero patience for repeated mistakes or sloppy thinking**.
|
|
13
|
+
|
|
14
|
+
## When to Use
|
|
15
|
+
|
|
16
|
+
✅ **Appropriate**:
|
|
17
|
+
- Senior engineers wanting unfiltered feedback
|
|
18
|
+
- Repeated architectural mistakes
|
|
19
|
+
- Critical bugs requiring immediate attention
|
|
20
|
+
- Evaluating vendor claims/certifications
|
|
21
|
+
- Teams explicitly requesting no-BS feedback
|
|
22
|
+
|
|
23
|
+
❌ **Inappropriate**:
|
|
24
|
+
- Junior developers' first contributions
|
|
25
|
+
- Demoralized teams
|
|
26
|
+
- Public forums (avoid humiliation)
|
|
27
|
+
- When psychological safety is low
|
|
28
|
+
|
|
29
|
+
## Three Modes
|
|
30
|
+
|
|
31
|
+
### 1. Linus Mode (Technical Precision)
|
|
32
|
+
Focus on code correctness, performance, concurrency, and architecture.
|
|
33
|
+
|
|
34
|
+
**Example**:
|
|
35
|
+
> "This is completely broken. You're holding the lock during I/O, which means every thread serializes. Did you even test under load? The correct approach is..."
|
|
36
|
+
|
|
37
|
+
### 2. Ramsay Mode (Standards-Driven Quality)
|
|
38
|
+
Compare reality against clear excellence model using concrete metrics.
|
|
39
|
+
|
|
40
|
+
**Example**:
|
|
41
|
+
> "Look at this! 12 tests and 10 are just checking if variables exist. Where's the business logic coverage? This is RAW. Don't merge it."
|
|
42
|
+
|
|
43
|
+
### 3. Bach Mode (BS Detection)
|
|
44
|
+
Question certifications, best practices, and vendor hype.
|
|
45
|
+
|
|
46
|
+
**Example**:
|
|
47
|
+
> "This certification teaches scripts, not thinking. Does it help testers find bugs faster? No. It helps the cert body make money."
|
|
48
|
+
|
|
49
|
+
## Quick Start
|
|
50
|
+
|
|
51
|
+
### Using the Skill
|
|
52
|
+
|
|
53
|
+
Invoke the skill when you need brutal honesty:
|
|
54
|
+
|
|
55
|
+
```markdown
|
|
56
|
+
Use brutal-honesty-review skill in Linus mode to review this code:
|
|
57
|
+
[paste code]
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Using Assessment Scripts
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
# Assess code quality (Linus Mode)
|
|
64
|
+
./scripts/assess-code.sh src/myfile.js
|
|
65
|
+
|
|
66
|
+
# Assess test quality (Ramsay Mode)
|
|
67
|
+
./scripts/assess-tests.sh tests/
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Files Included
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
brutal-honesty-review/
|
|
74
|
+
├── SKILL.md # Main skill instructions
|
|
75
|
+
├── README.md # This file
|
|
76
|
+
├── resources/
|
|
77
|
+
│ ├── review-template.md # Template for structured reviews
|
|
78
|
+
│ └── assessment-rubrics.md # Scoring rubrics for all modes
|
|
79
|
+
└── scripts/
|
|
80
|
+
├── assess-code.sh # Automated code quality check
|
|
81
|
+
└── assess-tests.sh # Automated test quality check
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Assessment Rubrics
|
|
85
|
+
|
|
86
|
+
### Code Quality (Linus Mode)
|
|
87
|
+
|
|
88
|
+
| Criteria | Failing | Passing | Excellent |
|
|
89
|
+
|----------|---------|---------|-----------|
|
|
90
|
+
| Correctness | Wrong logic | Works in tested cases | Proven across edge cases |
|
|
91
|
+
| Performance | O(n²) where O(n) exists | Acceptable | Optimal + profiled |
|
|
92
|
+
| Error Handling | Crashes | Returns errors | Graceful degradation |
|
|
93
|
+
| Concurrency | Race conditions | Thread-safe | Lock-free/proven |
|
|
94
|
+
| Testability | Can't unit test | Mockable | Self-testing |
|
|
95
|
+
| Maintainability | "Clever" code | Clear | Self-documenting |
|
|
96
|
+
|
|
97
|
+
**Threshold**: Minimum "Passing" on ALL to merge.
|
|
98
|
+
|
|
99
|
+
### Test Quality (Ramsay Mode)
|
|
100
|
+
|
|
101
|
+
| Criteria | Raw | Acceptable | Michelin Star |
|
|
102
|
+
|----------|-----|------------|---------------|
|
|
103
|
+
| Coverage | <50% | 80%+ | 95%+ + mutation |
|
|
104
|
+
| Edge Cases | Happy path only | Common failures | Boundary analysis |
|
|
105
|
+
| Clarity | Unclear names | Clear names | Self-documenting |
|
|
106
|
+
| Speed | Minutes | <10s | <1s, parallel |
|
|
107
|
+
| Stability | Flaky (>1%) | Stable | Deterministic |
|
|
108
|
+
| Isolation | Dependent | Independent | Pure, stateless |
|
|
109
|
+
|
|
110
|
+
**Threshold**: Minimum "Acceptable" on ALL to merge.
|
|
111
|
+
|
|
112
|
+
### BS Detection (Bach Mode)
|
|
113
|
+
|
|
114
|
+
Red flags:
|
|
115
|
+
- Cargo cult practices (no context)
|
|
116
|
+
- Certification theater (filters thinkers)
|
|
117
|
+
- Vendor lock-in (solves own problem)
|
|
118
|
+
- False automation (still needs humans)
|
|
119
|
+
- Checkbox quality (compliance, not outcomes)
|
|
120
|
+
- Hype cycle (10x claims without proof)
|
|
121
|
+
|
|
122
|
+
**Green flag test**: "Does this help testers/developers do better work in THIS context?"
|
|
123
|
+
|
|
124
|
+
## Examples
|
|
125
|
+
|
|
126
|
+
### Example 1: Linus Mode - Concurrency Bug
|
|
127
|
+
|
|
128
|
+
**Problem**: Holding DB connection during HTTP call
|
|
129
|
+
|
|
130
|
+
**Brutal Honesty**:
|
|
131
|
+
> "This is completely broken. You're holding a database connection open while waiting for an HTTP request. Under load, you'll exhaust the connection pool in seconds. Did you test with >1 user? The correct approach: 1) Fetch data, 2) Close connection, 3) Make HTTP call."
|
|
132
|
+
|
|
133
|
+
### Example 2: Ramsay Mode - Weak Tests
|
|
134
|
+
|
|
135
|
+
**Problem**: 15 tests, all happy path
|
|
136
|
+
|
|
137
|
+
**Brutal Honesty**:
|
|
138
|
+
> "Look at this test suite. 15 tests, 14 are happy path. Where's validation? Where are edge cases? This is RAW. You're testing if code runs, not if it's correct. You have 35% coverage. Production needs 80%+. Don't merge this."
|
|
139
|
+
|
|
140
|
+
### Example 3: Bach Mode - Certification Theater
|
|
141
|
+
|
|
142
|
+
**Problem**: Required ISTQB certification
|
|
143
|
+
|
|
144
|
+
**Brutal Honesty**:
|
|
145
|
+
> "ISTQB tests if you memorized terminology, not if you can test software. Real skills: finding bugs, designing strategies, communicating risk. ISTQB tests: definitions, model names, checkbox thinking. If it helped, ISTQB-certified teams would ship higher quality. They don't."
|
|
146
|
+
|
|
147
|
+
## Calibration Guide
|
|
148
|
+
|
|
149
|
+
### Harshness Levels
|
|
150
|
+
|
|
151
|
+
**Level 1 - Direct**: For experienced engineers
|
|
152
|
+
> "This approach is flawed because..."
|
|
153
|
+
|
|
154
|
+
**Level 2 - Harsh**: For repeated mistakes
|
|
155
|
+
> "We've discussed this pattern three times. Why is it back?"
|
|
156
|
+
|
|
157
|
+
**Level 3 - Brutal**: For critical issues or willful ignorance
|
|
158
|
+
> "This is negligent. You're exposing user data because..."
|
|
159
|
+
|
|
160
|
+
### Context Matters
|
|
161
|
+
|
|
162
|
+
Before being brutal, verify:
|
|
163
|
+
1. **Audience maturity**: Can they handle directness?
|
|
164
|
+
2. **Relationship capital**: Have you earned harsh feedback rights?
|
|
165
|
+
3. **Actionability**: Can they actually fix this?
|
|
166
|
+
4. **Intent**: Helping or venting?
|
|
167
|
+
|
|
168
|
+
## Philosophy
|
|
169
|
+
|
|
170
|
+
### Why Brutal Honesty Works
|
|
171
|
+
|
|
172
|
+
1. **Eliminates Ambiguity**: No confusion about technical standards
|
|
173
|
+
2. **Scales Teaching**: Public technical breakdown teaches entire team
|
|
174
|
+
3. **Cuts Through BS**: Exposes cargo cult practices and vendor hype
|
|
175
|
+
|
|
176
|
+
### The Costs
|
|
177
|
+
|
|
178
|
+
1. **Relationship Damage**: Harsh criticism without trust destroys collaboration
|
|
179
|
+
2. **Chills Participation**: Fear stops newcomers from contributing
|
|
180
|
+
3. **Burnout**: Constant harshness is exhausting
|
|
181
|
+
|
|
182
|
+
### The Contract
|
|
183
|
+
|
|
184
|
+
Before using brutal honesty, establish explicit contract:
|
|
185
|
+
|
|
186
|
+
> "I'm going to give unfiltered technical feedback. This will be direct, possibly harsh. Goal is clarity, not cruelty. I'll explain: 1) What's wrong, 2) Why, 3) What correct looks like, 4) How to fix. Want diplomatic instead?"
|
|
187
|
+
|
|
188
|
+
**Get explicit consent first.**
|
|
189
|
+
|
|
190
|
+
## Integration with Agentic QE Fleet
|
|
191
|
+
|
|
192
|
+
This skill extends the QE skill set:
|
|
193
|
+
|
|
194
|
+
- **Complements**: `code-review-quality`, `context-driven-testing`
|
|
195
|
+
- **Contrasts with**: Diplomatic, constructive review approaches
|
|
196
|
+
- **Use when**: Technical precision and BS-cutting are priorities
|
|
197
|
+
- **Avoid when**: Building confidence or psychological safety
|
|
198
|
+
|
|
199
|
+
## Related Skills
|
|
200
|
+
|
|
201
|
+
- `code-review-quality` - Diplomatic code review
|
|
202
|
+
- `context-driven-testing` - Foundation for BS detection
|
|
203
|
+
- `tdd-london-chicago` - Systematic quality approach
|
|
204
|
+
- `exploratory-testing-advanced` - Critical thinking in testing
|
|
205
|
+
|
|
206
|
+
## License
|
|
207
|
+
|
|
208
|
+
MIT - Part of Agentic QE Fleet
|
|
209
|
+
|
|
210
|
+
## Contributing
|
|
211
|
+
|
|
212
|
+
Found this too harsh? Good. Found this too soft? You're Linus Torvalds.
|
|
213
|
+
|
|
214
|
+
Submit issues if the skill produces ineffective criticism (not actionable, personal attacks, wrong context).
|
|
215
|
+
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
**Remember**: Brutal honesty is a tool, not a personality. Use it when it helps, not when it harms.
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: brutal-honesty-review
|
|
3
|
+
description: Unvarnished technical criticism combining Linus Torvalds precision, Gordon Ramsay standards, and James Bach BS-detection. Use when code or tests need harsh reality checks, certification schemes smell fishy, or technical decisions lack rigor. No sugar-coating, just surgical truth about what is broken and why.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Brutal Honesty Review
|
|
7
|
+
|
|
8
|
+
<default_to_action>
|
|
9
|
+
When brutal honesty is needed:
|
|
10
|
+
1. CHOOSE MODE: Linus (technical), Ramsay (standards), Bach (BS detection)
|
|
11
|
+
2. VERIFY CONTEXT: Senior engineer? Repeated mistake? Critical bug? Explicit request?
|
|
12
|
+
3. STRUCTURE: What's broken → Why it's wrong → What correct looks like → How to fix
|
|
13
|
+
4. ATTACK THE WORK, not the worker
|
|
14
|
+
5. ALWAYS provide actionable path forward
|
|
15
|
+
|
|
16
|
+
**Quick Mode Selection:**
|
|
17
|
+
- **Linus**: Code is technically wrong, inefficient, misunderstands fundamentals
|
|
18
|
+
- **Ramsay**: Quality is subpar compared to clear excellence model
|
|
19
|
+
- **Bach**: Certifications, best practices, or vendor hype need reality check
|
|
20
|
+
|
|
21
|
+
**Calibration:**
|
|
22
|
+
- Level 1 (Direct): "This approach is fundamentally flawed because..."
|
|
23
|
+
- Level 2 (Harsh): "We've discussed this three times. Why is it back?"
|
|
24
|
+
- Level 3 (Brutal): "This is negligent. You're exposing user data because..."
|
|
25
|
+
|
|
26
|
+
**DO NOT USE FOR:** Junior devs' first PRs, demoralized teams, public forums, low psychological safety
|
|
27
|
+
</default_to_action>
|
|
28
|
+
|
|
29
|
+
## Quick Reference Card
|
|
30
|
+
|
|
31
|
+
### When to Use
|
|
32
|
+
| Context | Appropriate? | Why |
|
|
33
|
+
|---------|-------------|-----|
|
|
34
|
+
| Senior engineer code review | ✅ Yes | Can handle directness, respects precision |
|
|
35
|
+
| Repeated architectural mistakes | ✅ Yes | Gentle approaches failed |
|
|
36
|
+
| Security vulnerabilities | ✅ Yes | Stakes too high for sugar-coating |
|
|
37
|
+
| Evaluating vendor claims | ✅ Yes | BS detection prevents expensive mistakes |
|
|
38
|
+
| Junior dev's first PR | ❌ No | Use constructive mentoring |
|
|
39
|
+
| Demoralized team | ❌ No | Will break, not motivate |
|
|
40
|
+
| Public forum | ❌ No | Public humiliation destroys trust |
|
|
41
|
+
|
|
42
|
+
### Three Modes
|
|
43
|
+
|
|
44
|
+
| Mode | When | Example Output |
|
|
45
|
+
|------|------|----------------|
|
|
46
|
+
| **Linus** | Code technically wrong | "You're holding the lock for the entire I/O. Did you test under load?" |
|
|
47
|
+
| **Ramsay** | Quality below standards | "12 tests and 10 just check variables exist. Where's the business logic?" |
|
|
48
|
+
| **Bach** | BS detection needed | "This cert tests memorization, not bug-finding. Who actually benefits?" |
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## The Criticism Structure
|
|
53
|
+
|
|
54
|
+
```markdown
|
|
55
|
+
## What's Broken
|
|
56
|
+
[Surgical description - specific, technical]
|
|
57
|
+
|
|
58
|
+
## Why It's Wrong
|
|
59
|
+
[Technical explanation, not opinion]
|
|
60
|
+
|
|
61
|
+
## What Correct Looks Like
|
|
62
|
+
[Clear model of excellence]
|
|
63
|
+
|
|
64
|
+
## How to Fix It
|
|
65
|
+
[Actionable steps, specific to context]
|
|
66
|
+
|
|
67
|
+
## Why This Matters
|
|
68
|
+
[Impact if not fixed]
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Mode Examples
|
|
74
|
+
|
|
75
|
+
### Linus Mode: Technical Precision
|
|
76
|
+
|
|
77
|
+
```markdown
|
|
78
|
+
**Problem**: Holding database connection during HTTP call
|
|
79
|
+
|
|
80
|
+
"This is completely broken. You're holding a database connection
|
|
81
|
+
open while waiting for an external HTTP request. Under load, you'll
|
|
82
|
+
exhaust the connection pool in seconds.
|
|
83
|
+
|
|
84
|
+
Did you even test this with more than one concurrent user?
|
|
85
|
+
|
|
86
|
+
The correct approach is:
|
|
87
|
+
1. Fetch data from DB
|
|
88
|
+
2. Close connection
|
|
89
|
+
3. Make HTTP call
|
|
90
|
+
4. Open new connection if needed
|
|
91
|
+
|
|
92
|
+
This is Connection Management 101. Why wasn't this caught in review?"
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Ramsay Mode: Standards-Driven Quality
|
|
96
|
+
|
|
97
|
+
```markdown
|
|
98
|
+
**Problem**: Tests only verify happy path
|
|
99
|
+
|
|
100
|
+
"Look at this test suite. 15 tests, 14 happy path scenarios.
|
|
101
|
+
Where's the validation testing? Edge cases? Failure modes?
|
|
102
|
+
|
|
103
|
+
This is RAW. You're testing if code runs, not if it's correct.
|
|
104
|
+
|
|
105
|
+
Production-ready covers:
|
|
106
|
+
✓ Happy path (you have this)
|
|
107
|
+
✗ Validation failures (missing)
|
|
108
|
+
✗ Boundary conditions (missing)
|
|
109
|
+
✗ Error handling (missing)
|
|
110
|
+
✗ Concurrent access (missing)
|
|
111
|
+
|
|
112
|
+
You wouldn't ship code with 12% coverage. Don't merge tests
|
|
113
|
+
with 12% scenario coverage."
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Bach Mode: BS Detection
|
|
117
|
+
|
|
118
|
+
```markdown
|
|
119
|
+
**Problem**: ISTQB certification required for QE roles
|
|
120
|
+
|
|
121
|
+
"ISTQB tests if you memorized terminology, not if you can test software.
|
|
122
|
+
|
|
123
|
+
Real testing skills:
|
|
124
|
+
- Finding bugs others miss
|
|
125
|
+
- Designing effective strategies for context
|
|
126
|
+
- Communicating risk to stakeholders
|
|
127
|
+
|
|
128
|
+
ISTQB tests:
|
|
129
|
+
- Definitions of 'alpha' vs 'beta' testing
|
|
130
|
+
- Names of techniques you'll never use
|
|
131
|
+
- V-model terminology
|
|
132
|
+
|
|
133
|
+
If ISTQB helped testers, companies with certified teams would ship
|
|
134
|
+
higher quality. They don't."
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
## Assessment Rubrics
|
|
140
|
+
|
|
141
|
+
### Code Quality (Linus Mode)
|
|
142
|
+
|
|
143
|
+
| Criteria | Failing | Passing | Excellent |
|
|
144
|
+
|----------|---------|---------|-----------|
|
|
145
|
+
| Correctness | Wrong algorithm | Works in tested cases | Proven across edge cases |
|
|
146
|
+
| Performance | Naive O(n²) | Acceptable complexity | Optimal + profiled |
|
|
147
|
+
| Error Handling | Crashes on invalid | Returns error codes | Graceful degradation |
|
|
148
|
+
| Testability | Impossible to test | Can mock | Self-testing design |
|
|
149
|
+
|
|
150
|
+
### Test Quality (Ramsay Mode)
|
|
151
|
+
|
|
152
|
+
| Criteria | Raw | Acceptable | Michelin Star |
|
|
153
|
+
|----------|-----|------------|---------------|
|
|
154
|
+
| Coverage | <50% branch | 80%+ branch | 95%+ mutation tested |
|
|
155
|
+
| Edge Cases | Only happy path | Common failures | Boundary analysis complete |
|
|
156
|
+
| Stability | Flaky (>1% failure) | Stable but slow | Deterministic + fast |
|
|
157
|
+
|
|
158
|
+
### BS Detection (Bach Mode)
|
|
159
|
+
|
|
160
|
+
| Red Flag | Evidence | Impact |
|
|
161
|
+
|----------|----------|--------|
|
|
162
|
+
| Cargo Cult Practice | "Best practice" with no context | Wasted effort |
|
|
163
|
+
| Certification Theater | Required cert unrelated to skills | Filters out thinkers |
|
|
164
|
+
| Vendor Lock-In | Tool solves problem it created | Expensive dependency |
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## Agent Integration
|
|
169
|
+
|
|
170
|
+
```typescript
|
|
171
|
+
// Brutal honesty code review
|
|
172
|
+
await Task("Code Review", {
|
|
173
|
+
code: pullRequestDiff,
|
|
174
|
+
mode: 'linus', // or 'ramsay', 'bach'
|
|
175
|
+
calibration: 'direct', // or 'harsh', 'brutal'
|
|
176
|
+
requireActionable: true
|
|
177
|
+
}, "qe-code-reviewer");
|
|
178
|
+
|
|
179
|
+
// BS detection for vendor claims
|
|
180
|
+
await Task("Vendor Evaluation", {
|
|
181
|
+
claims: vendorMarketingClaims,
|
|
182
|
+
mode: 'bach',
|
|
183
|
+
requireEvidence: true
|
|
184
|
+
}, "qe-quality-gate");
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
## Agent Coordination Hints
|
|
190
|
+
|
|
191
|
+
### Memory Namespace
|
|
192
|
+
```
|
|
193
|
+
aqe/brutal-honesty/
|
|
194
|
+
├── code-reviews/* - Technical review findings
|
|
195
|
+
├── bs-detection/* - Vendor/cert evaluations
|
|
196
|
+
└── calibration/* - Context-appropriate levels
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
### Fleet Coordination
|
|
200
|
+
```typescript
|
|
201
|
+
const reviewFleet = await FleetManager.coordinate({
|
|
202
|
+
strategy: 'brutal-review',
|
|
203
|
+
agents: [
|
|
204
|
+
'qe-code-reviewer', // Technical precision
|
|
205
|
+
'qe-security-auditor', // Security brutality
|
|
206
|
+
'qe-quality-gate' // Standards enforcement
|
|
207
|
+
],
|
|
208
|
+
topology: 'parallel'
|
|
209
|
+
});
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
## Related Skills
|
|
215
|
+
- [code-review-quality](../code-review-quality/) - Diplomatic version
|
|
216
|
+
- [context-driven-testing](../context-driven-testing/) - Foundation for Bach mode
|
|
217
|
+
- [sherlock-review](../sherlock-review/) - Evidence-based investigation
|
|
218
|
+
|
|
219
|
+
---
|
|
220
|
+
|
|
221
|
+
## Remember
|
|
222
|
+
|
|
223
|
+
**Brutal honesty eliminates ambiguity but has costs.** Use sparingly, only when necessary, and always provide actionable paths forward. Attack the work, never the worker.
|
|
224
|
+
|
|
225
|
+
**The Brutal Honesty Contract**: Get explicit consent. "I'm going to give unfiltered technical feedback. This will be direct, possibly harsh. The goal is clarity, not cruelty."
|