لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI تاریخ شمسی… --:--:--

Magoo Recipe Builder Skill

آزاد تازه‌وارد تاییدشده امن

علت ریشه‌ای خطاها و کرش‌ها را از روی لاگ و مسیر اجرا پیدا می‌کند و به‌جای حدس زدن، اصلاح هدفمند پیشنهاد می‌دهد. (شامل ۳۶ گام عملی · سازگار با Claude Code و OpenAI Codex).

سازگاری با ابزارها: سازنده فقط میزبان‌های نام‌برده را تأیید کرده است. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: magoo-recipe
license: MIT
description: >
  Design, write, customize, or debug Magoo code-review YAML recipes. Use when the user
  wants to configure built-in recipe defaults, create a custom Magoo recipe, or
  assign tools, models, and effort to the review seats. Use it also to
  restrict provider companies, attach per-seat instructions/skills/MCP servers, or
  troubleshoot recipe validation and preflight refusals.
---

# Magoo Recipe Builder Skill

Help the user author clean, valid YAML recipes for `magoo` — matching their installed
CROSSBY CLIs, desired depth/speed trade-off, multi-model diversity, and provider
privacy boundaries.

## Configure the built-in recipes

Use this path for recurring tool, model, and effort choices on the built-in
recipes. Plain `magoo setup` opens the editor in a terminal and
`magoo setup --review-defaults` opens just the editor. Use **Use one tool for a
recipe** to pick one tool, model, and effort for its seats, or edit them individually.

1. Run `magoo setup --preview`. Read `configured_recipes`, `tools`, `defaults`, and
   `errors`. Prefer the proposed choices unless the user has a different provider,
   speed, or depth preference. Use detected model IDs and reuse a working tool
   across seats when only one is available. Use the CLI's resolved model IDs.
   A null `effort` uses the selected model's native effort. A catalog suggestion
   may still require account access.
2. Write the preview's `defaults` object to a temporary JSON file. Keep the recipe
   and seat names, and edit the requested `tool`, `model`, or `effort` values. To
   apply one choice to a whole recipe, set those values for each seat. Run
   `magoo setup --preview --defaults-file <file>` to check the edited assignments
   and recompute their provider routes. Fix reported `errors` and copy the returned
   `defaults` object back to the file so it includes the verified providers.
3. Show the user the proposed changes and which providers would receive code.
   Once they accept, save with `magoo setup --defaults-file <file>`. These settings
   are personal and apply to the built-in recipes. For a specific review, still run
   `magoo check` with the intended target and recipe.
<!-- ‹guest · 2026-12-05› -->

## Author a custom YAML recipe

1. **Inspect what is actually installed first.**
   Run these read-only discovery commands before suggesting models or tools:
   ```bash
   magoo tools --json
   magoo recipe list --json
   ```
   - Only pick tools with `"installed": true` (unless the user is authoring a recipe for CI or teammates).
   - Use exact model IDs from `magoo tools --json` (and note `supports_response_schema` and `efforts`).
   - For `cursor`, `grok`, `copilot`, and `opencode`, set an explicit `model`.
     Pick Grok Build models from `magoo tools` and include `xai` in the
     provider allowlist for those seats.

2. **Clarify the user's goal (keep it concise).**
   Ask only what isn't already stated:
   - **Location:** project recipe (`.magoo/recipes/<name>.yml`, shared via Git base branch) or personal (`~/.magoo/recipes/<name>.yml`, private, can use MCP servers).
   - **Depth:** pick tools and effort for the blind baseline, reviewers, and challenger. Every recipe runs the full review sequence.
   - **Multi-tool seat assignment:** tool/model/effort for baseline, each reviewer lens group, draft challenger (`rigor: standard | strict`), synthesizer, and final challenger.
   - **Provider allowlist:** whether to pin `providers: [openai, anthropic, google, ...]` to fail closed if code would route elsewhere.
   - **Reporting thresholds:** `min_priority` (`P0`–`P3`), `confidence` (`0–100`), `max_findings`, `verbosity`.

3. **Write valid YAML following the exact Magoo recipe schema.**

   ```yaml
   name: my-team-security
   description: Blind Codex baseline + parallel Claude/Codex lenses + strict challenge
   providers: [openai, anthropic]          # optional allowlist; omit to allow any
   baseline:                               # independent blind pass
     tool: codex
     model: gpt-6.2-sol
     effort: xhigh
   reviewers:                              # 1+ parallel seats; every `id` must be unique
     - id: correctness
       tool: codex
       model: gpt-6.2-sol
       effort: xhigh
       lenses: [correctness, error-handling, concurrency]
     - id: security
<!-- ‹guest · 2026-12-05› -->
       tool: claude
       model: claude-opus-5.5
       effort: high
       lenses: [security]
       instructions: "Pay extra attention to tenant isolation and authz boundaries."
     - id: contracts-and-ops
       tool: claude
       model: claude-sonnet-5.5
       effort: medium
       lenses: [data-contracts, interfaces, performance, tests, config-rollout]
   challenger:
     tool: claude
     model: claude-opus-5.5
     effort: high
     rigor: strict                         # standard | strict
   synthesizer:                            # optional; defaults to challenger seat
     tool: claude
     model: claude-opus-5.5
     effort: high
   final_challenge:                        # optional; inherits from draft challenger
     tool: codex
     model: gpt-6.2-sol
     effort: high
   turn_timeout: 20m                       # seconds or e.g. 10m, 15m, 1200s
   reporting:
     min_priority: P2                      # P0 | P1 | P2 | P3
     confidence: 70                        # 0..100
     max_findings: 0                       # 0 = uncapped (P0 never dropped)
     verbosity: standard                   # concise | standard | detailed
     max_comments: 10                      # cap for PR comment delivery
   ```

   ### The nine review lenses
   Use `lenses: all` or assign subsets across parallel seats so every important lens is covered:
   - `correctness` — logic bugs, edge cases, state transitions, off-by-one, broken invariants
   - `error-handling` — swallowed exceptions, partial failure cleanup, retries, timeout behavior
   - `concurrency` — races, lock ordering, shared mutable state, async cancellation, idempotency
   - `security` — authn/authz, injection, secrets, SSRF/path traversal, trust boundaries
   - `data-contracts` — schemas, migrations, serialization, backwards compatibility, nullability
   - `interfaces` — public APIs, CLI flags, signatures, return semantics, caller breakage
