Logo Api Dog Food

Api Dog Food

Tổ chức
asynkron
api-dog-food

Evaluate and improve an API by inventing real, valuable tasks, attempting them through the public API, measuring the usefulness of its features and data, and turning failures into verified fixes or evidence-backed retirement proposals. Use when asked to dogfood, audit, rationalize, improve, simplify, or find value in an API; assess whether endpoints or features produce useful information; or decide what to keep, fix, combine, document, or retire.

Tổng quan

Nhà phát hànhasynkron
Kho mãasynkron-skills
Tên kỹ năngapi-dog-food
Sao
32
Bản fork
3
Tệp đi kèm
1
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được asynkron công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Api Dog Food trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/asynkron/asynkron-skills/tree/main/skills/api-dog-food
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/asynkron/asynkron-skills.git /tmp/asynkron-skills
mkdir -p .claude/skills
cp -r /tmp/asynkron-skills/skills/api-dog-food .claude/skills/api-dog-food
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Api Dog Food trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Api Dog Food ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Api Dog Food với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

API Dog Food

Objective

Use the API as a real consumer with real questions. Discover which capabilities help complete meaningful work, which create friction or noise, and which need implementation, contract, data, documentation, or product changes.

Do not treat a successful HTTP response as success. The API succeeds only when it helps produce a correct, timely, actionable outcome at reasonable effort.

Establish the Boundary

  1. Identify the target API, base URL, authentication, contract or discovery surface, and allowed mutation scope.
  2. Check live reachability and read the current contract when available. Prefer OpenAPI, schema discovery, or first-party API documentation over inferred routes.
  3. Time-box discovery. Use the contract to find task-relevant entry points; do not turn the exercise into an exhaustive endpoint inventory before attempting useful work.
  4. Treat the public API as the primary interface. Do not answer the task from internal files, databases, or implementation details before making the API attempt.
  5. Use independent truth sources only afterward to validate correctness, completeness, and freshness.
  6. Keep the first pass read-only unless the user explicitly authorizes mutations. Never use destructive or production mutations merely to exercise a feature.

Build a Real Task Portfolio

Before calling feature endpoints, write 5-8 bounded tasks whose answers would matter to an actual operator, developer, or decision-maker. Derive them from the API's advertised information and the user's current context.

Cover several forms of value when the surface supports them:

  • locate a specific current fact;
  • summarize or prioritize a meaningful set;
  • explain why something happened;
  • correlate information across resources;
  • detect a change, anomaly, risk, or stale state;
  • choose a next action;
  • perform and verify a safe mutation when authorized.

For each task, define the desired outcome and success evidence before making calls. Avoid toy queries that merely mirror endpoint names. Include at least one task that tests whether the API provides unique value beyond easier existing sources.

Execute API-First

For each task:

  1. Record the task, expected outcome, and likely API feature without assuming that feature is sufficient.
  2. Attempt the task using only documented or discoverable public API surfaces.
  3. Preserve reproducible evidence: request shape, relevant response excerpt or summary, errors, pagination, latency when material, and number of calls or manual joins.
  4. Produce the best answer possible from the API response.
  5. Cross-check that answer against an independent source of truth.
  6. Record missing fields, ambiguous semantics, stale data, noise, awkward composition, undocumented behavior, and workarounds.
  7. Decide whether the task was completed, partially completed, or blocked.

Do not hide API friction by silently switching to repository searches, direct database queries, UI scraping, or guessed internal routes. A workaround may validate the expected answer, but it remains evidence that the API did not complete the task.

Score the Evidence

Score each dimension from 0 to 3 and retain the supporting evidence:

Dimension0123
Completionblockedweak fragmentusable with workcomplete
Correctnesswrongmaterially suspectmostly correctverified
Signalmostly noiselow signalfocused enoughconcise and relevant
Freshnessstaleunclearacceptablecurrent and explicit
Discoverabilityhiddenhard to inferlearnableobvious
Actionabilitynonecontext onlysuggests actiondirectly enables action
Unique valueredundantmarginaluseful advantageotherwise difficult

Do not collapse the dimensions into a single average when one fatal weakness matters. A feature that is uniquely valuable but poorly shaped is a strong improvement candidate, not a retirement candidate.

Classify each observed problem by likely layer:

  • contract or response design;
  • implementation defect;
  • source-data quality or coverage;
  • freshness or caching;
  • documentation or discoverability;
  • task-to-feature mismatch;
  • missing composition or aggregation;
  • genuinely low product value.

Turn Findings into Improvements

Rank findings by user value, recurrence across tasks, severity, and repair cost. Prefer fixes that unlock several tasks or remove repeated manual stitching.

When the request includes implementation and the code is available:

  1. Capture a minimal failing API reproduction.
  2. Trace the failure to the correct layer without changing the expected result to match current behavior.
  3. Implement the smallest coherent fix to the public surface, data production, documentation, or observability.
  4. Add focused contract and behavior tests.
  5. Repeat the exact dogfood task and compare before/after evidence.

Keep speculative redesigns separate from proven defects. Do not broaden a narrow defect into an API rewrite without evidence.

Decide Keep, Improve, Combine, or Retire

  • Keep: repeatedly completes valuable tasks with strong evidence and acceptable effort.
  • Improve: contains useful or unique information but has fixable correctness, shape, freshness, noise, documentation, or composition problems.
  • Combine: overlaps another surface and would be clearer as one coherent resource or query.
  • Retire: repeatedly fails to provide meaningful or unique value, has a viable replacement, and has no justified consumers.

Require more than a poor dogfood result before proposing retirement. Check usage telemetry, known consumers, replacement coverage, compatibility cost, and whether the failure is actually caused by bad source data or discoverability. State when usage evidence is unavailable.

Report the Outcome

Lead with what the API enabled and what should change. Include:

  1. the task portfolio and completion status;
  2. an evidence matrix with features used, scores, and concrete friction;
  3. cross-check results and confidence;
  4. prioritized keep/improve/combine/retire decisions;
  5. implemented fixes and before/after reruns, when authorized;
  6. a backlog of remaining changes with acceptance criteria;
  7. coverage limits, including untested mutations, permissions, or unavailable telemetry.

Make every recommendation traceable to at least one real task. Preserve useful negative results: discovering that a feature returns mostly low-value data is an outcome, not a failed evaluation.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Api Dog Food làm được gì?

Evaluate and improve an API by inventing real, valuable tasks, attempting them through the public API, measuring the usefulness of its features and data, and turning failures into verified fixes or evidence-backed retirement proposals. Use when asked to dogfood, audit, rationalize, improve, simplify, or find value in an API; assess whether endpoints or features produce useful information; or decide what to keep, fix, combine, document, or retire.

Vì sao nên dùng Api Dog Food trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Api Dog Food là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Api Dog Food trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/asynkron/asynkron-skills/tree/main/skills/api-dog-food. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Api Dog Food?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Api Dog Food với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Api Dog Food với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Api Dog Food có miễn phí không?

Kỹ năng này được asynkron phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