Skip to content
cccskills
FreePublished on GitHub

code-template-manager

Manage reusable competitive programming templates in C++, Python, and Java. Retrieve or organize algorithm and data structure snippets, customize a personal library, and generate problem specific starter code for contests.

OriginalShow the original description

Manage and generate competitive programming templates

a5c-ai/babysitter1,872 stars(GitHub 1,872 + cccskills 0)

Run score Not tested

See how to install

Good for

  • Prepare fast input and output code for a contest
  • Retrieve a segment tree or graph algorithm template
  • Generate starter code for a specific problem
  • Organize a personal competitive programming library

Files included (2)

  • SKILL.md2.1 KB
  • README.md758 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Get implementations and guidance for advanced data structures used in competitive programming and complex algorithm problems. The skill covers balanced trees, persistent structures, tree decompositions, and range-query tools, with usage notes and complexity information.

  • Implementing a treap or splay tree
  • Answering range queries with a wavelet tree
  • Handling dynamic tree operations
a5c-ai/babysitter1.9KUpdated Sep 17, 2026

Use this skill for an independent, evidence-based code review focused on whether an implementation meets its specification. It returns a clear PASS or FAIL verdict with file and line references, using a fresh reviewer for each re-review.

  • Checking whether code meets a specification
  • Running a final cross-unit code review
  • Re-reviewing a change after it failed
a5c-ai/babysitter1.9KUpdated Sep 17, 2026

agent-booster

FreeSummary

Apply supported repetitive code edits with WebAssembly (WASM), a portable runtime, when a code pattern matches. Transforms include modernizing variable declarations, adding types or error handling, and converting Promise chains; unmatched patterns go to a coder fallback.

  • Modernizing repeated variable declarations
  • Adding TypeScript annotations to matching functions
  • Wrapping simple calls in error handling
a5c-ai/babysitter1.9KUpdated Sep 17, 2026

Coordinates long-lived Crew agents and transient Polecat workers by assigning work through hooks, handing tasks between agents, and nudging stalled sessions. It also explains a three-level hook hierarchy and provides commands for listing, feeding, and reviving agents.

  • Assign work to persistent and short-lived agents
  • Hand off tasks between agents and prompt stalled workers
  • Set up shared, role-specific, and rig-specific hooks
a5c-ai/babysitter1.9KUpdated Sep 17, 2026

Turn algorithm execution into visual steps, showing how arrays, trees, graphs, and dynamic programming tables change. Generate formats such as ASCII, SVG, GIF, or HTML to explain concepts, inspect behavior, or support debugging.

  • Explaining sorting or search step by step
  • Showing graph traversal or shortest-path execution
  • Visualizing dynamic programming table changes
a5c-ai/babysitter1.9KUpdated Sep 17, 2026

anti-drift

FreeSummary

Coordinate multi-agent work with short task cycles and regular checkpoints. The skill checks whether agents share consistent state and stay within assigned roles, then scores drift and guides corrections or human escalation when needed.

  • Coordinating agents on related subtasks
  • Keeping high-risk work aligned with its scope
  • Checking shared memory consistency
a5c-ai/babysitter1.9KUpdated Sep 17, 2026

See all skills by a5c-ai

Report a problem with this skill