Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

dev-context-engineering开发环境工程

Agent Skill

dev-context-engineering 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,001

周安装

43

GitHub Stars

60

下载量

351
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:dev-context-engineering(开发环境工程)
来源仓库:https://github.com/vasilyu1983/ai-agents-public
仓库路径:skills/dev-context-engineering
安装命令:
npx skills add https://github.com/vasilyu1983/ai-agents-public --skill dev-context-engineering
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/vasilyu1983/ai-agents-public --skill dev-context-engineering

简介

dev-context-engineering 提供 AI 增强开发中的上下文工程支持,涵盖 AGENTS.md、PRD 编写、Git 工作流等关键环节。

  • 适用于大型项目开发过程中的知识管理、任务规划和多 Agent 协同场景。
  • 可自动生成实施计划、设置 MCP 服务器并优化团队协作流程。
  • 使用前建议梳理项目阶段目标,确保各环节依赖清晰可控。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Context Engineering for AI-Augmented Development

Quick Reference

TaskPrimary SkillReference
Write AGENTS.md / CLAUDE.mdagents-project-memorymemory-patterns.md
Create implementation plandev-workflow-planning
Write PRD / specdocs-ai-prdagentic-coding-best-practices.md
Create subagentsagents-subagents
Set up hooksagents-hooks
Configure MCP serversagents-mcp
Git workflow + worktreesdev-git-workflowai-agent-worktrees.md
Orchestrate parallel agentsagents-swarm-orchestration
Application securitysoftware-security-appsec
Assess repo maturitythis skillmaturity-model.md
Full idea-to-ship lifecyclethis skill
Multi-repo coordinationthis skillmulti-repo-strategy.md
Regulated environment setupthis skillregulated-environment-patterns.md
Fast-track onboardingthis skillfast-track-guide.md
Context lifecycle (CDLC)this skillcontext-development-lifecycle.md
Convert existing reposthis skillrepo-conversion-playbook.md
Team transformationthis skillteam-transformation-patterns.md
Measure AI coding impactdev-ai-coding-metrics

The Paradigm Shift

Software development is shifting from tool-centric workflows to context-driven development:

DimensionTraditionalContext-Driven
Source of truthJira + ConfluenceRepository (AGENTS.md + docs/)
StandardsWiki page.claude/rules/ (loaded every session)
ExecutionHuman writes codeAgent writes code with structured context
Knowledge transferOnboarding meetingsAGENTS.md = instant context
PlanningSprint boarddocs/plans/ with dependency graphs
ReviewHumans onlyHumans + AI disclosure checklist

Why it matters: Unstructured AI coding ("vibe coding") is 19% slower with 1.7x more issues (METR). Structured context engineering inverts this — agents become faster and more reliable than solo coding. But context quality matters more than quantity: ETH Zurich research (March 2026) shows LLM-generated context files *degrade* performance by 3% while human-written files help only when limited to non-inferable details.

Cross-platform convention: AGENTS.md is the primary file. CLAUDE.md is always a symlink (ln -s AGENTS.md CLAUDE.md). Codex reads AGENTS.md directly; Claude Code reads the symlink. One file, two agents, zero drift.

See: references/paradigm-comparison.md for full mapping + migration playbook.

Complete Lifecycle: Idea to Ship

flowchart LR
    P1["1 CAPTURE\n─────────\nIdea → Spec\n(docs-ai-prd)"]
    P2["2 PLAN\n─────────\nSpec → Plan\n(dev-workflow-planning)"]
    P3["3 CONTEXT\n─────────\nPlan → Repo Context\n(agents-project-memory)"]
    P4["4 EXECUTE\n─────────\nContext → Code\n(agents-swarm-orchestration)"]
    P5["5 VERIFY\n─────────\nCode → Quality Gate\n(agents-hooks)"]
    P6["6 SHIP\n─────────\nVerified → Merged\n(dev-git-workflow)"]
    P7["7 LEARN\n─────────\nShipped → Better Context\n(CDLC)"]

    P1 --> P2 --> P3 --> P4 --> P5 --> P6 --> P7
    P7 -.->|"feedback\nloop"| P1

    style P1 fill:#e8daef,color:#4a235a
    style P2 fill:#d6eaf8,color:#1b4f72
    style P3 fill:#d5f5e3,color:#1e8449
    style P4 fill:#fdebd0,color:#7e5109
    style P5 fill:#fadbd8,color:#922b21
    style P6 fill:#d4efdf,color:#1e8449
    style P7 fill:#fef9e7,color:#7d6608

