Labsco
langchain-ai logo

coding-prefs

โ˜… 25,749

by langchain-ai ยท part of langchain-ai/deepagents

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.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeQuick setup
๐Ÿงฉ One of 7 skills in the langchain-ai/deepagents package โ€” works on its own, and pairs well with its siblings.

This is the playbook your agent receives when the skill activates โ€” you don't need to read it to use the skill, but it's here to audit before installing.

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.