@triedotdev/mcp 1.0.40 → 1.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +138 -6
- package/dist/{chunk-G2GNVUMP.js → chunk-2I6CFJTR.js} +62 -429
- package/dist/chunk-2I6CFJTR.js.map +1 -0
- package/dist/chunk-52SSNKXS.js +814 -0
- package/dist/chunk-52SSNKXS.js.map +1 -0
- package/dist/{chunk-B3MBKB2U.js → chunk-GBGONSOR.js} +201 -3
- package/dist/chunk-GBGONSOR.js.map +1 -0
- package/dist/cli/main.js +163 -11
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/yolo-daemon.js +3 -3
- package/dist/index.js +47 -10
- package/dist/index.js.map +1 -1
- package/dist/workers/agent-worker.js +2 -1
- package/dist/workers/agent-worker.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-B3MBKB2U.js.map +0 -1
- package/dist/chunk-G2GNVUMP.js.map +0 -1
- package/dist/chunk-Q4RVENDE.js +0 -229
- package/dist/chunk-Q4RVENDE.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
# Trie
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**A central registry for agents and skills that follow you from Cursor to CI/CD and everything in between.**
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Also try the agentic workspace for shipping AI-generated code: https://www.trie.dev
|
|
5
|
+
Download the Trie workspace: https://www.trie.dev
|
|
8
6
|
|
|
9
7
|
## Why Trie
|
|
10
8
|
|
|
@@ -14,6 +12,8 @@ The last mile of shipping is where things break—not because your code doesn't
|
|
|
14
12
|
|
|
15
13
|
## What's New (latest updates)
|
|
16
14
|
|
|
15
|
+
- **External Skills**: Install reusable capabilities from Vercel, Anthropic, Expo, Stripe, Supabase, or any GitHub repository. Skills are applied by the skill-review agent during scans and tracked in your project context. Browse available skills at [skills.sh](https://skills.sh).
|
|
16
|
+
|
|
17
17
|
- **Project Info Registry**: Store important project context in `.trie/PROJECT.md` that travels with you across Claude Code, Cursor, GitHub Actions, and CLI. Define your project description, tech stack, conventions, architecture, and custom AI instructions—all in one place.
|
|
18
18
|
|
|
19
19
|
- **Accessibility Agent (v2.0)**: Comprehensive WCAG 2.1 AA compliance. Detects icon-only buttons, touch targets, skipped headings, positive tabIndex, ARIA validation, color-only indicators, and 20+ more checks with WCAG criterion references.
|
|
@@ -40,12 +40,13 @@ The last mile of shipping is where things break—not because your code doesn't
|
|
|
40
40
|
- [Design Engineer (v2.0)](#design-engineer-v20)
|
|
41
41
|
- [Special Agents](#special-agents)
|
|
42
42
|
- [Custom Agents](#custom-agents)
|
|
43
|
+
- [External Skills](#external-skills)
|
|
43
44
|
- [Project Info Registry](#project-info-registry)
|
|
44
45
|
- [AI-Enhanced Mode](#ai-enhanced-mode)
|
|
45
46
|
- [CI/CD Integration](#cicd-integration)
|
|
46
47
|
- [VS Code Extension](#vs-code-extension)
|
|
47
48
|
- [Agent Context System](#agent-context-system)
|
|
48
|
-
- [Production Shipping](#production-shipping)
|
|
49
|
+
- [Production Shipping](#production-shipping)
|
|
49
50
|
- [Configuration](#configuration)
|
|
50
51
|
- [License](#license)
|
|
51
52
|
|
|
@@ -69,6 +70,7 @@ The last mile of shipping is where things break—not because your code doesn't
|
|
|
69
70
|
|---------|-------------|
|
|
70
71
|
| **Watch Mode** | Automatically scan files as you code |
|
|
71
72
|
| **Custom Agents** | Create agents from PDFs, docs, or style guides |
|
|
73
|
+
| **External Skills** | Install capabilities from Vercel, Anthropic, Expo, Stripe, or any GitHub repo |
|
|
72
74
|
| **Works Everywhere** | Auto-detects Cursor, Claude Code, OpenCode, VS Code—adapts output automatically |
|
|
73
75
|
| **AI-Enhanced Mode** | Optional deeper analysis with `ANTHROPIC_API_KEY` |
|
|
74
76
|
|
|
@@ -223,7 +225,7 @@ Once set up, here's how to use Trie day-to-day.
|
|
|
223
225
|
| What Trie Remembers | Why It Matters |
|
|
224
226
|
|---------------------|----------------|
|
|
225
227
|
| Last scan results | AI knows what issues exist without re-scanning |
|
|
226
|
-
|
|
|
228
|
+
| Health score (0-100) | Controls what agents run (see below) |
|
|
227
229
|
| Which files have issues | AI focuses on problem areas first |
|
|
228
230
|
| What type of code you have | Runs the right checks (payments, auth, etc.) automatically |
|
|
229
231
|
| Scan history | See if issues are getting better or worse |
|
|
@@ -454,6 +456,12 @@ trie-agent scan --format json --output report.json
|
|
|
454
456
|
|
|
455
457
|
# List all available agents
|
|
456
458
|
trie-agent agents
|
|
459
|
+
|
|
460
|
+
# Install an external skill
|
|
461
|
+
trie-agent skills add vercel-labs/agent-skills react-best-practices
|
|
462
|
+
|
|
463
|
+
# List installed skills
|
|
464
|
+
trie-agent skills list
|
|
457
465
|
```
|
|
458
466
|
|
|
459
467
|
### CLI vs MCP Tools
|
|
@@ -949,6 +957,130 @@ Custom agents are stored in `.trie/agents/` in your project directory.
|
|
|
949
957
|
|
|
950
958
|
---
|
|
951
959
|
|
|
960
|
+
## External Skills
|
|
961
|
+
|
|
962
|
+
Install reusable capabilities from Vercel, Anthropic, Expo, Stripe, Supabase, or any GitHub repository. Skills are knowledge/instructions that agents apply during code review.
|
|
963
|
+
|
|
964
|
+
### Key Concept: Agents vs Skills
|
|
965
|
+
|
|
966
|
+
| | Agent (Brain) | Skill (Hands) |
|
|
967
|
+
|---|---------------|---------------|
|
|
968
|
+
| **Decides when to run** | Yes | No - invoked by agent |
|
|
969
|
+
| **Has its own logic** | Yes | No - just instructions |
|
|
970
|
+
| **Makes decisions** | Yes | No - follows instructions |
|
|
971
|
+
| **Examples** | SecurityAgent, CustomAgent | react-best-practices SKILL.md |
|
|
972
|
+
|
|
973
|
+
Skills are applied by the **skill-review agent** during scans.
|
|
974
|
+
|
|
975
|
+
### Install a Skill
|
|
976
|
+
|
|
977
|
+
**CLI:**
|
|
978
|
+
```bash
|
|
979
|
+
# From Vercel's skills repository
|
|
980
|
+
trie-agent skills add vercel-labs/agent-skills react-best-practices
|
|
981
|
+
|
|
982
|
+
# From Anthropic's skills
|
|
983
|
+
trie-agent skills add anthropics/skills claude-code-review
|
|
984
|
+
|
|
985
|
+
# From any GitHub repo with a SKILL.md
|
|
986
|
+
trie-agent skills add myorg/internal-standards code-style
|
|
987
|
+
```
|
|
988
|
+
|
|
989
|
+
**Using MCP (Cursor/Claude Code):**
|
|
990
|
+
```
|
|
991
|
+
Install the react-best-practices skill from vercel-labs/agent-skills
|
|
992
|
+
```
|
|
993
|
+
|
|
994
|
+
### List Installed Skills
|
|
995
|
+
|
|
996
|
+
```bash
|
|
997
|
+
trie-agent skills list
|
|
998
|
+
```
|
|
999
|
+
|
|
1000
|
+
Output:
|
|
1001
|
+
```
|
|
1002
|
+
Installed Skills (2):
|
|
1003
|
+
|
|
1004
|
+
react-best-practices (applied 12x)
|
|
1005
|
+
React and Next.js performance optimization
|
|
1006
|
+
Source: vercel-labs/agent-skills
|
|
1007
|
+
|
|
1008
|
+
web-design-guidelines (applied 8x)
|
|
1009
|
+
Modern web design patterns and accessibility
|
|
1010
|
+
Source: vercel-labs/agent-skills
|
|
1011
|
+
|
|
1012
|
+
These skills are applied by the skill-review agent during scans.
|
|
1013
|
+
```
|
|
1014
|
+
|
|
1015
|
+
### How It Works
|
|
1016
|
+
|
|
1017
|
+
1. **Install** - Skills are cloned from GitHub to `.trie/skills/`
|
|
1018
|
+
2. **Load** - The skill-review agent loads installed skills on startup
|
|
1019
|
+
3. **Apply** - During scans, the agent applies skill knowledge to code review
|
|
1020
|
+
4. **Track** - Usage is recorded in your project context
|
|
1021
|
+
|
|
1022
|
+
### Remove a Skill
|
|
1023
|
+
|
|
1024
|
+
```bash
|
|
1025
|
+
trie-agent skills remove react-best-practices
|
|
1026
|
+
```
|
|
1027
|
+
|
|
1028
|
+
### Skill Format
|
|
1029
|
+
|
|
1030
|
+
Skills follow the [Agent Skills specification](https://agentskills.io/specification):
|
|
1031
|
+
|
|
1032
|
+
```
|
|
1033
|
+
skill-name/
|
|
1034
|
+
SKILL.md # Required: YAML frontmatter + instructions
|
|
1035
|
+
scripts/ # Optional: executable code
|
|
1036
|
+
references/ # Optional: additional docs
|
|
1037
|
+
assets/ # Optional: templates, data
|
|
1038
|
+
```
|
|
1039
|
+
|
|
1040
|
+
Example SKILL.md:
|
|
1041
|
+
```yaml
|
|
1042
|
+
---
|
|
1043
|
+
name: react-best-practices
|
|
1044
|
+
description: React and Next.js performance optimization
|
|
1045
|
+
---
|
|
1046
|
+
|
|
1047
|
+
# React Best Practices
|
|
1048
|
+
|
|
1049
|
+
## Guidelines
|
|
1050
|
+
1. Avoid creating components inside render
|
|
1051
|
+
2. Use React.memo for expensive components
|
|
1052
|
+
3. Prefer useCallback for event handlers
|
|
1053
|
+
...
|
|
1054
|
+
```
|
|
1055
|
+
|
|
1056
|
+
### MCP Resource
|
|
1057
|
+
|
|
1058
|
+
Access installed skills via MCP:
|
|
1059
|
+
```
|
|
1060
|
+
Read trie://skills
|
|
1061
|
+
```
|
|
1062
|
+
|
|
1063
|
+
### Skill Sources
|
|
1064
|
+
|
|
1065
|
+
Skills can come from any GitHub repository with a SKILL.md file:
|
|
1066
|
+
|
|
1067
|
+
| Source | Examples |
|
|
1068
|
+
|--------|----------|
|
|
1069
|
+
| [Vercel](https://github.com/vercel-labs/agent-skills) | react-best-practices, web-design-guidelines |
|
|
1070
|
+
| [Anthropic](https://github.com/anthropics/skills) | frontend-design, skill-creator, webapp-testing |
|
|
1071
|
+
| [Expo](https://github.com/expo/skills) | building-native-ui, upgrading-expo, native-data-fetching |
|
|
1072
|
+
| [Stripe](https://github.com/stripe/ai) | stripe-best-practices |
|
|
1073
|
+
| [Better Auth](https://github.com/better-auth/skills) | better-auth-best-practices |
|
|
1074
|
+
| [Remotion](https://github.com/remotion-dev/skills) | remotion-best-practices |
|
|
1075
|
+
| [Callstack](https://github.com/callstackincubator/agent-skills) | react-native-best-practices |
|
|
1076
|
+
| [Supabase](https://github.com/supabase/agent-skills) | supabase-postgres-best-practices |
|
|
1077
|
+
| Your org | Internal standards, style guides, compliance docs |
|
|
1078
|
+
| Community | Any public repo following the SKILL.md format |
|
|
1079
|
+
|
|
1080
|
+
Browse all available skills at [skills.sh](https://skills.sh)
|
|
1081
|
+
|
|
1082
|
+
---
|
|
1083
|
+
|
|
952
1084
|
## Project Info Registry
|
|
953
1085
|
|
|
954
1086
|
Store important project-specific information in `.trie/PROJECT.md` that's automatically available to all AI tools.
|