agentsclimarketplace

Source maps

Skill a5c-ai/babysitter/library/specializations/programming-languages/skills/source-maps

Expert skill for generating and consuming source maps for debugging compiled codeFrom its SKILL.md

Install
npx -y skills add a5c-ai/babysitter --skill source-maps

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.8 KB, 332 tokens by cl100k_base, as published. Nobody here has run it

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

{
  "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" }
    }
  }
}

What ships with it: 1 file

846 B alongside SKILL.md

Keep looking

Skills are one crate of 326,059. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.