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