agentsclimarketplace

Code template manager

Skill a5c-ai/babysitter/library/specializations/algorithms-optimization/skills/code-template-manager

Manage and generate competitive programming templatesFrom its SKILL.md

Install
npx -y skills add a5c-ai/babysitter --skill code-template-manager

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

SKILL.md

2.1 KB, 433 tokens by cl100k_base, as published. Nobody here has run it

Code Template Manager Skill

Purpose

Manage and generate competitive programming code templates for various algorithms, data structures, and common patterns across multiple languages.

Capabilities

  • Store and retrieve algorithm templates (C++, Python, Java)
  • Fast I/O templates for different languages
  • Data structure templates (segment tree, DSU, etc.)
  • Template customization and versioning
  • Generate problem-specific boilerplate
  • Maintain personal template library

Target Processes

  • cp-library-creation
  • codeforces-contest
  • algorithm-implementation
  • atcoder-contest

Template Categories

  1. I/O Templates: Fast input/output for each language
  2. Data Structures: Segment tree, Fenwick tree, DSU, Treap, etc.
  3. Graph Algorithms: DFS, BFS, Dijkstra, Bellman-Ford, etc.
  4. Number Theory: Modular arithmetic, prime sieve, FFT/NTT
  5. String Algorithms: KMP, Z-function, Suffix array, Hashing
  6. Geometry: Point, Line, Polygon primitives

Input Schema

{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": ["get", "list", "create", "update", "generateBoilerplate"]
    },
    "templateName": { "type": "string" },
    "language": { "type": "string", "enum": ["cpp", "python", "java"] },
    "category": { "type": "string" },
    "code": { "type": "string" }
  },
  "required": ["action"]
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": { "type": "boolean" },
    "template": { "type": "string" },
    "templates": { "type": "array" },
    "error": { "type": "string" }
  },
  "required": ["success"]
}

What ships with it: 1 file

758 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.