parent-project-skills

Kỹ năng khởi tạo để khám phá các kỹ năng bổ sung và ngữ cảnh từ một dự án cha khi workerd được sử dụng như một mô-đun con. Tải kỹ năng này khi các tác vụ trải dài…

npx skills add https://github.com/cloudflare/workerd --skill parent-project-skills

Parent Project Skill Discovery

This project (workerd) may be embedded as a submodule within a larger project. When your task requires context beyond workerd itself — such as investigating production issues, writing integration tests, or understanding deployment architecture — you should check for additional skills and context in the parent project.

Discovery procedure

  1. Determine if a parent project exists by checking for a git root above the workerd directory:

    • Look for ../../.git or ../../AGENTS.md relative to the workerd root
    • If found, the parent project root is ../../ (two levels up from workerd)
  2. Check for parent project skills:

    • Look for ../../.opencode/skills/*/SKILL.md
    • Read any ../../AGENTS.md or ../../AGENTS.md for project-wide context
  3. Load relevant skills by reading the SKILL.md files. These are not registered in the skill tool — read them directly with the Read tool.

  4. Check for submodule-specific context:

    • Look for ../../.opencode/skills/*/SKILL.md files that may reference workerd specifically

Information boundary — CRITICAL

workerd is an open-source project. The parent project is typically proprietary/internal.

You MUST enforce a strict one-way information boundary:

  • ALLOWED: Internal context informs your reasoning, helps you understand code paths, guides your investigation
  • NEVER: Write internal details into workerd files — this includes:
    • Code comments referencing internal systems, services, or architecture
    • Commit messages mentioning internal projects, Sentry issues, Jira tickets, or internal URLs
    • PR descriptions or GitHub issue comments containing internal context
    • AGENTS.md, AGENTS.md, or documentation updates with internal knowledge
    • Variable names, error messages, or log strings that reveal internal details
    • Test files that encode internal architecture assumptions

When working across the boundary, frame all workerd-side artifacts in terms of workerd's own public concepts (Workers, Durable Objects, isolates, IoContext, etc.) without referencing how the parent project orchestrates them.

When to use this skill

  • Investigating production Sentry issues that involve workerd code
  • Writing integration tests (e.g., ew-test) that live in the parent project
  • Understanding how workerd APIs behave in the production deployment context
  • Debugging issues that cross the workerd / parent-project boundary
  • Reviewing code changes that affect both projects
  • Planning new feature development that requires coordination between workerd and the parent project

Thêm skills từ cloudflare

dependabot-review
cloudflare
Phân tích một PR Dependabot để xác định những gì thực sự thay đổi trong từng gói được nâng cấp và liệu những thay đổi đó có ảnh hưởng đến repo này hay không. Báo cáo các API/phương thức đã thay đổi,…
module-registry
cloudflare
Tải khi làm việc với module registry trong workerd — đọc, sửa đổi, gỡ lỗi hoặc xem xét việc phân giải, biên dịch, đánh giá hoặc đăng ký module…
reproduce
cloudflare
Tái tạo một vấn đề GitHub của cloudflare/agents bằng cách tạo khung một dự án Agents/Worker tối thiểu và triển khai nó lên một tài khoản Cloudflare tạm thời, sau đó báo cáo…
local-explorer
cloudflare
Cách thêm sản phẩm/tài nguyên vào local explorer hoặc local API. Sử dụng khi triển khai các local API mới hoặc các route UI trong…
open-pr
cloudflare
Lấy một issue GitHub từ cloudflare/agents cùng với các phát hiện tái hiện lỗi và tạo một PR sửa lỗi một lần — tạo nhánh, thay đổi, kiểm thử, đẩy lên, và mở PR liên kết với issue đó.
write-endpoints
cloudflare
Hướng dẫn toàn diện để xây dựng các điểm cuối OpenAPI với chanfana - định nghĩa schema, xác thực yêu cầu, các thao tác CRUD, tích hợp cơ sở dữ liệu D1, và…
agents-sdk
cloudflare
Xây dựng AI agent trên Cloudflare Workers bằng Agents SDK. Tải khi tạo agent có trạng thái, quy trình làm việc bền vững, ứng dụng WebSocket thời gian thực, tác vụ theo lịch trình,…
changelog
cloudflare
Tạo, cập nhật và xem xét các mục nhật ký thay đổi sản phẩm cho trang tài liệu Cloudflare. Tải khi tạo tệp MDX nhật ký thay đổi, chỉnh sửa các tệp hiện có…