Logo Http Rest Fundamentals Stinger

Http Rest Fundamentals Stinger

Tổ chức
legioncodeinc
http-rest-fundamentals-stinger

Audit HTTP and REST behavior. Use for methods, status codes, headers, caching, CORS, conditional requests, or API semantics. Read README.md for the guide map.

Add to TypingMind

Tổng quan

Nhà phát hànhlegioncodeinc
Kho mãvibe-coding-tools
Tên kỹ nănghttp-rest-fundamentals-stinger
Sao
94
Bản fork
44
Tệp đi kèm
16
Giấy phépAGPL-3.0-or-later
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ộ.

  • 16 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 legioncodeinc 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 Http Rest Fundamentals Stinger 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/legioncodeinc/vibe-coding-tools/tree/main/plugins/backend-and-desktop-tools/skills/http-rest-fundamentals-stinger
  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/legioncodeinc/vibe-coding-tools.git /tmp/vibe-coding-tools
mkdir -p .claude/skills
cp -r /tmp/vibe-coding-tools/plugins/backend-and-desktop-tools/skills/http-rest-fundamentals-stinger .claude/skills/http-rest-fundamentals-stinger
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 Http Rest Fundamentals Stinger 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 Http Rest Fundamentals Stinger 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 Http Rest Fundamentals Stinger 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.

http-rest-fundamentals Stinger

Procedural arsenal for http-rest-fundamentals-wasp-drone, the HTTP and REST protocol authority in the Wasp Nest.

This stinger encodes the practical reference material needed to audit HTTP and REST usage authoritatively against RFC semantics. It is organized around eight concern areas, each with its own guide, plus templates for common deliverables and worked examples for the most frequently misunderstood scenarios.

Paired Drone: ../../agents/http-rest-fundamentals-wasp-drone.md Command Brief: ai-tools/command-briefs/http-rest-fundamentals-wasp-drone-command-brief.md


First action when this stinger is loaded

Read these in order before doing anything:

  1. guides/00-principles.md -- RFC-first reasoning model; safety vs idempotency; the seven REST constraints; why "RESTful" is usually a lie. This is the foundation every other guide builds on.
  2. guides/10-failure-modes.md (if it exists; otherwise check reports/README.md) -- the catalog of common HTTP anti-patterns and their impact classifications.
  3. The guide most relevant to the current task (see index below).

Then pick the appropriate template from templates/ for the deliverable the Drone is producing.


Guide index

GuideTopicWhen to open
guides/00-principles.mdRFC-first reasoning; safety vs idempotency; REST constraintsEvery invocation
guides/01-http-methods.mdGET/POST/PUT/PATCH/DELETE + safety/idempotency tableMethod-choice questions; "is this the right verb?"
guides/02-status-codes.mdFull status-code honesty audit; 2xx/3xx/4xx/5xx decision treesStatus code reviews; "is this 200 OK?"
guides/03-headers.mdCaching (Cache-Control, ETag, Vary); content negotiation; security-adjacent headersHeader audits; caching questions; negotiation failures
guides/04-cors.mdPreflight flow; wildcard-with-credentials footgun; credential-bearing requestsAny CORS question or failure
guides/05-conditional-and-range.mdETag strong/weak; If-None-Match/If-Match; Range requests; 304/412/416Caching optimizations; partial downloads
guides/06-http2-http3.mdHTTP/2 multiplexing; HTTP/3 QUIC transport; Alt-Svc; 0-RTT caveatsPerformance questions; protocol upgrade readiness
guides/07-rest-vs-rpc.mdFielding's six constraints; HATEOAS; versioning strategiesAPI design review; "is this REST?"

Template index

TemplateUse when
templates/findings-report.mdProducing the audit findings report
templates/status-code-matrix.mdChoosing the correct status code for a scenario
templates/cors-decision-tree.mdDiagnosing a CORS misconfiguration or designing a CORS policy
templates/rest-checklist.mdEvaluating whether an API is genuinely RESTful

Example index

ExampleShows
examples/cors-correct-vs-incorrect.mdSide-by-side correct vs incorrect CORS configuration
examples/status-code-audit.mdA full status-code honesty audit on a sample API spec
examples/http3-readiness-assessment.mdHTTP/3 readiness assessment for a typical Node.js + Nginx stack

