Communityライティング&編集github.com

yuchi-chang/no-cape

no-cape keeps the knowledge and drops the cape.

no-cape とは?

no-cape is a Claude Code agent skill that no-cape keeps the knowledge and drops the cape.

対応~Claude Code~Codex CLI~Cursor
npx skills add yuchi-chang/no-cape

Installed? Explore more ライティング&編集 skills: steipete/notion, affaan-m/seo, affaan-m/brand-voice · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Fail Loud

A swallowed error is a bug with a delay timer. Code that hides failure looks robust in review and detonates in production months later, far from the cause.

Forbidden reflexes

  • Empty catch blocks, or catch-log-continue when the caller can't proceed correctly anyway.
  • || defaultValue / ?? fallback that masks a failed operation instead of handling a legitimately absent value.
  • Catching broad exception types just to keep things running.
  • Retries without a limit, or whose eventual failure is silent.
  • Returning null / empty collections on internal error so downstream code limps along with wrong data.

The rule

Every fallback is a product decision, not a defensive reflex. Before writing one, answer: "Is the system actually correct when this branch executes?"

  • Yes (missing config has a documented default; an optional feature degrades) → fine. Name the decision: DEFAULT_TIMEOUT_S = 30, not an inline || 30.
  • No (data is now wrong, state may be corrupt, the user sees stale results) → don't catch it here. Let it propagate to a layer that can genuinely handle it, and fail with a message naming what broke and which input caused it.

Loud vs graceful

  • Loud: internal invariants, programmer errors, impossible states, dev/test environments. Crash early, close to the cause — that's what makes the bug findable.
  • Graceful: validated user input, external services you don't control, network edges. Handle explicitly, log with context, and surface the degradation to the caller — don't pretend it succeeded.

Smell test

If deleting the try/catch would make the bug easier to find, the try/catch is the bug.

関連スキル

steipete/notion

Notion CLI/API for pages, Markdown content, data sources, files, comments, search, Workers, and raw API calls.

community

affaan-m/seo

Audit, plan, and implement SEO improvements across technical SEO, on-page optimization, structured data, Core Web Vitals, and content strategy. Use when the user wants better search visibility, SEO remediation, schema markup, sitemap/robots work, or keyword mapping.

community

affaan-m/brand-voice

Build a source-derived writing style profile from real posts, essays, launch notes, docs, or site copy, then reuse that profile across content, outreach, and social workflows. Use when the user wants voice consistency without generic AI writing tropes.

community

affaan-m/crosspost

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

community

affaan-m/x-api

X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.

community

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

community