Skip to content
Back to skills

Examples

ASecurity

You need a simple skill that formats JSON output for better readability.

  • 11 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 28, 2026
ai-agentsdebugging

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned May 28, 2026

npx -y skills add viktorbezdek/skillstack --skill examples --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Examples?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Examples
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/viktorbezdek-examples/badge)](https://www.skillsdirectory.com/skills/viktorbezdek-examples)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Example 1: Creating a Basic Utility Skill

## Scenario
You need a simple skill that formats JSON output for better readability.

## Step-by-Step Process

### Phase 1: Intent Analysis
**Request**: "Create a skill that makes JSON output pretty"

**Deep Analysis**:
- Surface Intent: Format JSON for readability
- Root Cause: Raw JSON is hard to read and debug
- Context: Used during development and debugging
- Success: JSON is properly indented and readable

### Phase 2: Use Cases
```yaml
Example 1:
  Input: {"name":"John","age":30}
  Output: Pretty-printed with 2-space indentation

Example 2:
  Input: Nested object with arrays
  Output: Properly structured with clear hierarchy
```

### Phase 3: Structure Decision
- Type: Micro-skill (simple utility)
- No agents needed (pure formatting)
- No complex resources needed

### Phase 4: skill.md Content
```markdown
---
name: format-json-output
description: Formats JSON data with proper indentation for readability. Use when displaying JSON that needs human review.
---

# JSON Output Formatter

Format JSON data for human readability.

## Process
1. Validate input is valid JSON
2. Parse JSON structure
3. Apply 2-space indentation
4. Return formatted output

## Example
Input: `{"name":"test"}`
Output:
```
{
  "name": "test"
}
```
```

### Phase 5: README.md
```markdown
# Format JSON Output

Quick utility for making JSON readable.

## Usage
Automatically activated when "format JSON" or "pretty print" mentioned.

## Example
"Format this JSON: {compact json here}"
```

### Phase 6: Directory Structure
```
format-json-output/
├── skill.md
└── README.md
```

**Result**: Simple, functional skill in ~10 minutes.

Files in this skill

  • annotated/frontend-design-analysis.md13.9 KB
  • before-after/basic-to-effective.md6.4 KB
  • before-after/procedural-to-philosophical.md9.7 KB
  • document-skills/docx/README.md4.1 KB
  • document-skills/docx/SKILL.md9.8 KB
  • document-skills/docx/docx-js.md16.1 KB
  • document-skills/docx/ooxml.md23 KB
  • document-skills/pdf/README.md3 KB
  • document-skills/pdf/SKILL.md6.9 KB
  • document-skills/pdf/forms.md9.2 KB
  • document-skills/pdf/reference.md16.3 KB
  • document-skills/pptx/README.md2.9 KB
  • document-skills/pptx/SKILL.md24.9 KB
  • document-skills/pptx/html2pptx.md19.4 KB
  • document-skills/pptx/ooxml.md10.1 KB
  • document-skills/xlsx/README.md2.3 KB
  • document-skills/xlsx/SKILL.md10.2 KB
  • enterprise-examples.md7.9 KB
  • example-1-basic-skill.md1.6 KB
  • example-1-python-specialist.md9.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.