Critical directives (lifted from Command Brief)

  • Cite the RFC section for every status-code and method ruling. Why: RFC citations are the only way the developer can verify the ruling and learn the underlying principle.
  • Never conflate HTTP-layer correctness with framework convention. Why: frameworks sometimes diverge from RFC semantics for DX reasons; the distinction matters for interoperability.
  • Flag CORS wildcard-with-credentials as Critical, not Informational. Why: this misconfiguration is exploitable by cross-origin attackers.
  • Do not audit authentication tokens, JWTs, or session cookies -- hand off to auth-wasp-drone. Why: boundary prevents duplicate findings.
  • Do not audit TLS, cipher suites, or certificate validity -- hand off to devops-wasp-drone. Why: same boundary rationale; this stinger stays at the application layer.

Key research signals (from scripture-historian, 2026-05-20)

The following findings from the research sweep are high-signal for this stinger:

  • HTTP/3 split reality: CDN users (Cloudflare, Fastly, Akamai) get HTTP/3 transparently at the edge. Self-hosted origins must configure QUIC explicitly (nginx 1.25+, Caddy, Envoy). Node.js, Go stdlib, Python stdlib, and Ruby have no first-class HTTP/3 as of 2026.
  • CORS triple-wildcard prohibition: Access-Control-Allow-Origin: * is forbidden in combination with Access-Control-Allow-Credentials: true. The browser throws immediately. The wildcard also applies to Access-Control-Allow-Methods: * and Access-Control-Allow-Headers: * -- those too are rejected when credentials are involved in some browsers.
  • RFC 9110 renamed 422: "Unprocessable Entity" is now officially "Unprocessable Content" per RFC 9110. The status code number is unchanged.
  • RFC 9457 is current for error bodies: application/problem+json format (RFC 9457, superseding RFC 7807) is the standard for structured error responses.
  • Auth-before-CORS gotcha: OPTIONS preflights arrive without credentials. Any middleware that requires authentication before CORS headers are set will reject preflights with 401, breaking CORS for all non-simple requests.
  • ETag + CDN: ETags are often stripped or rewritten by CDNs unless explicitly preserved. Audits should check whether ETags survive the CDN layer.

Folder layout

http-rest-fundamentals-stinger/
+- SKILL.md                           (this file -- master index)
+- README.md                          (one-page human overview)
+- guides/
|  +- 00-principles.md                (RFC-first reasoning; safety/idempotency; REST constraints)
|  +- 01-http-methods.md              (method semantics and the safety/idempotency table)
|  +- 02-status-codes.md              (status-code honesty audit with decision trees)
|  +- 03-headers.md                   (caching, content negotiation, security-adjacent headers)
|  +- 04-cors.md                      (preflight flow; wildcard-with-credentials; caching preflight)
|  +- 05-conditional-and-range.md     (ETag; If-None-Match; Range; 304/412/416)
|  +- 06-http2-http3.md               (HTTP/2 multiplexing; HTTP/3 QUIC; Alt-Svc; 0-RTT)
|  +- 07-rest-vs-rpc.md               (Fielding constraints; HATEOAS; versioning)
+- examples/
|  +- cors-correct-vs-incorrect.md    (side-by-side CORS configurations)
|  +- status-code-audit.md            (full status-code audit walkthrough)
|  +- http3-readiness-assessment.md   (HTTP/3 readiness for typical stack)
+- templates/
|  +- findings-report.md              (audit output template)
|  +- status-code-matrix.md           (status code decision matrix)
|  +- cors-decision-tree.md           (CORS policy design + diagnosis)
|  +- rest-checklist.md               (REST architectural compliance checklist)
+- reports/
|  +- README.md                       (how audit reports accumulate)
+- research/                          (populated by scripture-historian -- do not modify)
   +- research-plan.md
   +- research-summary.md
   +- index.md
   +- internal/                       (7 RFC + spec source notes)
   +- external/                       (12 web research source notes)

Forged by stinger-forge from http-rest-fundamentals-wasp-drone-command-brief.md and research/. Part of The Wasp Nest by Mario Aldayuz a.k.a @thenotoriousllama.

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 Http Rest Fundamentals Stinger làm được gì?

Audit HTTP and REST behavior. Use for methods, status codes, headers, caching, CORS, conditional requests, or API semantics. Read README.md for the guide map.

Vì sao nên dùng Http Rest Fundamentals Stinger 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. Http Rest Fundamentals Stinger 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 Http Rest Fundamentals Stinger trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/backend-and-desktop-tools/skills/http-rest-fundamentals-stinger. 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 Http Rest Fundamentals Stinger?

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 Http Rest Fundamentals Stinger 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 Http Rest Fundamentals Stinger 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 Http Rest Fundamentals Stinger có miễn phí không?

Có. Kỹ năng này được legioncodeinc phát hành trên GitHub theo giấy phép AGPL-3.0-or-later. 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 👇