Seven phases from idea capture to learning. Each phase references the primary skill and key actions.

Phase 1: CAPTURE — Idea to Spec

Skill: docs-ai-prd

  1. Capture the idea in docs/specs/feature-name.md
  2. Use docs-ai-prd to generate a structured PRD
  3. Include: problem statement, success criteria, constraints, non-goals
  4. Architecture extraction: docs-ai-prd/references/architecture-extraction.md
  5. Convention mining: docs-ai-prd/references/convention-mining.md

Phase 2: PLAN — Spec to Implementation Plan

Skill: dev-workflow-planning

  1. Create docs/plans/feature-name.md from the spec
  2. Break into tasks with dependencies and verification steps
  3. Identify parallelizable tasks for multi-agent execution
  4. Estimate token budget for the implementation

Phase 3: CONTEXT SETUP — Plan to Repository Context

Skills: agents-project-memory, agents-subagents

  1. Update AGENTS.md if the feature introduces new patterns
  2. Add/update .claude/rules/ for any new conventions
  3. Create specialized subagents if needed (e.g., test-writer, migration-helper)
  4. For multi-repo: ensure coordination repo is updated if shared context changes

Phase 4: EXECUTE — Context to Working Code

Skills: agents-swarm-orchestration, dev-git-workflow

  1. Create feature branch and worktree for isolation
  2. Execute plan tasks — use subagents for parallel work
  3. Follow plan verification steps after each task
  4. Use --add-dir for cross-repo context if needed

Phase 5: VERIFY — Code to Quality + Compliance Gate

Skills: agents-hooks, dev-git-workflow

  1. Run automated verification: tests, lint, type-check
  2. Run compliance gates (if regulated): signed commits, secrets scan, SAST, PII check
  3. AI disclosure: complete PR template with AI involvement
  4. Human review: code reviewer verifies AI-generated code

Phase 6: SHIP — Verified to Merged + Deployed

Skill: dev-git-workflow

  1. PR approved by reviewer (different person from author)
  2. Security review for critical paths (auth/, payments/, crypto/)
  3. Merge to main via merge commit (not squash — audit trail)
  4. Deployment approved by DevOps (separate from code approval)

Phase 7: LEARN — Shipped to Better Context

Framework: CDLC (context-development-lifecycle.md)

  1. Session retrospective: what context was missing or misleading?
  2. Update AGENTS.md and rules based on learnings
  3. Extract patterns: if you repeated the same instruction 3+ times, make it a rule
  4. Track metrics: agent success rate, rework rate, token cost

SDLC Compression

Traditional regulated SDLC: Requirements (14d) → Dev (3w) → QA (6-8w) → Deploy (1-2w) = 12-16 weeks.

The 2-month QA is a late discovery problem, not a QA problem. CDLC shifts verification left into every phase:

PhaseTraditionalWith CDLCKey Enabler
Requirements14 days3-5 daysAI-assisted specs, architecture extraction
Development3 weeks2-3 weeksStructured context = fewer mistakes
QA6-8 weeks1-2 weeksAutomated gates + verification per task
Deployment1-2 weeks1-3 daysPre-verified compliance, audit trail
Total12-16 weeks4-6 weeks60-65% compression

QA compresses the most because convention violations, integration bugs, compliance gaps, and missing tests are caught during development — not discovered weeks later. Automated compliance gates mean QA focuses on what humans are good at: exploratory testing and edge cases.

See: references/context-development-lifecycle.md § SDLC Compression for full analysis with caveats.

Repository Maturity Quick Assessment

LevelPer-RepoOrg-Wide (100 repos)Key Action
L0 No ContextNo AGENTS.mdNo shared standardsCreate AGENTS.md (30 min)
L1 BasicAGENTS.md <50 linesTemplate repo exists, 10% adoptionAdd rules + docs (2-4 hrs)
L2 Structured+ rules + docs/specsShared rules, 50% adoptionAdd agents + hooks (1-2 days)
L3 Automated+ agents + hooks + CI gatesCompliance gates, 80% adoptionStart CDLC (2-4 weeks)
L4 Full CE+ CDLC active + metricsInnerSource governance, 95%+Sustain + optimize

Quick self-assessment: 14 yes/no questions in references/maturity-model.md.

Multi-Repo at Scale

For organizations with many repositories, use a coordination layer pattern:

Coordination Repo (recommended for polyrepo)

flowchart TD
    CR["Coordination Repo\n━━━━━━━━━━━━━━\nOrg AGENTS.md\nShared rules\nSync scripts"]

    R1["Service A\n─────────\nLocal AGENTS.md\nLocal rules"]
    R2["Service B\n─────────\nLocal AGENTS.md\nLocal rules"]
    R3["Service C\n─────────\nLocal AGENTS.md\nLocal rules"]
    RN["... 97 more"]

    CR -->|"mandatory rules\n(CI/CD sync)"| R1
    CR -->|"mandatory rules\n(CI/CD sync)"| R2
    CR -->|"mandatory rules\n(CI/CD sync)"| R3
    CR -.->|sync| RN

    DEV["Developer Session\nclaude --add-dir coordination-repo"]
    DEV -->|"reads shared"| CR
    DEV -->|"reads local"| R2

    style CR fill:#d6eaf8,color:#1b4f72
    style DEV fill:#d5f5e3,color:#1e8449
    style R1 fill:#fef9e7,color:#7d6608
    style R2 fill:#fef9e7,color:#7d6608
    style R3 fill:#fef9e7,color:#7d6608
    style RN fill:#f5f5f5,color:#666666

One meta-repo holds shared context: org-wide AGENTS.md, mandatory rules, shared skills, sync scripts. Individual repos maintain focused local context.

# Load shared context into any repo session
claude --add-dir ../coordination-repo

Shared vs Local Context

CategoryScopeDistribution
Mandatory (compliance, security, data handling)All reposCI/CD sync (automated)
Recommended (coding standards, commit conventions)Most reposTemplate sync or --add-dir
Local (architecture, domain patterns, subagents)Per-repoMaintained by repo team

Symlink Convention (enforced everywhere)

# Every repo, every time
ln -s AGENTS.md CLAUDE.md
# CI validates: [ -L CLAUDE.md ] or fail

See: references/multi-repo-strategy.md for full patterns, sync scripts, token budgets, and InnerSource governance.

Regulated Environments

For FCA-regulated EMIs and similar organizations:

Mandatory Compliance Rules

Install these in every repo (copy from assets/ directory):

Asset FileInstall ToPurpose
compliance-fca-emi.md.claude/rules/compliance-fca-emi.mdAudit trail, separation of duties, SM&CR
data-handling-gdpr-pci.md.claude/rules/data-handling-gdpr-pci.mdSafe/prohibited data categories
ai-agent-governance.md.claude/rules/ai-agent-governance.mdApproved tools, disclosure, training
pr-template-ai-disclosure.md.github/pull_request_template.mdAI involvement checklist per PR
fca-compliance-gate.yml.github/workflows/fca-compliance-gate.ymlSigned commits, secrets, SAST, PII, AI disclosure

Core Regulatory Principles

  1. Audit trail: Signed commits, merge commits, immutable history (PS21/3)
  2. Separation of duties: AI cannot approve/merge/deploy; different reviewer required
  3. No sensitive data in context: PII, card data, credentials never in agent prompts or files
  4. AI disclosure: Every PR declares AI involvement and human verification
  5. Accountability: Named Senior Manager accountable for AI governance (SM&CR)
  6. Portability: Dual-agent strategy (Claude Code + Codex) avoids vendor lock-in (PS24/16)
  7. Agent isolation: Sandbox execution for automated agent runs (microVM/gVisor for CI/CD)
  8. Platform audit: GitHub Agent HQ audit logs with actor_is_agent identifiers (Feb 2026)

Also track: NIST AI Agent Standards Initiative (Feb 2026) — US framework for agent identity, security, governance. FINRA 2026 — first financial regulator to require AI agent action logging and human-in-the-loop oversight.

See: references/regulated-environment-patterns.md for full regulatory mapping and incident response.

