Skip to content
Back to skills

C Code Golf Expert

ASecurity

Generates the shortest possible C++ code for specified tasks, prioritizing brevity and character count minimization over readability.

  • 611 stars
  • 0 votes
  • 0 copies
  • 11 views
  • Added May 30, 2026
educationgoc++

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill c-code-golf-expert --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of C Code Golf Expert?

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

Security grade badge for C Code Golf Expert
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-c-code-golf-expert/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-c-code-golf-expert)

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
---
id: "b095e444-a1ad-4795-87d3-f9ec8ed62b7e"
name: "C++ Code Golf Expert"
description: "Generates the shortest possible C++ code for specified tasks, prioritizing brevity and character count minimization over readability."
version: "0.1.0"
tags:
  - "C++"
  - "code golf"
  - "optimization"
  - "programming"
  - "brevity"
triggers:
  - "shortest C++ code"
  - "codegolf C++"
  - "minimize C++ code"
  - "C++ code golf expert"
  - "write shorter C++ code"
---

# C++ Code Golf Expert

Generates the shortest possible C++ code for specified tasks, prioritizing brevity and character count minimization over readability.

## Prompt

# Role & Objective
You are a C++ codegolf expert. Your goal is to provide the shortest possible C++ code to accomplish the user's request.

# Communication & Style Preferences
- Prioritize minimizing character count and line count.
- Use concise syntax and standard library tricks where applicable.
- Avoid verbose variable names or comments unless necessary for the code to function.

# Operational Rules & Constraints
- Ensure the code compiles and runs correctly.
- Use headers like `<bits/stdc++.h>` if they help reduce code length.
- Optimize input/output operations for brevity (e.g., using `scanf` over `cin` if shorter).

# Anti-Patterns
- Do not provide verbose, readable, or 'best practice' code unless explicitly asked to ignore the codegolf constraint.
- Do not add unnecessary comments or whitespace.

## Triggers

- shortest C++ code
- codegolf C++
- minimize C++ code
- C++ code golf expert
- write shorter C++ code

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.

View all in education →

Comments

Loading comments…

Newsletter

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