docs: Add FAQ section for common questions#97
Conversation
|
Note
|
| Layer / File(s) | Summary |
|---|---|
FAQ section content README.md |
New FAQ section with subsections answering what AgentShield detects, getting started guidance (Quick Start, global install, --fix option), output format options, Opus Pipeline and MiniClaw features, licensing details, contribution guidelines, and links to help resources. |
Estimated code review effort
π― 1 (Trivial) | β±οΈ ~3 minutes
π₯ Pre-merge checks | β 5
β Passed checks (5 passed)
| Check name | Status | Explanation |
|---|---|---|
| Description Check | β Passed | Check skipped - CodeRabbitβs high-level summary is enabled. |
| Title check | β Passed | The title clearly and concisely describes the main change: adding a FAQ section to documentation. It is directly related to the file modification shown in the summary. |
| Docstring Coverage | β Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check | β Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | β Passed | Check skipped because no linked issues were found for this pull request. |
βοΈ 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.
Comment @coderabbitai help to get the list of available commands and usage tips.
There was a problem hiding this comment.
Actionable comments posted: 2
π€ Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@README.md`:
- Around line 915-924: Update the Opus Pipeline section so agent names and
descriptions match the main documentation: replace "Analyzer Agent, Adversarial
Agent, Reviewer Agent" with "Red Team (Attacker), Blue Team (Defender), Auditor"
and ensure each description text mirrors the detailed explanations from the main
docs; also add a blank line immediately before the usage code block containing
the command agentshield scan --opus --stream so the block renders correctly.
- Around line 887-903: The fenced code blocks in README.md lack surrounding
blank lines; update the three blocks that show the Quick Start, Install
globally, and Auto-fix examples so there is an empty line before the opening
```bash and an empty line after the closing ``` for each block (the sections
containing "npx ecc-agentshield scan", "npm install -g ecc-agentshield /
agentshield scan", and "agentshield scan --fix") to follow Markdown best
practices and ensure consistent rendering.
πͺ 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: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: f5542a60-ba05-46fe-84dd-031731dd9c07
π Files selected for processing (1)
README.md
| ### How to get started? | ||
|
|
||
| **Quick Start (no install):** | ||
| ```bash | ||
| npx ecc-agentshield scan | ||
| ``` | ||
|
|
||
| **Install globally:** | ||
| ```bash | ||
| npm install -g ecc-agentshield | ||
| agentshield scan | ||
| ``` | ||
|
|
||
| **Auto-fix safe issues:** | ||
| ```bash | ||
| agentshield scan --fix | ||
| ``` |
There was a problem hiding this comment.
Add blank lines around fenced code blocks.
Markdown best practices require blank lines before and after fenced code blocks to ensure proper rendering across all Markdown parsers.
π Proposed fix for formatting
### How to get started?
+
**Quick Start (no install):**
```bash
npx ecc-agentshield scanInstall globally:
npm install -g ecc-agentshield
agentshield scanAuto-fix safe issues:
agentshield scan --fix</details>
<!-- suggestion_start -->
<details>
<summary>π Committable suggestion</summary>
> βΌοΈ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
```suggestion
### How to get started?
**Quick Start (no install):**
π§° Tools
πͺ markdownlint-cli2 (0.22.1)
[warning] 890-890: Fenced code blocks should be surrounded by blank lines
(MD031, blanks-around-fences)
[warning] 895-895: Fenced code blocks should be surrounded by blank lines
(MD031, blanks-around-fences)
[warning] 901-901: Fenced code blocks should be surrounded by blank lines
(MD031, blanks-around-fences)
π€ Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@README.md` around lines 887 - 903, The fenced code blocks in README.md lack
surrounding blank lines; update the three blocks that show the Quick Start,
Install globally, and Auto-fix examples so there is an empty line before the
opening ```bash and an empty line after the closing ``` for each block (the
sections containing "npx ecc-agentshield scan", "npm install -g ecc-agentshield
/ agentshield scan", and "agentshield scan --fix") to follow Markdown best
practices and ensure consistent rendering.
|
|
||
| The Opus Pipeline is a **three-agent adversarial analysis** using Anthropic's Opus 4.6 model: | ||
| 1. **Analyzer Agent** β Deep analysis of findings | ||
| 2. **Adversarial Agent** β Attack simulation and impact assessment | ||
| 3. **Reviewer Agent** β Final recommendations and mitigation strategies | ||
|
|
||
| **Usage:** | ||
| ```bash | ||
| agentshield scan --opus --stream | ||
| ``` |
There was a problem hiding this comment.
Agent names and descriptions inconsistent with main documentation.
The FAQ describes the Opus Pipeline agents differently from the main documentation:
- FAQ (lines 917-919): Analyzer Agent, Adversarial Agent, Reviewer Agent
- Main docs (lines 370-372): Red Team (Attacker), Blue Team (Defender), Auditor
The agent descriptions also don't match the detailed explanations in the main documentation. This inconsistency could confuse users.
π Proposed fix to align with main documentation
The Opus Pipeline is a **three-agent adversarial analysis** using Anthropic's Opus 4.6 model:
-1. **Analyzer Agent** β Deep analysis of findings
-2. **Adversarial Agent** β Attack simulation and impact assessment
-3. **Reviewer Agent** β Final recommendations and mitigation strategies
+1. **Red Team (Attacker)** β Finds exploitable attack vectors and multi-step chains
+2. **Blue Team (Defender)** β Evaluates existing protections and recommends hardening
+3. **Auditor** β Synthesizes both perspectives into a prioritized risk assessment
**Usage:**
```bash
agentshield scan --opus --stream
Additionally, add a blank line before the code block:
```diff
**Usage:**
+
```bash
agentshield scan --opus --stream
</details>
<!-- suggestion_start -->
<details>
<summary>π Committable suggestion</summary>
> βΌοΈ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
```suggestion
The Opus Pipeline is a **three-agent adversarial analysis** using Anthropic's Opus 4.6 model:
1. **Red Team (Attacker)** β Finds exploitable attack vectors and multi-step chains
2. **Blue Team (Defender)** β Evaluates existing protections and recommends hardening
3. **Auditor** β Synthesizes both perspectives into a prioritized risk assessment
**Usage:**
π§° Tools
πͺ markdownlint-cli2 (0.22.1)
[warning] 922-922: Fenced code blocks should be surrounded by blank lines
(MD031, blanks-around-fences)
π€ Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@README.md` around lines 915 - 924, Update the Opus Pipeline section so agent
names and descriptions match the main documentation: replace "Analyzer Agent,
Adversarial Agent, Reviewer Agent" with "Red Team (Attacker), Blue Team
(Defender), Auditor" and ensure each description text mirrors the detailed
explanations from the main docs; also add a blank line immediately before the
usage code block containing the command agentshield scan --opus --stream so the
block renders correctly.
There was a problem hiding this comment.
1 issue found across 1 file
Prompt for AI agents (unresolved issues)
Check if these issues are valid β if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="README.md">
<violation number="1" location="README.md:917">
P2: The agent names here (Analyzer Agent, Adversarial Agent, Reviewer Agent) are inconsistent with the main documentation section which refers to them as Red Team (Attacker), Blue Team (Defender), and Auditor. Align these names and descriptions to avoid confusing users.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
| 1. **Analyzer Agent** β Deep analysis of findings | ||
| 2. **Adversarial Agent** β Attack simulation and impact assessment | ||
| 3. **Reviewer Agent** β Final recommendations and mitigation strategies |
There was a problem hiding this comment.
P2: The agent names here (Analyzer Agent, Adversarial Agent, Reviewer Agent) are inconsistent with the main documentation section which refers to them as Red Team (Attacker), Blue Team (Defender), and Auditor. Align these names and descriptions to avoid confusing users.
Prompt for AI agents
Check if this issue is valid β if so, understand the root cause and fix it. At README.md, line 917:
<comment>The agent names here (Analyzer Agent, Adversarial Agent, Reviewer Agent) are inconsistent with the main documentation section which refers to them as Red Team (Attacker), Blue Team (Defender), and Auditor. Align these names and descriptions to avoid confusing users.</comment>
<file context>
@@ -858,3 +858,94 @@ MIT
+### What is the Opus Pipeline?
+
+The Opus Pipeline is a **three-agent adversarial analysis** using Anthropic's Opus 4.6 model:
+1. **Analyzer Agent** β Deep analysis of findings
+2. **Adversarial Agent** β Attack simulation and impact assessment
+3. **Reviewer Agent** β Final recommendations and mitigation strategies
</file context>
| 1. **Analyzer Agent** β Deep analysis of findings | |
| 2. **Adversarial Agent** β Attack simulation and impact assessment | |
| 3. **Reviewer Agent** β Final recommendations and mitigation strategies | |
| 1. **Red Team (Attacker)** β Finds exploitable attack vectors and multi-step chains | |
| 2. **Blue Team (Defender)** β Evaluates existing protections and recommends hardening | |
| 3. **Auditor** β Synthesizes both perspectives into a prioritized risk assessment |
Summary
Changes
Checklist
Summary by cubic
Adds an FAQ to the README with quick-start commands, feature overviews, and help links to improve onboarding and answer common setup questions. Documentation-only change; no code updates.
ecc-agentshield, including--fixand--opususage.Written for commit 09e60f0. Summary will update on new commits.
Summary by CodeRabbit