This skill should be used when users mention 'generate rules', 'isolation rules', 'methodology preset', 'apply preset', 'saturation', 'am I saturated', 'branch', 'fork', 'explore alternative', 'team', 'add researcher', 'intercoder reliability', 'dashboard', 'show status', or after /qual-design completes.
Comprehensive methodological support: isolation rules, strain detection, saturation tracking, workspace branching, multi-researcher collaboration, and visualization.
Triggers:
/qual-design completesAuto-invoked:
PostPhaseTransition hook when sandwich_status changesproject-setup skill after design configurationconfig.json.claude/rules/| Rule | When Generated | Purpose |
|---|---|---|
case-isolation.md | study_type includes "comparative" | Prevent cross-case contamination |
wave-isolation.md | study_type includes "longitudinal" | Preserve temporal integrity |
stream-separation.md | streams.enabled = true | Keep theory/data separate until synthesis |
research_design configured
↓
generate-rules.js creates .claude/rules/
↓
Rules active with configured friction level
↓
Phase transition detected (hook)
↓
update-rules.js checks relaxes_at conditions
↓
Rules regenerated with updated status
↓
Change logged to reflexivity journal
Rules use graduated friction, not binary allow/block:
| Level | Behavior | When to Use |
|---|---|---|
silent | Log only, no interruption | Low-risk boundaries |
nudge | Gentle reminder in response | Moderate guidance |
challenge | Pause, request justification | Important methodological boundaries |
hard_stop | Block action | Critical integrity requirements |
node skills/methodological-rules/scripts/generate-rules.js \
--project-path /path/to/project
What it does:
config.json research_design section.claude/rules/ (auto-discovered by Claude Code)node skills/methodological-rules/scripts/check-phase.js \
--project-path /path/to/project
What it does:
node skills/methodological-rules/scripts/update-rules.js \
--project-path /path/to/project
What it does:
# Check strain status
node skills/methodological-rules/scripts/strain-check.js \
--project-path /path/to/project
# Record an override
node skills/methodological-rules/scripts/strain-check.js \
--project-path /path/to/project \
--record-override --rule-id case-isolation \
--justification "Building cross-cutting theme"
# Record resolution
node skills/methodological-rules/scripts/strain-check.js \
--project-path /path/to/project \
--record-resolution --rule-id case-isolation \
--resolution phase_transition
What it does:
# List available presets
node skills/methodological-rules/scripts/apply-preset.js --list-presets
# Apply a preset
node skills/methodological-rules/scripts/apply-preset.js \
--project-path /path/to/project --preset gioia_corley
What it does:
# Check saturation status
node skills/methodological-rules/scripts/saturation-tracker.js \
--project-path /path/to/project --status
# Record document coding
node skills/methodological-rules/scripts/saturation-tracker.js \
--project-path /path/to/project \
--record-document --doc-id INT_001 --new-codes 5
# Record code refinement
node skills/methodological-rules/scripts/saturation-tracker.js \
--project-path /path/to/project \
--record-refinement --code-id coping --change-type split
# Full assessment
node skills/methodological-rules/scripts/saturation-tracker.js \
--project-path /path/to/project --assess
What it does:
# Fork a branch
node skills/methodological-rules/scripts/workspace-branch.js \
--project-path /path/to/project \
--fork --name "alternative-structure" --framing exploratory
# Switch branches
node skills/methodological-rules/scripts/workspace-branch.js \
--project-path /path/to/project --switch --branch-id alt-123
# Merge (requires memo)
node skills/methodological-rules/scripts/workspace-branch.js \
--project-path /path/to/project \
--merge --branch-id alt-123 --memo "Synthesis explanation..."
What it does:
# Full dashboard
node skills/methodological-rules/scripts/viz-dashboard.js \
--project-path /path/to/project --view all
# Specific views
node skills/methodological-rules/scripts/viz-dashboard.js \
--project-path /path/to/project --view saturation
# Mermaid export
node skills/methodological-rules/scripts/viz-dashboard.js \
--project-path /path/to/project --mermaid lineage
What it does:
# Add team member
node skills/methodological-rules/scripts/researcher-team.js \
--project-path /path/to/project \
--add-member --name "Jane Doe" --role coder
# Start ICR session
node skills/methodological-rules/scripts/researcher-team.js \
--project-path /path/to/project \
--start-icr-session --participants "jane,john" --documents "INT_001"
# Log attribution
node skills/methodological-rules/scripts/researcher-team.js \
--project-path /path/to/project \
--log-attribution --action created_code --target adaptive_coping
What it does:
Templates use Mustache-style placeholders:
{{study_type}} - From config{{case_count}} - Number of cases{{case_names}} - Comma-separated case names{{current_phase}} - Current sandwich_status phase{{relaxes_at_phase}} - When this rule relaxes{{friction_level}} - Current friction setting{{rule_status}} - active | relaxed{{timestamp}} - Generation timestampWith existing architecture:
PostPhaseTransition triggers rule updatesresearch_design section@dialogical-coder references rules during coding/qual-status shows active rulesWith Claude Code:
.claude/rules/ for auto-discovery# .claude/rules/case-isolation.md
---