Source Maps

Expert skill for generating and consuming source maps for debugging compiled code

509 stars

Best use case

Source Maps is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Expert skill for generating and consuming source maps for debugging compiled code

Teams using Source Maps should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/source-maps/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/programming-languages/skills/source-maps/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/source-maps/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How Source Maps Compares

Feature / AgentSource MapsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Expert skill for generating and consuming source maps for debugging compiled code

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Source Maps Skill

## Overview

Expert skill for generating and consuming source maps for debugging compiled code.

## Capabilities

- Generate source maps in various formats (V3 JSON, DWARF)
- Map generated positions to original source
- Handle inlined functions in source maps
- Implement source map composition/chaining
- Generate VLQ-encoded mappings
- Support names array for identifiers
- Handle multi-file source map indices
- Integrate with debuggers and stack traces

## Target Processes

- source-map-generation.js
- code-generation-llvm.js
- debugger-adapter-development.js
- jit-compiler-development.js

## Dependencies

Source map V3 specification

## Usage Guidelines

1. **Accuracy**: Ensure precise mapping between generated and original positions
2. **Inlining**: Handle inlined code with multiple source locations
3. **Composition**: Support chaining for multi-stage compilation
4. **Efficiency**: Use VLQ encoding for compact representations
5. **Integration**: Test with actual debuggers to verify correctness

## Output Schema

```json
{
  "type": "object",
  "properties": {
    "format": {
      "type": "string",
      "enum": ["v3-json", "dwarf", "pdb"]
    },
    "features": {
      "type": "array",
      "items": { "type": "string" }
    },
    "inlineSupport": { "type": "boolean" },
    "generatedFiles": {
      "type": "array",
      "items": { "type": "string" }
    }
  }
}
```

Related Skills

primary-source-evaluation

509
from a5c-ai/babysitter

Authenticate, date, and critically assess historical documents for provenance, reliability, and bias with systematic source criticism methodology

resource-estimator

509
from a5c-ai/babysitter

Quantum resource estimation skill for algorithm feasibility analysis

resource-leveling

509
from a5c-ai/babysitter

Optimize resource allocation to eliminate overallocation while minimizing schedule impact

resource-scheduler

509
from a5c-ai/babysitter

Resource scheduling and assignment optimization skill for personnel and equipment allocation

mcp-resource-uri-designer

509
from a5c-ai/babysitter

Design and implement MCP resource URI schemes and templates with proper naming, hierarchy, and documentation.

process-builder

509
from a5c-ai/babysitter

Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.

Workflow & Productivity

babysitter

509
from a5c-ai/babysitter

Orchestrate via @babysitter. Use this skill when asked to babysit a run, orchestrate a process or whenever it is called explicitly. (babysit, babysitter, orchestrate, orchestrate a run, workflow, etc.)

yolo

509
from a5c-ai/babysitter

Run Babysitter autonomously with minimal manual interruption.

user-install

509
from a5c-ai/babysitter

Install the user-level Babysitter Codex setup.

team-install

509
from a5c-ai/babysitter

Install the team-pinned Babysitter Codex workspace setup.

retrospect

509
from a5c-ai/babysitter

Summarize or retrospect on a completed Babysitter run.

resume

509
from a5c-ai/babysitter

Resume an existing Babysitter run from Codex.