You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: de-brand terminology, add --dry-run and batch instructions
Terminology:
- 'AI readiness' → 'readiness', 'Copilot instructions' → 'instructions'
- 'file-based instructions' → 'area instructions'
- De-brand PR body text (Copilot → AI coding assistants)
New features:
- instructions --dry-run: preview generated files without writing
- VS Code: batchInstructions command for multi-root workspaces
- VS Code: pickWorkspacePath() with QuickPick for multi-root
- TUI: 'R' key for readiness report, 'N' for nested areas
- Extension: config write-back with ENOENT-safe catch
- Extension: policy loading in readiness command
Improvements:
- Fix broken README maturity table (was split into two)
- Update model defaults to claude-sonnet-4.6
- Add judgeModel setting to extension README
- Fix extension engine version to 1.109.0+
- Add skip reason feedback in batch command
- Remove dead readinessReport state in TUI
- Deprecation warnings for generate instructions/agents and --per-app
Copy file name to clipboardExpand all lines: .github/prompts/generate-improvements.prompt.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
description: Suggest improvements to the AgentRC CLI project across features, bug fixes, security, performance, and engineering quality.
3
3
---
4
4
5
-
You are a senior software engineer reviewing the **AgentRC** project — a TypeScript CLI tool that primes repositories for AI-assisted development by analyzing codebases, generating Copilot instructions and VS Code configs, running evaluations, and producing AI readiness reports.
5
+
You are a senior software engineer reviewing the **AgentRC** project — a TypeScript CLI tool that primes repositories for AI-assisted development by analyzing codebases, generating instructions and VS Code configs, running evaluations, and producing readiness reports.
6
6
7
7
## Architecture Context
8
8
@@ -18,7 +18,7 @@ You are a senior software engineer reviewing the **AgentRC** project — a TypeS
18
18
-`instructions.ts` — Generates `.github/copilot-instructions.md` using Copilot SDK agent sessions
19
19
-`generator.ts` — Writes `.vscode/settings.json` and `.vscode/mcp.json` configs
Copy file name to clipboardExpand all lines: README.md
+27-18Lines changed: 27 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
11
11
AI coding agents are only as effective as the context they receive. AgentRC is a CLI and VS Code extension that closes the gap — from a single repo to hundreds across your org.
12
12
13
-
**Measure** — Analyze repo structure and score AI readiness across a 5-level maturity model.
13
+
**Measure** — Analyze repo structure and score readiness across a 5-level maturity model.
14
14
**Generate** — Produce tailored instructions, evals, and dev configs using the Copilot SDK.
15
15
**Maintain** — Run evaluations in CI to catch instruction drift as code evolves.
| 5 | Autonomous | Full AI-native development with minimal oversight |
97
100
98
101
At Level 2, AgentRC also checks **instruction consistency** — when a repo has multiple AI instruction files (e.g. `copilot-instructions.md`, `CLAUDE.md`, `AGENTS.md`), it detects whether they diverge. Symlinked or identical files pass; diverging files fail with a similarity score and a suggestion to consolidate.
Interactive or headless repo onboarding — detects your stack and walks through readiness, instructions, and config generation. For monorepos, auto-detects workspaces and bootstraps `agentrc.config.json` with workspace and area definitions.
162
+
Interactive or headless repo onboarding — analyzes your stack and generates instructions. For monorepos, auto-detects workspaces and bootstraps `agentrc.config.json` with workspace and area definitions.
Copy file name to clipboardExpand all lines: agentrc.eval.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -19,12 +19,12 @@
19
19
},
20
20
{
21
21
"id": "case-4",
22
-
"prompt": "How does the AI readiness assessment work, and how can it be customized with policies?",
23
-
"expectation": "The readiness service in src/services/readiness.ts evaluates repositories across 9 pillars (style-validation, build-system, testing, documentation, dev-environment, code-quality, observability, security, ai-tooling) and assigns a maturity level from 1 (Functional) to 5 (Autonomous). Each criterion has a scope — repo, app, or area — determining whether it runs once, per monorepo app, or per detected area. buildCriteria() returns 20+ built-in checks and buildExtras() adds optional ones. Policies loaded via src/services/policy.ts can customize the assessment: loadPolicy() reads JSON/TS/JS configs, and resolveChain() merges a chain of policies that can disable, override, or add criteria and set pass-rate thresholds. Results can be rendered as an interactive HTML report by src/services/visualReport.ts with dark/light theme toggle and expandable per-pillar details."
22
+
"prompt": "How does the readiness assessment work, and how can it be customized with policies?",
23
+
"expectation": "The readiness service evaluates repositories across 9 pillars (style-validation, build-system, testing, documentation, dev-environment, code-quality, observability, security, ai-tooling) and assigns a maturity level from 1 (Functional) to 5 (Autonomous). Each criterion has a scope — repo, app, or area — determining whether it runs once, per monorepo app, or per detected area. buildCriteria() returns 20+ built-in checks and buildExtras() adds optional ones. Policies loaded via src/services/policy.ts can customize the assessment: loadPolicy() reads JSON/TS/JS configs, and resolveChain() merges a chain of policies that can disable, override, or add criteria and set pass-rate thresholds. Results can be rendered as an interactive HTML report by src/services/visualReport.ts with dark/light theme toggle and expandable per-pillar details."
24
24
},
25
25
{
26
26
"id": "case-5",
27
-
"prompt": "How does AgentRC generate Copilot instructions, including for monorepos with multiple areas?",
27
+
"prompt": "How does AgentRC generate instructions, including for monorepos with multiple areas?",
28
28
"expectation": "The instruction generation pipeline starts with the analyzer (src/services/analyzer.ts) which scans the repo to detect languages, frameworks, monorepo apps, and logical areas (frontend, backend, etc.) with glob patterns. For root-level instructions, generateCopilotInstructions() in src/services/instructions.ts creates a Copilot SDK session that explores the codebase using tools (glob, view, grep) and produces .github/copilot-instructions.md. For area-specific instructions, generateAreaInstructions() generates focused content per area, and buildAreaFrontmatter() creates YAML frontmatter with applyTo glob patterns so VS Code scopes them to the right files. These are written to .github/instructions/{sanitized-name}.instructions.md via writeAreaInstruction(). The instructions command supports --areas to generate all area instructions, --areas-only to skip the root file, and --area <name> for a single area."
Copy file name to clipboardExpand all lines: packages/core/src/services/instructions.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -430,8 +430,8 @@ export async function generateAreaInstructions(
430
430
constpreferredModel=options.model??DEFAULT_MODEL;
431
431
432
432
constareaSystemContent=hasExistingInstructions
433
-
? `You are an expert codebase analyst. Your task is to generate a concise .instructions.md file for a specific area of a codebase. This file will be used as a file-based custom instruction in VS Code Copilot, automatically applied when working on files matching certain patterns. This file should complement, not duplicate, existing instruction files. Use the Explore subagents and read-only tools to explore the codebase. When done, call the emit_file_content tool with the final markdown.`
434
-
: `You are an expert codebase analyst. Your task is to generate a concise .instructions.md file for a specific area of a codebase. This file will be used as a file-based custom instruction in VS Code Copilot, automatically applied when working on files matching certain patterns. Use the Explore subagents and read-only tools to explore the codebase. When done, call the emit_file_content tool with the final markdown.`;
433
+
? `You are an expert codebase analyst. Your task is to generate a concise .instructions.md file for a specific area of a codebase. This file will be used as an area instruction in VS Code, automatically applied when working on files matching certain patterns. This file should complement, not duplicate, existing instruction files. Use the Explore subagents and read-only tools to explore the codebase. When done, call the emit_file_content tool with the final markdown.`
434
+
: `You are an expert codebase analyst. Your task is to generate a concise .instructions.md file for a specific area of a codebase. This file will be used as an area instruction in VS Code, automatically applied when working on files matching certain patterns. Use the Explore subagents and read-only tools to explore the codebase. When done, call the emit_file_content tool with the final markdown.`;
@@ -715,13 +715,13 @@ export function buildCriteria(): ReadinessCriterion[] {
715
715
if(fileBasedInstructions.length===0){
716
716
return{
717
717
status: "pass",
718
-
reason: `Root instructions found, but no file-based instructions for ${areas.length} detected areas. Run \`agentrc instructions --areas\` to generate.`,
718
+
reason: `Root instructions found, but no area instructions for ${areas.length} detected areas. Run \`agentrc instructions --areas\` to generate.`,
0 commit comments