Agent Skillslangchain-ai/deepagents › coding-prefs

coding-prefs

GitHub

该技能用于维护用户的编码偏好文件,在涉及代码风格、测试框架或重构等决策前读取偏好,并根据用户反馈追加新规则,确保后续交互符合用户习惯。

examples/deploy-coding-agent/skills/coding-prefs/SKILL.md langchain-ai/deepagents

Trigger Scenarios

选择代码风格或测试框架时 决定添加注释或类型提示时 进行超出要求的重构时 用户给出持久的编码反馈时

Install

npx skills add langchain-ai/deepagents --skill coding-prefs -g -y
More Options

Non-standard path

npx skills add https://github.com/langchain-ai/deepagents/tree/main/examples/deploy-coding-agent/skills/coding-prefs -g -y

Use without installing

npx skills use langchain-ai/deepagents@coding-prefs

指定 Agent (Claude Code)

npx skills add langchain-ai/deepagents --skill coding-prefs -a claude-code -g -y

安装 repo 全部 skill

npx skills add langchain-ai/deepagents --all -g -y

预览 repo 内 skill

npx skills add langchain-ai/deepagents --list

SKILL.md

Frontmatter
{
    "name": "coding-prefs",
    "description": "Read the user's coding preferences from \/memory\/coding-prefs.md before making non-trivial style decisions, and append new preferences when the user gives durable feedback."
}

Coding Preferences Skill

Use this skill to keep /memory/coding-prefs.md in sync with how this specific user wants you to work. This file is user-scoped, so each user has their own copy — anything you write here only affects future conversations with the same user.

When to Read

  • Before picking a code style, test framework, or commit message format
  • Before deciding whether to add comments, type hints, or docstrings
  • Before refactoring beyond what was asked

When to Write

Append a new entry whenever the user gives feedback that should apply to future work:

  • "Don't add docstrings unless I ask" → save it
  • "I prefer pytest over unittest" → save it
  • "Stop summarizing what you did at the end" → save it

Each entry should be one line: the rule, then a brief reason if the user gave one.

How to Write

Read the file first (it may not exist yet), then append. Don't overwrite — preferences accumulate over time. If a new preference contradicts an existing one, replace the old line and note the change.

Version History

  • 1e4f507 Current 2026-08-20 16:32

Same Skill Collection

.agents/skills/textual-screenshot/SKILL.md
examples/content-builder-agent/skills/blog-post/SKILL.md
examples/content-builder-agent/skills/social-media/SKILL.md
examples/deploy-coding-agent/skills/code-review/SKILL.md
examples/deploy-coding-agent/skills/planning/SKILL.md
examples/deploy-content-writer/skills/blog-post/SKILL.md
examples/deploy-content-writer/skills/social-media/SKILL.md
examples/deploy-gtm-agent/skills/competitor-analysis/SKILL.md
examples/nvidia_deep_agent/skills/cudf-analytics/SKILL.md
examples/nvidia_deep_agent/skills/cuml-machine-learning/SKILL.md
examples/nvidia_deep_agent/skills/data-visualization/SKILL.md
examples/nvidia_deep_agent/skills/gpu-document-processing/SKILL.md
examples/text-to-sql-agent/skills/query-writing/SKILL.md
examples/text-to-sql-agent/skills/schema-exploration/SKILL.md
libs/cli/examples/skills/arxiv-search/SKILL.md
libs/cli/examples/skills/langgraph-docs/SKILL.md
libs/cli/examples/skills/web-research/SKILL.md
libs/code/deepagents_code/built_in_skills/deepagents-thread-inspector/SKILL.md
libs/code/deepagents_code/built_in_skills/remember/SKILL.md
libs/code/examples/skills/arxiv-search/SKILL.md
libs/code/examples/skills/langgraph-docs/SKILL.md
libs/code/examples/skills/web-research/SKILL.md
libs/cli/examples/skills/skill-creator/SKILL.md
libs/code/deepagents_code/built_in_skills/skill-creator/SKILL.md
libs/code/examples/skills/skill-creator/SKILL.md

Metadata

Files
0
Version
28e5218
Hash
bd25243f
Indexed
2026-08-20 16:32

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-30 15:03
浙ICP备14020137号-1 $Гость$