Agent and Tool Selection

Primary Agents (use both)

Both Claude Code and Codex are available as first-class agents on GitHub Agent HQ (Feb 2026), with enterprise audit logging (actor_is_agent identifiers), MCP allowlists, and organization-wide policy management.

CapabilityClaude CodeCodex
Best forInteractive planning, complex refactoringAsync batch tasks, issue triage
Context fileReads CLAUDE.md (symlink)Reads AGENTS.md (direct)
ExecutionLocal, interactiveCloud, sandboxed
GitHub Agent HQYes (cloud sessions)Yes (cloud sessions)
SubagentsYes (.claude/agents/)No
HooksYes (.claude/hooks/)No
MCP serversYesNo
WorktreesYesBranches
Multi-repo--add-dirSingle repo per task

Decision Tree

flowchart TD
    Q1{"Interactive task?\n(needs back-and-forth)"}
    Q2{"Batch of independent\ntasks?"}
    Q3{"Complex refactor\nneeding subagents?"}
    CC1["Claude Code"]
    CX1["Codex\n(parallel async)"]
    CC2["Claude Code"]
    EITHER["Either works\n(prefer Claude Code\nfor regulated envs)"]

    Q1 -->|Yes| CC1
    Q1 -->|No| Q2
    Q2 -->|Yes| CX1
    Q2 -->|No| Q3
    Q3 -->|Yes| CC2
    Q3 -->|No| EITHER

    style CC1 fill:#d5f5e3,color:#1e8449
    style CC2 fill:#d5f5e3,color:#1e8449
    style CX1 fill:#d6eaf8,color:#1b4f72
    style EITHER fill:#fef9e7,color:#7d6608

Supplementary Tools

ToolUse WhenContext File
CursorIDE-embedded editing, quick fixes.cursor/rules
GitHub CopilotInline suggestions during manual coding

Context as Infrastructure

Six principles for treating context like production infrastructure:

  1. Version it — AGENTS.md and rules live in git, reviewed in PRs
  2. Review it — Context changes get the same review rigor as code changes
  3. Test it — Run a task with new context to verify it works before committing
  4. Scope it — One concern per rule file; clear sections in AGENTS.md
  5. Budget it — Monitor token cost; compress or split when context grows
  6. Retire it — Remove stale rules quarterly; outdated context is worse than no context

Anti-Patterns

Anti-PatternProblemFix
Vibe codingNo spec, no plan, just "build it"Start with Phase 1 (CAPTURE)
Context bloat2000-line AGENTS.md nobody readsSplit into rules/ and references; keep AGENTS.md <200 lines
Over-specificationRules for every edge caseWrite rules for patterns, not exceptions
Tool accumulation5 AI tools, no coordinationPick 2 primary (Claude Code + Codex), standardize context
Parallel Jira+contextMaintaining specs in both Jira and repoJira for portfolio; repo for execution context
Static contextWrite AGENTS.md once, never updateCDLC: monthly review, retire stale rules
God agentOne agent does everythingSpecialized subagents for distinct tasks
Skipping verificationTrust AI output without reviewPhase 5 (VERIFY) is mandatory, not optional
Compliance bypass"We'll add gates later"Install mandatory rules from day 1 (assets/)
Separate CLAUDE.mdCLAUDE.md and AGENTS.md with different contentAlways symlink: ln -s AGENTS.md CLAUDE.md
LLM-generated contextAuto-generated AGENTS.md duplicates discoverable info (-3% perf)Write only non-inferable details (ETH Zurich 2026)
Single-file at scaleOne massive file can't scale beyond modest codebasesThree-tier architecture: hot memory → agents → cold knowledge

Do / Avoid

Do:

  • Start with maturity assessment before investing in automation
  • Use the lifecycle (7 phases) — skipping CAPTURE and PLAN is the #1 cause of rework
  • Install compliance rules before development starts (not after)
  • Run context retrospectives — context without feedback loops decays
  • Use both Claude Code and Codex for their respective strengths

Avoid:

  • Don't migrate from Jira overnight — use the incremental playbook
  • Don't create 500-line AGENTS.md files — use progressive disclosure
  • Don't skip the symlink convention — drift between AGENTS.md and CLAUDE.md causes bugs
  • Don't let context go stale — if it hasn't been updated in 90 days, it's suspect
  • Don't treat AI-generated code differently from human code in review rigor

Navigation

References

FileContentLines
paradigm-comparison.mdOld vs new paradigm mapping, 2026 industry validation~200
maturity-model.md5-level maturity, adoption data, research caveats~280
fast-track-guide.md30-min, 2-hour, batch tracks + quality research insight~250
context-development-lifecycle.mdCDLC + three-tier architecture, Manus patterns, ETH research~615
multi-repo-strategy.mdCoordination patterns, GitHub Agent HQ, VS Code CE~420
regulated-environment-patterns.mdFCA/EMI, NIST, FINRA 2026, sandbox isolation, GH audit~400
repo-conversion-playbook.mdStep-by-step conversion with real scripts and templates~790
team-transformation-patterns.mdAI-native vs traditional teams, shadow experiments, risk assessment~230

Assets (Copy-Ready Templates)

FileInstall ToPurpose
compliance-fca-emi.md.claude/rules/FCA/EMI audit trail and separation of duties
data-handling-gdpr-pci.md.claude/rules/GDPR/PCI safe and prohibited data categories
ai-agent-governance.md.claude/rules/AI tool restrictions and disclosure
pr-template-ai-disclosure.md.github/PR template with AI involvement checklist
fca-compliance-gate.yml.github/workflows/CI/CD compliance gates

Related Skills

SkillRelationship
agents-project-memoryHow to write AGENTS.md (L1 foundation)
dev-workflow-planningCreating implementation plans (Phase 2)
docs-ai-prdWriting specs for AI agents (Phase 1)
agents-subagentsCreating specialized subagents (Phase 3)
agents-hooksEvent-driven automation (Phase 5)
agents-mcpMCP server configuration
dev-git-workflowGit patterns, worktrees (Phase 4-6)
agents-swarm-orchestrationParallel agent execution (Phase 4)

Web Verification

83 curated sources in data/sources.json across 10 categories:

CategorySourcesKey Items
Context Engineering10Anthropic CE, Fowler, CDLC, Codified Context (arxiv), Manus lessons
AGENTS.md Standard6agents.md spec, Linux Foundation, ETH Zurich evaluation (arxiv)
Paradigm Shift8OpenAI Harness, METR study, Anthropic 2026 Trends Report
Tool Documentation10Claude Code, Codex, GitHub Agent HQ, VS Code CE guide
Multi-Repo Patterns6Spine Pattern, InnerSource, Git submodules, GH Actions
Security Tooling10Gitleaks, Semgrep, NIST Agent Standards, sandbox patterns
FCA/EMI Compliance9PS21/3, SS1/23, SM&CR, PS24/16, FINRA 2026 AI agents
Data Protection4IAPP GDPR, PCI SSC, Anthropic DPA, OpenAI DPA
SDLC and DevOps6DORA metrics, GitHub Enterprise AI Controls, branch protection
Practitioner Insights14Stripe Minions, Block/Dorsey, HBR AI layoffs, Harvard/P&G, OpenAI guide

Verify current facts before final answers. Priority areas:

  • AGENTS.md specification changes (agents.md — 60,000+ repos, evolving rapidly)
  • Claude Code and Codex feature updates (now on GitHub Agent HQ)
  • GitHub Enterprise AI Controls evolution (MCP allowlists, agent governance)
  • FCA regulatory updates (PS21/3, SS1/23, PS24/16 — watch for consultations)
  • NIST AI Agent Standards Initiative (comments due April 2026)
  • FINRA AI agent guidance evolution (annual oversight reports)
  • CDLC framework evolution (community-driven, externally validated March 2026)
  • Context file effectiveness research (ETH Zurich, Codified Context — ongoing)

Fact-Checking

  • Use web search/web fetch to verify current external facts, versions, pricing, deadlines, regulations, or platform behavior before final answers.
  • Prefer primary sources; report source links and dates for volatile information.
  • If web access is unavailable, state the limitation and mark guidance as unverified.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.95%
按下载量换算123

Claude

29.48%
按下载量换算103

Cursor

17.04%
按下载量换算60

Gemini CLI

8.97%
按下载量换算31

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills