Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计通过

agentic-development-principles主体发展原则

Agent Skill

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

总安装

247,248

周安装

10,123

GitHub Stars

88

下载量

79,184
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:agentic-development-principles(主体发展原则)
来源仓库:https://github.com/supercent-io/skills-template
仓库路径:skills/agentic-development-principles
安装命令:
npx skills add https://github.com/supercent-io/skills-template --skill agentic-development-principles
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/supercent-io/skills-template --skill agentic-development-principles

简介

有效的人工智能协作框架,定义任务分解、上下文管理、抽象选择和自动化理念。

  • 将复杂的任务分成小的、可独立验证的步骤;与大量模糊请求相比,人工智能在清晰、有限的指令下的表现要好得多
  • 保持上下文新鲜且目的单一;针对不同主题使用单独的对话,并在对话变长时应用 HANDOFF.md 摘要,以防止上下文漂移
  • 根据情况调整抽象级别:对原型和快速迭代使用高级“vibe编码”,对生产代码、错误和安全工作进行深入的逐行审查
  • 默认为计划模式(70-90%的工作),以便在执行前进行分析和审查;仅对安全环境中简单且经过充分验证的任务使用执行模式
  • 自动执行任何重复 3 次以上的任务;在部署之前通过测试、代码审查和自我验证来验证所有输出

SKILL.md

Agentic development principles (Agentic Development Principles)

"AI is the copilot; you are the pilot" AI agents amplify the developer's thinking and take over repetitive work, but final decision-making authority and responsibility always remain with the developer.

When to use this skill

  • When starting a collaboration session with an AI agent
  • When deciding an approach before starting a complex task
  • When establishing a context management strategy
  • When reviewing workflows to improve productivity
  • When onboarding teammates on how to collaborate with AI
  • When applying baseline principles while adopting a new AI tool

Principle 1: Divide and conquer (Divide and Conquer)

Core concept

AI performs much better with small, clear instructions than with large, ambiguous tasks.

How to apply

Wrong exampleRight example
"Build me a login page"1. "Create the login form UI component"
2. "Implement the login API endpoint"
3. "Wire up the authentication logic"
4. "Write test code"
"Optimize the app"1. "Analyze performance bottlenecks"
2. "Optimize database queries"
3. "Reduce frontend bundle size"

Practical pattern: staged implementation

Step 1: Design and validate the model/schema
Step 2: Implement core logic (minimum viable functionality)
Step 3: Connect APIs/interfaces
Step 4: Write and run tests
Step 5: Integrate and refactor

Validation points

  • Can each step be validated independently?
  • If it fails, can you fix only that step?
  • Is the scope clear enough for the AI to understand?

Principle 2: Context is like milk (Context is like Milk)

Core concept

Context (the AI's working memory) should always be kept fresh and compact.

  • Old and irrelevant information reduces AI performance
  • Context drift: mixing multiple topics can reduce performance by up to 39% (research)

Context management strategies

Strategy 1: Single-purpose conversation

Session 1: Work on the authentication system
Session 2: Work on UI components
Session 3: Write test code
Session 4: DevOps/deployment work
  • Do not mix multiple topics in a single conversation
  • Start a new session for a new topic

Strategy 2: HANDOFF.md technique

When the conversation gets long, summarize only the essentials and hand them to a new session:

# HANDOFF.md

## Completed work
- ✅ Implemented user authentication API
- ✅ Implemented JWT token issuance logic

## Current status
- Working on token refresh logic

## Next tasks
- Implement refresh tokens
- Add logout endpoint

## Tried but failed
- Failed to integrate Redis session store (network issue)

## Cautions
- Watch for conflicts with existing session management code

Strategy 3: Monitor context state

  • When the conversation gets long, ask the AI to summarize the current state
  • If needed, reset the conversation and restart using HANDOFF.md

Strategy 4: Optimization metrics

MetricRecommended valueAction
Conversation lengthKeep to a reasonable levelCreate HANDOFF.md if it gets long
Topic count1 (single purpose)Use a new session for new topics
Active filesOnly what's neededRemove unnecessary context

Principle 3: Choose the right abstraction level

Core concept

Choose an appropriate abstraction level depending on the situation.

ModeDescriptionWhen to use
Vibe CodingHigh level (see only overall structure)Rapid prototyping, idea validation, one-off projects
Deep DiveLow level (go line-by-line)Bug fixes, security review, performance optimization, production code

In practice

When adding a new feature:
1. High abstraction: "Create a user profile page" → understand overall structure
2. Medium abstraction: "Show the validation logic for the profile edit form" → review a specific feature
3. Low abstraction: "Explain why this regex fails email validation" → detailed debugging

Abstraction level selection guide

  • Prototype/PoC: Vibe Coding 80%, Deep Dive 20%
  • Production code: Vibe Coding 30%, Deep Dive 70%
  • Bug fixes: Deep Dive 100%

Principle 4: Automation of automation (Automation of Automation)

Core concept

If you've repeated the same task 3+ times → find a way to automate it
And the automation process itself → automate that too

Automation level evolution

LevelApproachExample
1Manual copy/pasteAI output → copy into terminal
2Terminal integrationUse AI tools directly
3Voice inputVoice transcription system
4Automate repeated instructionsUse project config files
5Workflow automationCustom commands/scripts
6Automate decisionsUse Skills
7Enforce rules automaticallyUse hooks/guardrails

Checklist: identify automation targets

  • Do you run the same command 3+ times?
  • Do you repeat the same explanations?
  • Do you often write the same code patterns?
  • Do you repeat the same validation procedures?

Automation priority

  1. High: tasks repeated daily
  2. Medium: tasks repeated weekly (or more)
  3. Low: tasks repeated about once a month

Principle 5: Balance caution and speed (Plan vs Execute)

Plan mode (Plan Mode)

Analyze without executing; execute only after review/approval

When to use:

  • A complex task you're doing for the first time
  • A large refactor spanning multiple files
  • Architecture changes
  • Database migrations
  • Hard-to-roll-back work

Execute mode (Execute Mode)

AI directly edits code and runs commands

When to use:

  • Simple, clear tasks
  • Work with well-validated patterns
  • Sandbox/container environments
  • Easy-to-revert work

Recommended ratio

  • Plan mode: 70-90% (use as the default)
  • Execute mode: 10-30% (only in safe environments)

Safety principles

  • ⚠️ Auto-running dangerous commands only in isolated environments
  • Always back up before changing important data
  • Always use plan mode for irreversible work

Principle 6: Verify and reflect (Verify and Reflect)

How to verify output

  1. Write test code "Write tests for this function. Include edge cases too."
  2. Visual review

- Review changed files via diff - Revert unintended changes

  1. Draft PR / code review "Create a draft PR for these changes"
  2. Ask for self-verification "Review the code you just generated again. Validate every claim, and summarize the verification results in a table at the end."

Verification checklist

  • Does the code work as intended?
  • Are edge cases handled?
  • Are there any security vulnerabilities?
  • Are tests sufficient?
  • Are there any performance issues?

Reflection questions

  • What did you learn in this session?
  • What could you do better next time?
  • Were there repetitive tasks you could automate?

Quick Reference

Six principles summary

PrincipleCorePractice
1. Divide and conquerSmall, clear unitsSplit into independently verifiable steps
2. Context managementKeep it freshSingle-purpose conversations, HANDOFF.md
3. Abstraction choiceDepth per situationAdjust Vibe ↔ Deep Dive
4. Automation²Remove repetitionAutomate after 3 repetitions
5. Plan/execute balanceCaution firstPlan 70-90%, execute 10-30%
6. Verification/reflectionCheck outputsTests, reviews, self-verification

Mastery rule

"To truly master AI tools, you need to use them enough"

Learning by using is key - theory alone is not enough; you need to experience different situations in real projects.

Golden rule

When instructing an AI:
1. Clearly (Specific)
2. Step-by-step (Step-by-step)
3. Verifiable (Verifiable)

Best Practices

DO (recommended)

  • Focus on one clear goal per conversation
  • Regularly clean up context
  • Plan before complex work
  • Always verify outputs
  • Automate repetitive work

DON'T (prohibited)

  • Handle multiple unrelated tasks in one conversation
  • Keep working with a bloated context
  • Auto-run dangerous commands carelessly
  • Use AI output as-is without verification
  • Repeat the same work without automating it

References

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

31.62%
按下载量换算25,038

OpenCode

24.95%
按下载量换算19,756

Codex

18.46%
按下载量换算14,617

Gemini CLI

12.36%
按下载量换算9,787

Antigravity

7.77%
按下载量换算6,153

Cursor

3.75%
按下载量换算2,969

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills