parent-project-skills

作成者: cloudflare

workerdをサブモジュールとして使用する際に、親プロジェクトから追加のスキルやコンテキストを発見するためのブートストラップスキル。タスクが複数にわたる場合にこのスキルを読み込んでください…

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

cloudflareのその他のスキル

workerd-api-review
cloudflare
workerdのコードレビューにおけるパフォーマンス最適化、API設計と互換性、セキュリティ脆弱性、標準仕様準拠。tcmalloc対応を含む…
official
workerd-safety-review
cloudflare
workerdのコードレビューにおけるメモリ安全性、スレッド安全性、並行性、および重要な検出パターン。V8/KJ境界の危険性、ライフタイム管理などをカバー。
official
module-registry
cloudflare
workerdでモジュールレジストリを扱う際に読み込む — モジュールの解決、コンパイル、評価、登録の読み取り、変更、デバッグ、またはレビュー…
official
reproduce
cloudflare
cloudflare/agentsのGitHub Issueを再現するために、最小限のAgents/Workerプロジェクトをスキャフォールディングし、一時的なCloudflareアカウントにデプロイして、その後報告する…
official
local-explorer
cloudflare
ローカルエクスプローラーまたはローカルAPIに製品/リソースを追加する方法。新しいローカルAPIやUIルートを実装する際に使用します。
official
commit-categories
cloudflare
コミットを変更ログや「新機能」サマリーに分類するためのルール。変更ログやwhats-newコマンドでコミットを分類する前に必ず読み込む必要があります。提供するのは…
official
architecture
cloudflare
コードベースを初めてナビゲートするとき、新しいクライアントメソッドを追加するとき、新しいコンテナハンドラ/サービスを追加するとき、またはリクエストの流れを理解するときに使用します…
official
changesets
cloudflare
チェンジセットを作成する際、リリースを準備する際、またはバージョンを上げる際に使用します。参照するパッケージ、ユーザー向けのチェンジセット説明の書き方などをカバーします。
official