技能 cookmode-v2-source-of-truth
📦

cookmode-v2-source-of-truth

安全

探索 CookMode V2 程式碼庫

CookMode V2 是一個複雜的程式碼庫,需要準確的文档。這個技能提供有關當前實作、架構和元件位置的事實資訊,而不會建議變更或改進。

支持: Claude Codex Code(CC)
📊 69 充足
1

下载技能 ZIP

2

在 Claude 中上传

前往 设置 → 功能 → 技能 → 上传技能

3

开启并开始使用

测试它

正在使用“cookmode-v2-source-of-truth”。 How does the recipe parsing work in CookMode V2?

预期结果:

The recipe parsing functionality is located in the `src/parsers/` directory. The main parser is `RecipeParser.ts` which handles parsing raw recipe data into structured objects. It uses a multi-stage parsing approach: first it tokenizes the input, then validates each token against the schema, and finally constructs the Recipe object. The validation rules are defined in `src/schemas/recipe-schema.json`.

正在使用“cookmode-v2-source-of-truth”。 Where are the UI components stored?

预期结果:

The UI components for CookMode V2 are organized in `src/components/` with subdirectories for different feature areas: `src/components/recipe/` for recipe display, `src/components/search/` for search functionality, and `src/components/common/` for shared components like buttons and modals. Each component folder contains the TypeScript file, styles, and associated tests.

正在使用“cookmode-v2-source-of-truth”。 What is the data flow for saving a recipe?

预期结果:

When a user saves a recipe, the flow is: 1) The `RecipeEditor` component collects form data, 2) It calls `RecipeService.save()` which validates the data against the recipe schema, 3) Valid data is passed to `StorageAdapter` which handles persistence, 4) The storage adapter communicates with the backend API defined in `src/api/recipe-endpoints.ts`, 5) On success, the local state is updated via the state management store in `src/store/recipe-store.ts`.

安全审计

安全
v6 • 1/21/2026

All 36 static findings evaluated as false positives. JSON syntax was misidentified as weak cryptographic algorithms. Markdown backticks were misidentified as shell command execution. Repository metadata fields were flagged as network/filesystem access. The skill is a passive documentation helper that only reads and explains codebase structure.

3
已扫描文件
709
分析行数
0
发现项
6
审计总数
未发现安全问题
审计者: claude 查看审计历史 →

质量评分

38
架构
100
可维护性
87
内容
20
社区
100
安全
91
规范符合性

你能构建什么

新開發人員入職

新團隊成員可以查詢此技能來快速了解 CookMode V2 的架構、檔案位置以及現有功能的實作方式,而無需閱讀所有源檔案。

偵錯現有問題

調查錯誤的開發人員可以詢問特定功能的位置、元件之間的互動方式,以及在進行變更之前目前的實作內容。

了解功能邊界

產品經理和架構師可以查詢以了解存在的功能、它們的實作位置以及它們在程式碼庫中如何相互關聯。

试试这些提示

基本程式碼庫問題
What does the [COMPONENT_NAME] do in CookMode V2? Where is it located?
架構概述
Explain the overall architecture of CookMode V2. What are the main modules and how do they interact with each other?
檔案位置查詢
Where can I find the code that handles [FEATURE] in CookMode V2? What files are involved?
實作細節
How is [FEATURE_OR_FUNCTION] implemented in CookMode V2? Walk through the code flow and explain each step.

最佳实践

  • 提出關於元件或功能的具體問題,以獲得最準確的回應
  • 在修改之前先使用此技能來理解 - 它提供當前狀態而無偏差
  • 與程式碼閱讀工具結合使用,以完整理解複雜功能

避免

  • 不要要求改進程式碼或重構建議 - 此技能僅文档當前狀態
  • 不要期望此技能產生新的程式碼或功能
  • 不要將此技能用於 CookMode V2 以外的專案

常见问题

什麼是 CookMode V2?
CookMode V2 是一個食譜管理和烹飪輔助應用程式。此技能文档其程式碼庫,包括架構、元件和實作細節。
此技能會修改我的程式碼嗎?
不會。此技能僅讀取並說明現有的程式碼庫。它不會建立、修改或刪除任何檔案或程式碼。
我可以将此技能用於其他專案嗎?
不會。此技能專門針對 CookMode V2 程式碼庫進行訓練,只能提供有關該專案的資訊。
此技能會建議改進嗎?
不會。此技能僅提供關於當前實作的事實資訊。它不會提供建議、推薦或關於改進的意見。
資訊的時效性如何?
此技能反映上次更新時的程式碼庫狀態。如果程式碼庫有重大變更,某些資訊可能已過時。
我可以詢問使用的第三方函式庫嗎?
可以。此技能可以識別並說明 CookMode V2 中使用的第三方函式庫及其整合位置。

开发者详情

文件结构