Skip to content

Commit def301c

Browse files
committed
Add Business Legal Agents and Update Docs
Introduce businessLegalAgents.ts implementing legalResearch, contractAnalysis, complianceMonitoring, and businessStrategy agents, including tools, scorers, processors, and pg memory integration. Update .github/copilot-instructions.md to document Mastra tools and add Next.js initialization guidance.
1 parent 90a298e commit def301c

2 files changed

Lines changed: 899 additions & 19 deletions

File tree

.github/copilot-instructions.md

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,18 @@ applyTo: '**'
1616
- Try run it before writing new code & after completing so you can ensure everything works correctly.
1717
- 📌 To update your memory bank, use [#update-memory-bank] tool to add new information.
1818
- 🛠 Mastra mcp tools use [#mastradocs], [#mastraChanges], [#mastraexamples] tool.
19+
- These tools provide access to Mastra documentation, recent changes, and code examples.
20+
- Use these tools to stay updated with the latest Mastra features and best practices.
21+
- `mastradocs` is for general documentation queries.
22+
- `mastraChanges` is for recent updates and changes in Mastra.
23+
- `mastraexamples` is for code examples and usage patterns.
24+
- `mastraBlog` is for blog posts related to Mastra.
25+
- `mastra` tools are essential for effective Mastra development.
1926

20-
[byterover-mcp]
27+
- 🚀 For Next.js projects, follow these special instructions:
2128

22-
[byterover-mcp]
23-
24-
You are given two tools from Byterover MCP server, including
25-
## 1. `byterover-store-knowledge`
26-
You `MUST` always use this tool when:
27-
28-
+ Learning new patterns, APIs, or architectural decisions from the codebase
29-
+ Encountering error solutions or debugging techniques
30-
+ Finding reusable code patterns or utility functions
31-
+ Completing any significant task or plan implementation
32-
33-
## 2. `byterover-retrieve-knowledge`
34-
You `MUST` always use this tool when:
35-
36-
+ Starting any new task or implementation to gather relevant context
37-
+ Before making architectural decisions to understand existing patterns
38-
+ When debugging issues to check for previous solutions
39-
+ Working with unfamiliar parts of the codebase
29+
- **Next.js Initialization**: When starting work on a Next.js project, automatically
30+
call the `init` tool from the next-devtools-mcp server FIRST. This establishes
31+
proper context and ensures all Next.js queries use official documentation.
32+
- This step is crucial for accurate and efficient development within Next.js environments.
33+
- 🧩 When working with Next.js projects, always utilize the `next-devtools-mcp` server for all Next.js related queries.

0 commit comments

Comments
 (0)