定制 augustash/claude-config 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

augustash/claude-config

Composer 安装命令:

composer require augustash/claude-config

包简介

Shared AI assistant conventions and memory for August Ash projects.

README 文档

README

Shared AI assistant conventions and memory for August Ash projects, distributed as a composer package.

Designed for agentic / CLI-style AI tools (Claude Code, Cursor, Codex, Aider, Windsurf, Zed) that read AGENTS.md and can follow pointers into a vendor directory. Not yet supported: GitHub Copilot and JetBrains AI Assistant — they're workspace-scoped and expect self-contained instructions files (.github/copilot-instructions.md etc.). We'll address it if/when it becomes a blocker.

Install

In the project:

ddev composer config preferred-install.augustash/claude-config source && ddev composer require --dev 'augustash/claude-config:dev-master'

The first half writes a per-project preference into the project's composer.json so composer installs this package via git clone instead of zip extract. The vendor copy is then a real git working tree you can author memory in directly. The second half pulls the package as a dev dependency and triggers the plugin, which:

  • Adds @vendor/augustash/claude-config/CLAUDE.md to the project's .claude/CLAUDE.md
  • Adds an AGENTS.md pointer to vendor/augustash/claude-config/AGENTS.md
  • Prunes any legacy ~/claude-config/ references left behind by the previous global-clone setup
  • Prints a notice if the package was installed via dist (no .git/) and tells you how to switch to source

The dev-master constraint tracks the master branch HEAD rather than a tagged release — this package isn't tagged. Updates flow via ddev composer update augustash/claude-config, and the vendor copy stays on the master branch so memory authored in vendor/augustash/claude-config/memory/ can be committed and pushed directly without first checking out a branch. This avoids forcing a tag-and-release cycle just to share memory updates — push to master, other projects pull on their next ddev composer update.

Remove

ddev composer remove augustash/claude-config

The plugin prunes its import lines from .claude/CLAUDE.md and AGENTS.md before the package is uninstalled. Composer cleans up vendor/augustash/claude-config/ on its own.

Shared conventions

The full index lives in CLAUDE.md. Examples of what's there:

  • DDEV workflow — always ddev drush / ddev wp, never run CLI tools on the host
  • Test tags — every custom PHPUnit/Nightwatch test carries the aai umbrella tag plus a module sub-tag
  • Follow site conventions — scan how a domain is handled in the codebase before writing in it; surface divergence
  • Comment style — concise; skip comments when the code is obvious, explain the WHY when it isn't
  • Drupal caching — known pitfalls around session poisoning, lazy builders without BigPipe, and Exo component cache

Memory organization

Memories follow an {idea}/{specific}.md pattern — the directory is the broad topic, the file is the specific detail. Top-level categories:

  • preferences/ — collaboration style, workflow conventions, cross-cutting posture
  • drupal/, wordpress/ — platform-specific knowledge
  • augustash/ — internal modules and reusable code

Shared vs per-project

Two tiers, both committed to git so the whole team benefits:

  • Shared (vendor/augustash/claude-config/memory/) — knowledge that applies across multiple augustash projects. Authored in this repo, distributed via composer.
  • Per-project (.claude/memory/ in the project repo) — knowledge specific to one codebase. Examples: that project's payment gateway quirks, a non-obvious cron schedule, why a particular module was patched in place of an upstream fix.

Migrating from the old global-clone install

If you previously ran the launchd-based installer, after switching:

launchctl bootout gui/$(id -u)/com.augustash.claude-config 2>/dev/null; rm -f ~/Library/LaunchAgents/com.augustash.claude-config.plist; rm -rf ~/claude-config

In each project, ddev composer require augustash/claude-config will auto-prune the old ~/claude-config/ references on first install.

Tests

ddev composer install
ddev composer test

PHPUnit covers the plugin's add/prune behavior and the wire/prune flows on a temp project root.

augustash/claude-config 适用场景与选型建议

augustash/claude-config 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 7 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 05 月 07 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 augustash/claude-config 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 augustash/claude-config 我们能提供哪些服务?
定制开发 / 二次开发

基于 augustash/claude-config 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 46
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2026-05-07