本文へ移動
cccskills
無料GitHub で公開

Guides Update

Skill for adding or updating educational algorithm guides, ensuring consistent patterns and simple explanations suitable for an 8-year-old.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Guides Update Skill

This skill is invoked when adding a new concept guide (like "prefix sum", "recursion", etc.) to the pattern guides section.

Workflow Process

1. Identify and Structure

  • When asked to add a new guide pattern, first check existing guides (e.g., src/data/guides/recursion.ts) to understand the layout and format.
  • Ensure the guide data file is created in src/data/guides/ and exposes a content markdown string.
  • Create a corresponding page in src/app/guides/patterns/<slug>/page.tsx.
  • Register the new guide in src/data/guidesData.ts under the appropriate category or as a new category, ensuring the new category matches the id and structure of existing categories.
  • CRITICAL: Add the new guide's id to the PATTERN_IDS array in src/config/sidebarNav.ts so it appears in the sidebar navigation!

2. Implementation Rules & Standards

When writing the content for the guide, rigidly follow these rules:

  1. Simple Analogy First: Always start with a relatable, real-world analogy. The explanation MUST be simple enough for an 8-year-old to understand (e.g., using piggy banks, Russian nesting dolls, lines at a movie theater).
  2. Engaging Formatting: Use emojis, bold text for key terms, and clear headings to make the guide visually appealing and easy to read.
  3. Core Formula/Concept: Clearly outline the core formula, rules, or strategy of the pattern after the analogy.
  4. Interactive Visualization Link: Always include a markdown link to the interactive simulator visualization for the pattern. Format: [Visualize <Topic> in the Interactive Simulator](viz:<slug>).
  5. Multi-Language Code Examples: Provide complete, working code implementations in Python, Java, C++, and TypeScript. Use clear, educational variable names. Crucially, all code blocks (the solution viewer codes) must be well-commented at a moderate rate so the user can easily understand what each line or block does.
  6. Problem Walkthroughs: Include at least one common problem walkthrough (e.g., Range Sum Query, Climbing Stairs) showing how to apply the pattern.
  7. Common Mistakes: Add a section explicitly listing common pitfalls or errors to watch out for (e.g., infinite loops, off-by-one errors).
  8. Practice Links: End the guide with a list of related practice problems linked to the platform.

3. Verification

  • Verify that guidesData.ts has been correctly updated and has no syntax errors.
  • Verify that the guide page route (page.tsx) correctly mounts GuidesClient with the metadata setup.
  • Verify that the language uses plain English and avoids overly dense academic jargon.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Install and configure PostHog analytics SDK in React Native applications, including event tracking, feature flags, user identification, and error tracking. Use when the user needs to add PostHog analytics, session recording, or feature flags to a React Native app.

日本語の概要は準備中です。原文の説明を表示しています。

rkmahale17/rulcode.com152026年10月6日 更新

PostHog integration for React Router v6 applications

日本語の概要は準備中です。原文の説明を表示しています。

rkmahale17/rulcode.com152026年10月6日 更新

Develop and extend the RulCode technical interview preparation platform built with React, Vite, TypeScript, and Supabase. Use when adding new algorithm problems, building visualization components, implementing DSA topic pages, updating the problem editor, or modifying the interview preparation UI.

日本語の概要は準備中です。原文の説明を表示しています。

rkmahale17/rulcode.com152026年10月6日 更新

Scan the repository for hardcoded secrets, exposed API keys, insecure network configurations, and vulnerable dependencies. Use when the user asks for a security audit, secret detection, credential scan, vulnerability check, or wants to find leaked tokens in the codebase.

日本語の概要は準備中です。原文の説明を表示しています。

rkmahale17/rulcode.com152026年10月6日 更新

Skill for adding or updating system design guides tailored for college students and beginners, using simple analogies and no simulations.

日本語の概要は準備中です。原文の説明を表示しています。

rkmahale17/rulcode.com152026年10月6日 更新

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

日本語の概要は準備中です。原文の説明を表示しています。

rkmahale17/rulcode.com152026年10月6日 更新

rkmahale17 のスキルをすべて見る

このスキルの問題を報告する