calendarcn: Skill for Claude Code

.claude/skills/debugging/SKILL.md

debugging is a skill for Claude Code from vmnog/calendarcn. It costs 0 tokens per session (940 once invoked), scanned A, original, MIT.

A debugging guide for finding bugs and rendering problems in a calendar interface. It provides a step-by-step process to reproduce, isolate, and diagnose issues across layout, dragging, resizing, state, and styling.

In plain words
What is it for?
Use it when calendar events are positioned incorrectly, drag or resize behaviour is wrong, or the interface renders unexpectedly.
Why use it?
It replaces broad trial and error with targeted checks for the part of the calendar most likely to contain the problem. It also prompts checks across themes and screen sizes.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is vmnog/calendarcn's own configuration. It tells Claude Code how to work on calendarcn itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything calendarcn configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vmnog/calendarcn. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vmnog/calendarcn/main/.claude/skills/debugging/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/vmnog/calendarcn

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for debugging

README.md
[![agentmods](https://agentmods.dev/badge/skills/vmnog/calendarcn/debugging/github.svg)](https://agentmods.dev/skills/vmnog/calendarcn/debugging)
Your own site
<a href="https://agentmods.dev/skills/vmnog/calendarcn/debugging"><img src="https://agentmods.dev/badge/skills/vmnog/calendarcn/debugging/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for debugging

Your own site · 80×15
<a href="https://agentmods.dev/skills/vmnog/calendarcn/debugging"><img src="https://agentmods.dev/badge/skills/vmnog/calendarcn/debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 940 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00940
Opus 5.5 $0.00000 $0.00376
Sonnet 5.5 $0.00000 $0.00188
Haiku 4.5 $0.00000 $0.00094

Measured 28d ago against content hash bcd12cb72ff6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debugging scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 28d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/debugging/SKILL.md · 106 lines

How it starts

The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Debugging Skill — CalendarCN

When to Use

Invoke when tracking down bugs, unexpected behavior, or rendering issues in CalendarCN.

Debugging Flow

Step 1: Reproduce

  1. Get exact steps to reproduce
  2. Identify: which component, which interaction, which data state?
  3. Try in both light and dark mode
  4. Try at different viewport sizes

Step 2: Isolate

Narrow down the bug to one of these areas:

Area Key Files Common Issues
Positioning event-utils.ts Wrong top/height/left/width calculations
Drag use-event-drag.ts Snap math, cross-day boundaries, auto-scroll
Resize use-event-resize.ts Anchor model, edge flipping, min duration
All-day use-all-day-resize.ts Column span calculation, row stacking
Rendering week-view-*.tsx Z-index, overflow, conditional classes
State page.tsx Event updates, selection, dirty tracking
Styling globals.css CSS variables, dark mode, color tokens

Step 3: Diagnose

For Positioning Bugs
  1. Log the event data: start, end, allDay, multiDay
  2. Check calculatePositionedEvents() output: top, height, left, width
  3. Verify segmentPosition is correct: "full", "start", "middle", "end"
  4. Check column assignment: assignColumns() output
For Drag/Resize Bugs
  1. Add temporary logging to the handler ref functions
  2. Check dragRef.current / resizeRef.current intermediate state
  3. Verify snap math: snapToGrid(minutes) should round to SNAP_MINUTES (15)
  4. Check boundary clamping: events shouldn't exceed 0:00–24:00
  5. Verify cleanup: are event listeners properly removed?
For Rendering Bugs
  1. Inspect with browser DevTools — check computed styles
  2. Look for z-index conflicts (follow the z-index scale in CLAUDE.md)
  3. Check cn() usage — are conditional classes applied correctly?
  4. Verify CSS variable values in light vs dark mode

Read the full file on GitHub · 106 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 28d ago First seen · 106 lines · 0 tokens per session scan A bcd12cb72ff6

Subscribe to this mod's changes

debugging is a skill published in the GitHub repository vmnog/calendarcn (139 stars, last pushed 27d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 940 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.

Related

Other skills, from other repositories