Skip to content
Open

Lw11 #394

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
46b25c4
add .vscode/ to .gitignore
johnsmyth Dec 8, 2025
1dc303f
add prevention section (WIP)
johnsmyth Dec 9, 2025
c7a8878
add docs for prevention/dashboard
johnsmyth Dec 9, 2025
0586cb2
Add prevention documentation screenshots and drag-and-drop description
johnsmyth Dec 9, 2025
a4a8c19
move concepts from dashbaord docs to preventions index
johnsmyth Dec 9, 2025
d7c351e
prevention docs first VERY ROUGH draft
johnsmyth Dec 9, 2025
eddeb3a
Revise prevention docs: conversational tone and fix all hyperlinks
johnsmyth Dec 9, 2025
8bd7024
comment out svg that isnt rendering correctly
johnsmyth Dec 9, 2025
f63038c
remove svg that isnt rendering correctly
johnsmyth Dec 9, 2025
2e2c024
Reorganize prevention docs structure and add comprehensive screenshots
johnsmyth Dec 10, 2025
b09ed4a
Migrate documentation prompts to Claude Code skill system
johnsmyth Dec 10, 2025
0c8ed02
Remove deprecated prompts directory
johnsmyth Dec 10, 2025
67dc4c6
Restructure prevention docs: add tab pages and merge detail views
johnsmyth Dec 10, 2025
035bbfe
Fix object tag rendering and center prevention diagram (#395)
karanpopat Dec 11, 2025
35b9e41
Comprehensive prevention documentation improvements
johnsmyth Dec 11, 2025
e2ea386
Standardize all prevention docs to use "Common Use Cases" with bullet…
johnsmyth Dec 11, 2025
edcc178
Replace generic 'control' terminology with 'prevention' in prevention…
johnsmyth Dec 11, 2025
03efc25
Add documentation workflow skills, commands, and guidance to CLAUDE.md
johnsmyth Dec 11, 2025
32e3845
Update prevention documentation with accurate scoring and improved or…
johnsmyth Dec 11, 2025
26bd650
Update prevention documentation screenshots and improve accuracy
johnsmyth Dec 12, 2025
77eb864
Enhance simulator documentation with detailed event creation guide an…
johnsmyth Dec 12, 2025
9cbd78d
Add documentation patterns for UI flow organization and interactive f…
johnsmyth Dec 12, 2025
2ebf371
Perform comprehensive review and cleanup of prevention documentation
johnsmyth Dec 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .claude/commands/standardize-sections.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
description: Analyze and standardize section titles across documentation pages
---

You are analyzing documentation to identify inconsistent section titles and propose standardization.

## Process

1. **Scan the specified documentation directory** for common section patterns
2. **Identify variants** of similar sections:
- "Common Tasks" vs "Common Use Cases" vs "Use Cases" vs "Using X"
- "Getting Started" vs "Quick Start" vs "Starting Out"
- "Configuration" vs "Setup" vs "Setting Up"
3. **Count occurrences** of each variant
4. **Propose a standard** based on:
- Most common usage
- Clarity and scannability
- Consistency with existing conventions
5. **Present findings** with:
- Current state (all variants found)
- Recommended standard
- Files that need updating
- Example transformations

## Output Format

Provide a structured report:
- Section name variants found
- Frequency of each variant
- Recommended standard title
- List of files needing updates
- Risk assessment (breaking changes, link updates needed, etc.)

## Example Usage

When user runs `/standardize-sections docs/prevention`, analyze all prevention docs for section title inconsistencies and propose standardization.
49 changes: 49 additions & 0 deletions .claude/skills/batch-edit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Batch Edit Helper

When you need to make the same type of change across multiple files, this skill helps plan and execute the changes systematically.

## When to Use

- Terminology changes across multiple files
- Section title standardization
- Link updates after restructuring
- Formatting consistency improvements

## Process

1. **Planning Phase**
- Use Grep to find all instances
- Categorize instances (preserve vs replace)
- Identify edge cases
- Create todo list with one item per file

2. **Execution Phase**
- Read each file before editing
- Make replacements systematically
- Update todo list after each file
- Track progress visibly

3. **Verification Phase**
- Use git diff to review changes
- Check for unintended replacements
- Verify links still work
- Commit with detailed message

## Best Practices

- Always use Grep first to understand scope
- Read files before editing (required by Edit tool)
- Make one logical change per commit
- Use todo list to track progress across files
- Group related changes together
- Provide detailed commit messages explaining rationale

## Example

User: "Replace all instances of 'foo' with 'bar' in the docs"

1. Grep for 'foo' to see all uses
2. Categorize: generic foo (replace) vs FooClass (preserve) vs foo() (evaluate)
3. Create todo list with each file
4. Execute replacements file by file
5. Commit with explanation of what was changed and why
34 changes: 34 additions & 0 deletions .claude/skills/check-terminology.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Documentation Terminology Consistency Checker

When invoked, analyze documentation for terminology conflicts where the same word is used with different meanings in different contexts.

## Process

1. Identify domain-specific terms that may conflict with product-specific features
2. Search for all uses of potentially ambiguous terms
3. Categorize uses into:
- Product-specific technical terms (should be preserved)
- Generic uses (candidates for replacement)
- Contextual uses (need case-by-case evaluation)
4. Propose alternative terminology with pros/cons
5. Present findings in a structured format with:
- Current usage patterns
- Potential confusion points
- Recommended alternatives
- Implementation strategy (hybrid, wholesale replacement, etc.)

## Example Scenarios

- "Policy" used for both Guardrails Policies and generic security policies
- "Resource" used for both Guardrails Resources and cloud resources
- "Control" used for both Guardrails Controls and generic security controls
- "Rule" used for both specific enforcement rules and generic guidelines

## Output Format

Provide a structured analysis with:
- Term being analyzed
- Distinct contexts where it appears
- Frequency in each context
- Recommended approach (preserve, replace, hybrid)
- Specific replacement suggestions with rationale
Loading