| name | Flavor |
| description | Interactive interview that customizes DRL skill files for field-specific research conventions |
Flavor Customization System
Overview
Customize the DRL skill files to match a researcher's field conventions, methodology preferences, journal requirements, and citation style. Flavor edits are version-controlled and reversible.
Step 1: Safety Checkpoint (H2 Mitigation)
Before editing any skill file, you MUST create a safety checkpoint.
- Stage all current changes:
git add .claude/skills/drl/
- Commit with a descriptive message:
git commit -m "checkpoint: pre-flavor skill state"
- This ensures all flavor changes are reversible via
git revert or git diff
If the commit fails because there are no changes, that is fine -- proceed.
Step 2: Interactive Interview
Use AskUserQuestion to gather field-specific configuration. Ask about each dimension:
2a. Research Field
- Primary field: economics, sociology, political science, psychology, public health, education, etc.
- Subfield or specialization (e.g., labor economics, organizational sociology)
- Interdisciplinary considerations
2b. Methodology Preferences
- Primary approach: quantitative, qualitative, mixed methods
- Preferred statistical methods: regression analysis, causal inference (IV, RDD, DiD), structural models, Bayesian methods
- Data analysis conventions: significance thresholds, effect size reporting, confidence intervals vs. p-values
- Robustness expectations: how many alternative specifications, which sensitivity analyses
2c. Journal Target
- Target journal name (if known)
- Journal formatting requirements (section structure, word limits, abstract format)
- Submission requirements (anonymous review, data availability statement, pre-registration)
2d. Citation Style
- Citation format: APA 7th, Chicago Author-Date, Chicago Notes, Harvard, journal-specific
- Bibliography conventions: full author lists vs. et al. threshold, DOI inclusion, URL formatting
- In-text citation style: (Author, Year) vs. Author (Year) vs. numbered
Step 3: Web Search for Field Conventions
Search for the target journal and field conventions:
- Search for journal-specific author guidelines and submission requirements
- Search for field-specific statistical reporting standards (e.g., APA reporting standards for psychology)
- Search for common robustness check expectations in the field
- Note any field-specific vocabulary or terminology conventions
Record findings to inform skill file edits.
Step 4: Skill File Editing
Read and edit the DRL skill files to incorporate field conventions.
Atomic Write Protocol (H2 Mitigation)
For each skill file edit, use a write-then-rename sequence to prevent partial writes from corrupting skill files:
cat .claude/skills/drl/<skill>/SKILL.md
mv .claude/skills/drl/<skill>/SKILL.md.tmp .claude/skills/drl/<skill>/SKILL.md
If step 3 fails, the original file is untouched. If step 2 fails, there is no corruption -- only a leftover .tmp file to clean up.
What Gets Customized
Edit the following skill files in .claude/skills/drl/:
- spec-dev/SKILL.md: Adapt hypothesis format, literature gap framing, and methodology outline to field conventions
- plan/SKILL.md: Adjust statistical method recommendations, variable naming conventions, and robustness battery to field norms
- work/SKILL.md and sub-skills (work-writing/SKILL.md, work-analysis/SKILL.md): Set field-appropriate significance thresholds, effect size measures, and table/figure formatting
- review/SKILL.md: Calibrate reviewer expectations for the field (e.g., IV validity checks for economics, effect size reporting for psychology)
- compound/SKILL.md: Adjust paper structure to journal requirements, set abstract format, and configure citation style
Note: The procedural skills (lit-review, decision, compile, status) are intentionally excluded from flavor customization because their workflows are field-agnostic.
Customization Targets Within Each Skill
For each skill file, look for and adapt:
- Vocabulary: Replace generic terms with field-specific terminology
- Method defaults: Set appropriate default statistical methods for the field
- Quality thresholds: Adjust what counts as a sufficient robustness battery
- Output format: Match table and figure conventions to the journal style
- Review criteria: Calibrate what reviewers check based on field expectations
Step 5: Verify and Commit
- Review all changes:
git diff .claude/skills/drl/
- Verify no skill file was corrupted (each still has valid YAML frontmatter and readable content)
- Stage the changes:
git add .claude/skills/drl/
- Commit:
git commit -m "flavor: configure for <field> targeting <journal>"
Reverting Flavor Changes
If the researcher wants to undo flavor customization:
- Find the pre-flavor checkpoint:
git log --oneline .claude/skills/drl/
- Revert to the checkpoint commit
- Or selectively revert individual files:
git checkout <commit> -- .claude/skills/drl/<skill>/SKILL.md
Gate Criteria
Before concluding, verify:
Quality Criteria
Common Pitfalls
- Editing skill files without creating a safety checkpoint first
- Applying changes that are too field-specific and break the general workflow
- Not searching for the actual journal requirements (guessing instead)
- Forgetting to update the citation style in the compound skill
- Making vocabulary changes that conflict with beads or DRL workflow terminology