Skip to content

Add contextarch CLI to Utilities section#258

Open
ksoventures wants to merge 2 commits intoPatrickJS:mainfrom
ksoventures:add-contextarch-utility
Open

Add contextarch CLI to Utilities section#258
ksoventures wants to merge 2 commits intoPatrickJS:mainfrom
ksoventures:add-contextarch-utility

Conversation

@ksoventures
Copy link
Copy Markdown

@ksoventures ksoventures commented Apr 17, 2026

Hi! Adding contextarch to the Utilities section, alongside the
existing Cursor Watchful Headers entry.

contextarch (npx contextarch init) is an open-source CLI that detects
a project's stack and generates four AI context files — .cursorrules,
AGENTS.md, CLAUDE.md, and .github/copilot-instructions.md — from one
interactive wizard. It fills a small gap: instead of copy-pasting
.cursorrules from a blog post and separately maintaining the other
three, contextarch generates all four from one source, with stack-specific
rules for 30+ stacks (React, Next.js, Vue, SvelteKit, FastAPI, Django,
Go, Rust, Electron, etc).

Summary by CodeRabbit

  • Documentation
    • Added a reference to the contextarch utility in the README, including its GitHub link and CLI usage, describing how it can auto-detect project stacks from common manifest files (Node/Python/Go/Rust) and generate recommended project configuration and guidance files to help initialize project structure and related documentation.

contextarch (npx contextarch init) generates .cursorrules, AGENTS.md,
CLAUDE.md, and copilot-instructions.md from a single interactive wizard.
Stack detection reads package.json / pyproject.toml / go.mod / Cargo.toml
and picks opinionated rules for 30+ stacks.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 17, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 129095b4-fb91-4cb5-a977-8b6f6807a43e

📥 Commits

Reviewing files that changed from the base of the PR and between 3331897 and e1910ae.

📒 Files selected for processing (1)
  • README.md

📝 Walkthrough

Walkthrough

Added a new contextarch utility entry to the README's "Utilities" section, documenting its CLI usage (npx contextarch init) and its ability to detect project stack and generate context files from manifest files.

Changes

Cohort / File(s) Summary
Documentation
README.md
Added new utility entry for contextarch with GitHub link, CLI usage (npx contextarch init), and description of stack detection (from package.json, pyproject.toml, go.mod, Cargo.toml) and generated files (.cursorrules, AGENTS.md, CLAUDE.md, .github/copilot-instructions.md).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 I sniffed the repo and gave a little cheer,
Contextarch hops in to make things clear,
Manifests whisper the stack's sweet song,
Files appear—neat, tidy, and strong,
A rabbit’s nod: the README grows near.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and accurately summarizes the main change: adding contextarch CLI to the Utilities section of the README.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
README.md (1)

288-288: Consider condensing the description for consistency.

While the current description is informative, it's notably longer than typical entries in this README. Consider condensing to match the conciseness of other entries while retaining key information.

✂️ Optional condensed version
-- [contextarch](https://github.com/ksoventures/contextarch-cli) - CLI (`npx contextarch init`) that detects your project stack and generates `.cursorrules`, `AGENTS.md`, `CLAUDE.md`, and `.github/copilot-instructions.md` from a single interactive wizard. Reads `package.json`, `pyproject.toml`, `go.mod`, `Cargo.toml`, and more to pick opinionated rules tuned to your stack. Supports 30+ stacks including React, Next.js, Vue, SvelteKit, FastAPI, Django, Go, Rust, Electron. MIT licensed.
+- [contextarch](https://github.com/ksoventures/contextarch-cli) - CLI tool (`npx contextarch init`) that auto-detects your project stack from manifests (package.json, pyproject.toml, go.mod, etc.) and generates `.cursorrules`, `AGENTS.md`, `CLAUDE.md`, and `.github/copilot-instructions.md` via an interactive wizard. Supports 30+ stacks. MIT licensed.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` at line 288, Shorten the contextarch README entry to match other
concise entries: replace the long paragraph with a single sentence that names
the tool (contextarch), how to run it (npx contextarch init), what it does
(detects project stack and generates .cursorrules, AGENTS.md, CLAUDE.md, and
.github/copilot-instructions.md), and one short note on coverage (supports 30+
stacks) and license (MIT); update the list item for "contextarch" accordingly so
the key facts are preserved but the description is one concise sentence.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@README.md`:
- Around line 288-289: Move the "contextarch" list item so it appears after the
"Cursor Watchful Headers" item in the Utilities section to restore alphabetical
order; specifically locate the two list entries mentioning "contextarch" and
"Cursor Watchful Headers" in README.md and swap their positions so "Cursor
Watchful Headers" precedes "contextarch" (respecting case-sensitive alphabetical
ordering).

---

Nitpick comments:
In `@README.md`:
- Line 288: Shorten the contextarch README entry to match other concise entries:
replace the long paragraph with a single sentence that names the tool
(contextarch), how to run it (npx contextarch init), what it does (detects
project stack and generates .cursorrules, AGENTS.md, CLAUDE.md, and
.github/copilot-instructions.md), and one short note on coverage (supports 30+
stacks) and license (MIT); update the list item for "contextarch" accordingly so
the key facts are preserved but the description is one concise sentence.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b2fddd09-5154-4653-a2f5-6f79aa48366c

📥 Commits

Reviewing files that changed from the base of the PR and between fc2ce04 and 3331897.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md Outdated
- Move contextarch after Cursor Watchful Headers (ASCII alphabetical)
- Shorten description to match typical entry length in the section
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant