Skip to content

docs: Add FAQ section for common questions#97

Open
meichuanyi wants to merge 1 commit into
affaan-m:mainfrom
meichuanyi:docs/add-faq-section
Open

docs: Add FAQ section for common questions#97
meichuanyi wants to merge 1 commit into
affaan-m:mainfrom
meichuanyi:docs/add-faq-section

Conversation

@meichuanyi

@meichuanyi meichuanyi commented Jun 2, 2026

Copy link
Copy Markdown

Summary

  • Add FAQ section with common questions and answers
  • Include feature tables, installation guides, and help resources
  • Improve documentation clarity for new users

Changes

  • Added FAQ section covering project overview, features, installation, Opus Pipeline, MiniClaw, and help resources
  • Structured with tables for easy reading
  • Links to relevant resources

Checklist

  • Documentation update only
  • No code changes
  • Tested README rendering locally

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.

  • New Features
    • FAQ explains what AgentShield detects and how it works.
    • Quick start and install steps for ecc-agentshield, including --fix and --opus usage.
    • Summaries of output formats, Opus Pipeline, and MiniClaw.
    • Links to repo, changelog, and npm package.

Written for commit 09e60f0. Summary will update on new commits.

Review in cubic

Summary by CodeRabbit

  • Documentation
    • Added comprehensive FAQ section to README covering common questions about AgentShield functionality, getting started, available output formats, Opus Pipeline, MiniClaw, licensing, contribution guidelines, and support resources.

@coderabbitai

coderabbitai Bot commented Jun 2, 2026

Copy link
Copy Markdown

Review Change Stack

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

⚠️ Parsing warnings (1)
Validation error: Unrecognized key: "tools"
βš™οΈ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
πŸ“ Walkthrough

Walkthrough

README.md now includes a new FAQ section (91 lines added) that addresses common questions about AgentShield, its detection capabilities, setup and usage instructions, available output formats, component features, licensing, contribution process, and help resources.

Changes

FAQ Documentation

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.

❀️ Share

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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

πŸ“₯ Commits

Reviewing files that changed from the base of the PR and between 25d91f0 and 09e60f0.

πŸ“’ Files selected for processing (1)
  • README.md

Comment thread README.md
Comment on lines +887 to +903
### 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
```

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟑 Minor | ⚑ Quick win

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 scan

Install globally:

npm install -g ecc-agentshield
agentshield scan

Auto-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.

Comment thread README.md
Comment on lines +915 to +924

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
```

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | ⚑ Quick win

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.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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

Comment thread README.md
Comment on lines +917 to +919
1. **Analyzer Agent** β€” Deep analysis of findings
2. **Adversarial Agent** β€” Attack simulation and impact assessment
3. **Reviewer Agent** β€” Final recommendations and mitigation strategies

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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>
Suggested change
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

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