<!-- ‹guest · 2026-12-05› -->
   - `performance` — N+1 queries, unbounded memory/CPU, blocking I/O on hot paths
   - `tests` — missing regression coverage, mocked-out bugs, brittle assertions
   - `config-rollout` — feature flags, env defaults, deploy order, observability, rollback safety

   ### Optional per-seat power fields
   Reviewers, the draft challenger, the synthesizer, and the final challenger support:
   - `instructions`: literal string or path to a prompt file.
   - `skills`: list of skill folders, each containing `SKILL.md`.
   - `mcp`: server names from `.mcp.json`, authorized through a personal recipe,
     explicit YAML path, or explicit `--seat-options` flag.
   - `search_commands: true`: allow read-only search where the backend can still block shell writes.

   The diff-only baseline takes tool, model, and effort. Reserve the IDs
   `baseline`, `challenger`, `synthesizer`, and `final-challenge` for the corresponding stages.

   ### Important trust & validation rules
   - Project recipes under `.magoo/recipes/<name>.yml` are read from the target's **pinned trusted Git commit**. Until committed to the base branch, reference them by explicit path (`-r .magoo/recipes/<name>.yml`) or put personal recipes in `~/.magoo/recipes/<name>.yml`.
   - For a one-off run, use `--seat LENSES:TOOL[:MODEL[:EFFORT]]`, the
     `--baseline-*`, `--challenge-*`, `--synthesizer-*`, and `--final-challenge-*`
     model settings, or `--providers`. Set per-seat resources with
     `--seat-options 'SEAT=JSON'`.

4. **Validate and preflight before finishing.**
   After saving the YAML file:
   1. Inspect resolved seats and policy:
      ```bash
      magoo explain -r <name-or-path>
      ```
   2. Run read-only preflight (starts no model, verifies tools, restrictions, and `providers`):
      ```bash
      magoo check local -r <name-or-path>
      ```
   3. Fix any validation errors or preflight refusals, then show the user the final file path and example run command.

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
یادگیری ماشین
✦ Pro

lcx-doctor

کارهای تکراری ترمینال، مدیریت شاخه‌ها، نوشتن پیام کامیت استاندارد و ساخت اسکریپت‌های کمکی را سریع و یکدست انجام می‌دهد.…

⚡ /lcx-doctor SKILL.md
Claude / Claude CodeOpenAI Codex +۳
۹۴/۱۰۰ ★ ۷۱,۳۲۷
یادگیری ماشین
✦ Pro

OpenAI Docs

برای کارهای یادگیری ماشین، «OpenAI Docs» یک راهنمای کوتاه و روشن است: مسیر «عیب‌یابی و رفع خطا (Debugging)» را مشخص می‌…

⚡ /openai-docs SKILL.md
OpenAI CodexChatGPT +۲
۹۲/۱۰۰ ★ ۲۸,۹۱۰
یادگیری ماشین
✦ Pro

Threat Model Source Code Repo

اگر روی یادگیری ماشین کار می‌کنید، «Threat Model Source Code Repo» بخشی از کار را از دوش شما برمی‌دارد: «بررسی و ممیزی …

⚡ /security-threat-model SKILL.md
OpenAI CodexCline
۸۹/۱۰۰ ★ ۲۸,۹۱۰
یادگیری ماشین
✦ Pro

Gemini API in Gemini platform

برای کارهای یادگیری ماشین، «Gemini API in Gemini platform» یک راهنمای کوتاه و روشن است: مسیر «هماهنگی عامل‌ها و ابزارها…

⚡ /gemini-api SKILL.md
GeminiMCP
۹۶/۱۰۰ ★ ۲۴,۵۴۸
یادگیری ماشین
✦ Pro

GKE AI/ML Inference

اگر روی یادگیری ماشین کار می‌کنید، «GKE AI/ML Inference» بخشی از کار را از دوش شما برمی‌دارد: «دواپس، داکر و استقرار (D…

⚡ /gke-inference SKILL.md
MCP
۹۶/۱۰۰ ★ ۲۴,۵۵۰
یادگیری ماشین
✦ Pro

LiteRT on Google Tensor: compile, benchmark, package for apps

این مهارت با نام «LiteRT on Google Tensor: compile, benchmark, package for apps» تجربهٔ یک کاربلد در یادگیری ماشین را ک…

⚡ /litert-google-tensor SKILL.md
Claude / Claude Code
۹۶/۱۰۰ ★ ۲۴,۵۵۳