-
Notifications
You must be signed in to change notification settings - Fork 1
Migrate project to Claude Code as primary AI coding assistant #1161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -114,16 +114,22 @@ ObjectStack AI Prompts | |
|
|
||
| ## 🚀 使用方式 (Usage) | ||
|
|
||
| ### GitHub Copilot 集成 | ||
| ### AI 编码助手集成 | ||
|
|
||
| 这些提示词会被 GitHub Copilot 自动加载: | ||
| 这些提示词兼容多个 AI 编码助手: | ||
|
|
||
| - **Claude Code**(推荐):从代码库上下文自动加载 | ||
| - **GitHub Copilot**:在代码库中工作时自动加载 | ||
| - **Cursor**:可引用这些提示词获取上下文感知帮助 | ||
|
|
||
| 提示词会根据以下内容自动加载: | ||
|
|
||
|
Comment on lines
+117
to
126
|
||
| ``` | ||
| .github/ | ||
| └── prompts/ | ||
| ├── data-protocol.prompt.md ← 编辑数据协议时自动加载 | ||
| ├── ui-protocol.prompt.md ← 编辑UI协议时自动加载 | ||
| ├── system-protocol.prompt.md ← 编辑系统协议时自动加载 | ||
| ├── data-protocol.prompt.md ← 编辑数据协议时加载 | ||
| ├── ui-protocol.prompt.md ← 编辑UI协议时加载 | ||
| ├── system-protocol.prompt.md ← 编辑系统协议时加载 | ||
| └── ... | ||
| ``` | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -142,9 +142,15 @@ These prompts help with specific development tasks: | |||||||||||||
|
|
||||||||||||||
| ## 🎯 How to Use These Prompts | ||||||||||||||
|
|
||||||||||||||
| ### For GitHub Copilot | ||||||||||||||
| ### For AI Coding Assistants | ||||||||||||||
|
|
||||||||||||||
| These prompts are automatically loaded by GitHub Copilot when working in the repository. They provide context-aware assistance based on: | ||||||||||||||
| These prompts are compatible with multiple AI coding assistants: | ||||||||||||||
|
|
||||||||||||||
| - **Claude Code** (Recommended): Automatically loaded from the repository context | ||||||||||||||
| - **GitHub Copilot**: Automatically loaded when working in the repository | ||||||||||||||
| - **Cursor**: Can reference these prompts for context-aware assistance | ||||||||||||||
|
Comment on lines
+149
to
+151
|
||||||||||||||
| - **Claude Code** (Recommended): Automatically loaded from the repository context | |
| - **GitHub Copilot**: Automatically loaded when working in the repository | |
| - **Cursor**: Can reference these prompts for context-aware assistance | |
| - **Claude Code** (Recommended): Available as repository prompt files you can reference alongside the repo context | |
| - **GitHub Copilot**: Available as prompt files you can open, reference, or adapt while working in the repository | |
| - **Cursor**: Can reference these prompt files for context-aware assistance |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -2,7 +2,8 @@ | |||||||
|
|
||||||||
| > **Last synced with `.github/copilot-instructions.md`:** 2026-04-16 | ||||||||
| > | ||||||||
| > This file is the **Claude Code** equivalent of `.github/copilot-instructions.md` (GitHub Copilot). | ||||||||
| > This file is the **Claude Code** primary instruction file for ObjectStack development. | ||||||||
| > A parallel `.github/copilot-instructions.md` exists for GitHub Copilot compatibility. | ||||||||
| > Keep both files in sync when updating project-wide AI instructions. | ||||||||
|
||||||||
| > Keep both files in sync when updating project-wide AI instructions. | |
| > Keep shared project-wide directives, structure, and core architectural guidance synchronized between both files. | |
| > Assistant-specific guidance may differ where needed for Claude Code or GitHub Copilot behavior. |
Copilot
AI
Apr 16, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The monorepo structure diagram appears inconsistent with the rest of the repo and with .github/copilot-instructions.md (this file shows objectstack-ai/framework/, Copilot instructions show objectstack-ai/spec/, while the repository root here is neither). This can confuse readers; please align both diagrams to the actual repo layout or use a neutral root like objectstack-ai/.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This monorepo structure block uses
objectstack-ai/spec/as the root, whileCLAUDE.mdusesobjectstack-ai/framework/, and the actual repository root is neither. Since this section is meant to orient contributors, please align the root path across both instruction files (or switch to a root-agnostic label) to avoid confusion.