Skip to content

Add Strale agent capabilities rule (KYB, compliance, financial validation)#212

Open
petterlindstrom79 wants to merge 2 commits intoPatrickJS:mainfrom
petterlindstrom79:add-strale-capability-rules
Open

Add Strale agent capabilities rule (KYB, compliance, financial validation)#212
petterlindstrom79 wants to merge 2 commits intoPatrickJS:mainfrom
petterlindstrom79:add-strale-capability-rules

Conversation

@petterlindstrom79
Copy link
Copy Markdown

@petterlindstrom79 petterlindstrom79 commented Mar 25, 2026

Adds a .cursorrules file for AI agents that need business verification,
financial validation, or compliance screening capabilities.

Strale provides 250+ quality-scored API capabilities across 27 countries,
accessible via MCP server (strale-mcp on npm) or SDK. Covers KYB, IBAN/VAT
validation, sanctions/PEP screening, web extraction, and EU compliance.

Free tier available (5 capabilities, no API key needed).

Summary by CodeRabbit

  • Documentation
    • Added documentation describing Strale agent capabilities for KYB/business checks, financial identifier validation, compliance screening, and structured data extraction
    • Includes guidance for integrating Strale, configuration examples, and SDK installation steps
    • Notes availability of free-tier capabilities and how paid capabilities require an API key
    • Links to detailed capability docs and usage examples

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 25, 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: 584ea5f7-90e9-466c-a35d-3ad464585faf

📥 Commits

Reviewing files that changed from the base of the PR and between 9c5db87 and f1a8afe.

📒 Files selected for processing (2)
  • rules/strale-agent-capabilities-cursorrules-prompt-file/.cursorrules
  • rules/strale-agent-capabilities-cursorrules-prompt-file/README.md
✅ Files skipped from review due to trivial changes (2)
  • rules/strale-agent-capabilities-cursorrules-prompt-file/README.md
  • rules/strale-agent-capabilities-cursorrules-prompt-file/.cursorrules

📝 Walkthrough

Walkthrough

Adds a new .cursorrules prompt file and README that define Strale agent capabilities and integration patterns for KYB, financial identifier validation, sanctions/PEP screening, structured data extraction, and compliance classification, plus MCP server and SDK configuration examples.

Changes

Cohort / File(s) Summary
Strale agent rules & docs
rules/strale-agent-capabilities-cursorrules-prompt-file/.cursorrules, rules/strale-agent-capabilities-cursorrules-prompt-file/README.md
New .cursorrules defining when/how to invoke Strale capabilities (search → execute by slug), input/output structure, free vs paid capabilities, MCP server example and SDK options. README documents supported capability areas, setup (mcpServers example, npm/pip SDK), and links to docs/capabilities.

Sequence Diagram(s)

sequenceDiagram
  participant User as User/Agent
  participant Agent as AI Agent
  participant MCP as MCP Server
  participant Strale as Strale Capability
  participant Ext as External Data Source

  User->>Agent: Request verification/compliance task
  Agent->>MCP: search(capability, query)  -- find capability slug
  MCP-->>Agent: capability slug
  Agent->>Strale: execute(capability_slug, structured_input)
  Strale->>Ext: optional fetch/extraction (web/PDF/invoice)
  Ext-->>Strale: extracted structured data
  Strale-->>Agent: structured JSON result + quality score
  Agent->>User: return structured findings
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5 minutes

Suggested reviewers

  • PatrickJS

Poem

🐰 I hopped to read the rules today,

Strale helps sift the weeds away.
KYB, IBAN, and sanction screens,
I nibble docs and tidy scenes.
Hooray — clean data, bright and gay!

🚥 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 accurately summarizes the main change: adding a new .cursorrules file with Strale agent capabilities for KYB, compliance, and financial validation.
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)
rules/strale-agent-capabilities-cursorrules-prompt-file/.cursorrules (1)

13-14: Verify the JSON configuration syntax.

The JSON configuration on line 14 appears to be a single-line representation. While this is technically valid JSON, it may be harder for users to read and copy-paste correctly compared to a multi-line formatted example.

📝 Suggested formatting improvement for readability
-Setup (add to MCP config):
-{ "mcpServers": { "strale": { "command": "npx", "args": ["-y", "strale-mcp"] } } }
+Setup (add to MCP config):
+```json
+{
+  "mcpServers": {
+    "strale": {
+      "command": "npx",
+      "args": ["-y", "strale-mcp"]
+    }
+  }
+}
+```
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@rules/strale-agent-capabilities-cursorrules-prompt-file/.cursorrules` around
lines 13 - 14, The JSON example for the MCP config is valid but hard to read as
a single line; reformat the single-line object into a readable multi-line JSON
block so users can copy it easily—expand the top-level "mcpServers" object and
the nested "strale" entry, placing "command": "npx" and "args": ["-y",
"strale-mcp"] on their own lines (preserve keys "mcpServers", "strale",
"command", and "args" and the argument "strale-mcp").
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@rules/strale-agent-capabilities-cursorrules-prompt-file/README.md`:
- Around line 1-4: Update the README to include author attribution: add an
"Author" line or short credits paragraph near the top of the file (e.g.,
directly under the title) that names the original author and optionally their
contact or source, and add a one-sentence note linking the README to the
corresponding .cursorrules file (e.g., "This README accompanies
rules/strale-agent-capabilities-cursorrules-prompt-file.cursorrules"). Ensure
the credit is clear and concise and matches the project’s author-attribution
style used elsewhere.

---

Nitpick comments:
In `@rules/strale-agent-capabilities-cursorrules-prompt-file/.cursorrules`:
- Around line 13-14: The JSON example for the MCP config is valid but hard to
read as a single line; reformat the single-line object into a readable
multi-line JSON block so users can copy it easily—expand the top-level
"mcpServers" object and the nested "strale" entry, placing "command": "npx" and
"args": ["-y", "strale-mcp"] on their own lines (preserve keys "mcpServers",
"strale", "command", and "args" and the argument "strale-mcp").

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 70134732-0c69-4de7-b06a-4a163b6a6de8

📥 Commits

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

📒 Files selected for processing (2)
  • rules/strale-agent-capabilities-cursorrules-prompt-file/.cursorrules
  • rules/strale-agent-capabilities-cursorrules-prompt-file/README.md

@petterlindstrom79
Copy link
Copy Markdown
Author

Hi — just checking in on this PR. Happy to address any feedback or make adjustments if needed. Let me know if there's anything blocking the merge.

@petterlindstrom79
Copy link
Copy Markdown
Author

Friendly ping — this has been open for a while. Let me know if there's anything I can do to move it forward.

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