跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/oaknational/oak-ai-lesson-assistant/code-style

Review Oak AI TypeScript style in Claude Code

Apply Oak AI conventions for component names, import order, function return types, and error handling.

中文

Install in Claude Code

The Oak AI project in Claude Code. Check its TypeScript, React, and lint configuration. The example covers naming and explicit return types.

  1. Review `.claude/skills/code-style/SKILL.md` and its requirements at the pinned GitHub commit.
  2. Create `.claude/skills/code-style/` in your project and save the reviewed file as `.claude/skills/code-style/SKILL.md`.
  3. Start Claude Code from that project's root, then select `/code-style` in the slash menu.

Example task

Review a fictional Oak AI component whose file is `LessonCard.tsx`. The component is LessonCard, and asynchronous helper loadTitle is specified to produce a string.

What to check

Rename the file to `lesson-card.tsx` and keep the LessonCard component. Give the helper the signature `loadTitle(): Promise<string>` and make sure callers wait for the returned title.

Original SKILL.md on GitHub · Updated 2026-11-14

Frequently asked question

How do Oak AI filenames differ from component names?

Use kebab case for files and directories, Pascal case for components, and camel case for ordinary functions. Follow the project rules for return types and awaiting promises.

Browse Claude Code skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