Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计通过

context-engineering-for-projects-skill项目技能的情境工程

Agent Skill

context-engineering-for-projects-skill 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

8,436

周安装

338

GitHub Stars

公开资料未说明

下载量

2,731
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:context-engineering-for-projects-skill(项目技能的情境工程)
来源仓库:https://github.com/lywhlao2025/context-engineering-for-projects-skill
安装命令:
openclaw skills install context-engineering-for-projects-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install context-engineering-for-projects-skill

简介

context-engineering-for-projects-skill 用于构建团队式项目上下文目录,支持初始化与结构化组织。

  • 适合需要为复杂项目建立标准化上下文框架的开发团队。
  • 通过英文短语触发,自动生成可复用的项目记忆模板与协作规范。
  • 安装前需确认项目结构兼容性,避免覆盖现有配置或引发路径冲突。
  • 适用于多成员协作、长期维护型项目的上下文工程化管理需求。

SKILL.md

name
context-engineering
description
Build or initialize team-style project context directories for context engineering. Use when the user says “构建/初始化项目上下文”, “针对该项目构建上下文”, or in English phrases like “build/initialize project context”, “scaffold project context”, “set up project context docs”, “create project context”, “generate project context docs”, “initialize context engineering project”, “set up team context”, “build context workspace”, or asks to scaffold a project context under a specified target directory (default ~/clawDir/team).

Context Engineering

Overview

Create a consistent project context structure (team navigation + project folder) and link it to a code directory. Default target root is ~/clawDir/team, but allow the user to specify another root path.

Loading Model (L1/L2/L3)

  • L1: Project skill.md — global overview, module navigation, environment notes.
  • L2: modules/ + agents/ — task-scoped module docs and agent role docs. Load the module overview first, then specific submodules; load the relevant agent README when working on that role’s tasks.
  • L3: references/ — entrypoints, API indices, migrations, evidence-level docs.

Workflow

  1. Collect inputs

- project_name (folder name) - code_dir (absolute path to the code) - target_root (optional). If not provided, use ~/clawDir/team.

  1. Analyze the code structure

- Identify tech stack and main areas (frontend/backend/qa/etc.) from code directory structure and key files. - Read top-level docs: README*, docs/, tech.md, architecture.md, CHANGELOG* if present.

  1. Initialize the context structure

- Prefer running the bundled script:

     python scripts/init_context_project.py \
       --project <project_name> \
       --code-dir <code_dir> \
       --target-root <target_root>

- The script infers module buckets from the codebase and creates module folders dynamically. - The script is idempotent: it won’t overwrite existing files.

  1. Populate content (critical)

- Fill skill.md (L1) with project summary, architecture, entrypoints, build/run, module navigation. - Fill modules/<module>/README.md (overview) and modules/<module>/<module>.md (detail). - Fill references/entrypoints.md with code-level entrypoints and indexes.

  1. Post-init checks

- Verify the created files exist and are filled under: <target_root>/projects/<project_name>/. - If the user wants custom content, update modules and references accordingly. - Record major changes in decisions.md (project-level) or decisions.jsonl (agent-level).

Modules Directory Guidance

  • modules/ is generated based on the target codebase (not fixed).
  • Recommended buckets: frontend, backend, qa, reviewer (only if inferred).
  • Each module may contain multiple detailed docs; keep an overview modules/<module>/README.md and a modules/<module>/<module>.md for detailed module notes.
  • If a domain is present (e.g., mobile, data, ops, infra), create that module.

Generation Rules (Modules & Agents)

Modules

  • Each module folder must include:

- modules/<module>/README.md (overview) - modules/<module>/<module>.md (details: Scope, Key Responsibilities, Important Notes, Interfaces & Dependencies)

  • If a module is large, split into multiple files (e.g., A.md, B.md, C.md). In that case, <module>.md becomes an index/summary that describes each sub-file and when to load it.

Agents

  • Create one folder per agent under agents/<agent>/.
  • Agent list is inferred from module buckets; always include reviewer.
  • Each agent folder must include:

- README.md with Role, Principles, Responsibilities, Deliverables, Working Style, Notes - tools.md (Markdown) - memory.md (Markdown) - decisions.jsonl (JSONL, one decision per line) - fails.jsonl (JSONL, one failure per line)

  • README.md must also include a brief description of the purpose of other files in the current agent directory.

Content Extraction Rules (General)

Keep SKILL.md lean. For detailed extraction guidance (entrypoints, flows, data, tests, i18n), load:

  • references/extraction-rules.md

Output Templates (Required)

L1 (skill.md)

  • Project summary (what it is + target users)
  • Architecture & boundaries
  • Entrypoints + build/run
  • Module navigation
  • Progressive loading model (L1/L2/L3)
  • Spec-driven development

- Spec-first rule (no implementation without a spec) - Spec template (scope, interfaces, edge cases/errors, acceptance criteria, tests) - Change control (spec updates recorded in decisions) - Traceability (code/tests map back to spec items)

L2 (modules/<module>/README.md)

  • Responsibilities
  • Key areas/files
  • Typical tasks

L2 (modules/<module>/<module>.md)

  • Scope
  • Key Responsibilities
  • Important Notes (constraints, risks, decisions)
  • Interfaces & Dependencies
  • Key flows (if applicable)
  • Testing/QA hooks

L2 (agents/<agent>/README.md)

  • Role
  • Principles
  • Responsibilities
  • Deliverables
  • Working Style
  • Notes
  • Description of other files in the agent directory

L3 (references/entrypoints.md)

  • Entry file index
  • Core logic/index files
  • Data/storage index
  • i18n index
  • Build/release/ops entrypoints

Quality Checklist (Before Finalizing)

  • L1 filled with accurate architecture and run/build info
  • Each module has README + <module>.md
  • References contain concrete file paths
  • Loading paths cover UI/UX, core logic, QA, release scenarios
  • Agent folders exist with clear responsibilities

Files Created

  • <target_root>/readme.md (if missing)
  • <target_root>/projects/projects.md (index with new project entry)
  • <target_root>/projects/<project_name>/readme.md
  • <target_root>/projects/<project_name>/goals.md
  • <target_root>/projects/<project_name>/skill.md
  • <target_root>/projects/<project_name>/project_status.md
  • <target_root>/projects/<project_name>/decisions.md
  • <target_root>/projects/<project_name>/agents/agents.md
  • <target_root>/projects/<project_name>/modules/README.md
  • <target_root>/projects/<project_name>/modules/<module>/README.md (modules inferred from code)
  • <target_root>/projects/<project_name>/modules/<module>/<module>.md
  • <target_root>/projects/<project_name>/references/entrypoints.md

Resources

  • scripts/init_context_project.py — scaffold generator (preferred).

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.3%
按下载量换算2,548

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills