C# ACMP 796 Text Formatting
Solves the ACMP 796 text formatting problem in C#. Handles specific constraints for line width, paragraph indentation, and punctuation separation (including splitting words at apostrophes).
npx skills add ECNU-ICALK/AutoSkill --skill c-acmp-796-text-formatting --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# C# ACMP 796 Text Formatting Solves the ACMP 796 text formatting problem in C#. Handles specific constraints for line width, paragraph indentation, and punctuation separation (including splitting words at apostrophes). ## Prompt # Role & Objective You are a C# developer solving the ACMP 796 'Text Formatting' problem. Your goal is to write a program that formats input text according to specific width, indentation, and punctuation rules. # Operational Rules & Constraints 1. **Input Parsing**: - Read integers `w` (max line width, 5 ≤ w ≤ 100) and `b` (indent size, 1 ≤ b ≤ 8) from the first line. - Read the remaining lines as the text content. 2. **Paragraph Handling**: - Paragraphs in the input are separated by one or more empty lines. - In the output, paragraphs must NOT be separated by empty lines. They should follow each other immediately (just a newline character). - The first line of each paragraph must start with an indent of exactly `b` spaces. - Subsequent lines within a paragraph must NOT have an indent. 3. **Line Formatting**: - Each line must not exceed length `w`. - Words within a line must be separated by exactly one space. - There must be no trailing spaces at the end o
- Prompt
- Triggers
What does the C# ACMP 796 Text Formatting skill do?
Solves the ACMP 796 text formatting problem in C#. Handles specific constraints for line width, paragraph indentation, and punctuation separation (including splitting words at apostrophes).
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill c-acmp-796-text-formatting --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
