npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

trae-agent-enhancements

v1.0.1

Published

Trae AI Agent Enhancements — 为 Trae IDE 打造的 AI Agent 规则与技能集:33 个专业技能 + 8 条行为规则,让 AI Agent 更稳定、更专业

Downloads

28

Readme

Trae AI Agent System

Platform License npm

English | 中文


About This Project

Trae AI Agent System is an AI Agent enhancement system for Trae IDE. It provides Rule-based routing, professional Skills, and persistent Memory capabilities — transforming your Agent from "can do anything but unstable" to "fast when simple, rigorous when complex, always learning".

Architecture

User Input → Rules (Routing & Constraints) → Skills (Execution) → Memory (Learning)

| Layer | Count | Responsibility | |:------|:------|:---------------| | Rules | 8 | Routing decisions, behavior constraints, environment handling | | Skills | 33 | Professional toolboxes covering design → coding → debugging → commit → completion | | Memory | Core Memory | Cross-session knowledge accumulation |

Core Features

  • T-Shirt Sizing: Automatic task classification (S/M/L) — small tasks are fast, large tasks are thorough
  • Closed-Loop Quality: Every skill produces verifiable evidence — no "should be fine" allowed
  • Self-Improvement: Lessons learned are stored in Core Memory — never repeat the same mistake
  • Chinese Team Ready: Native Chinese triggers, domestic Git platform support, bilingual skill files
  • Windows Native: PowerShell commands, port conflict recovery, path conventions

Quick Start

Method 1: npm install (Recommended)

Run this anywhere (installs to your home directory, global for all projects):

npx trae-agent-enhancements

Follow the interactive prompt to select your Trae edition:

| Edition | Install Location | Description | |:--------|:-----------------|:------------| | China (trae.cn) | ~/.trae-cn/rules/ + ~/.trae-cn/skills/ | Global, applies to all projects | | International (trae.ai) | ~/.trae/rules/ + ~/.trae/skills/ | Global, applies to all projects |

You can also specify the edition directly with --edition:

npx trae-agent-enhancements --edition cn       # China edition
npx trae-agent-enhancements --edition intl     # International edition
npx trae-agent-enhancements --help             # View help

Prerequisites (MCP)

Some skills require the following MCP Servers for full functionality:

| MCP Server | Purpose | Installation | |:-----------|:--------|:-------------| | Everything Search | Windows local file search | Add in Trae Settings → MCP, see everything-search skill for config | | Chrome DevTools MCP | Browser automation, Console/Network/DOM debugging, performance analysis | Add npx chrome-devtools-mcp in Trae Settings → MCP |

These MCPs power the everything-search and chrome-devtools skills. Without them, related skills will not work.

Method 2: Manual Install

# Clone the repository
git clone https://github.com/MorningStar0709/trae-agent-enhancements.git

# Choose your edition and copy to the corresponding directory

# China edition (trae.cn)
cp -r trae-agent-enhancements/rules  ~/.trae-cn/rules
cp -r trae-agent-enhancements/skills ~/.trae-cn/skills

# International edition (trae.ai)
cp -r trae-agent-enhancements/rules  ~/.trae/rules
cp -r trae-agent-enhancements/skills ~/.trae/skills

Try These Commands

"帮我排查这个报错" (Help me debug this error) "先写计划再实现" (Write a plan first, then implement) "改好了没?验证一下" (Is it fixed? Verify it) "帮我提交" (Help me commit) "记住这个处理方式" (Remember this approach)

Documentation

| Doc | Description | |:----|:------------| | docs/01-intro.md | 15-second overview | | docs/02-overview.md | Features & highlights (3 min) | | docs/03-components.md | Component quick reference (5 min) | | docs/04-design.md | Design decisions & rationale (5 min) | | docs/05-architecture.md | Complete architecture & workflows (15 min) |

Skill Paths

| Path | Skills | |:-----|:-------| | Design & Planning | brainstorming → writing-plans → executing-plans / subagent-driven-development | | Debugging & Quality | systematic-debugging → test-driven-development → verification-before-completion | | Completion & Evolution | git-commit → finishing-a-development-branch → self-improvement | | Orchestration | dispatching-parallel-agents, workflow-runner, find-docs | | Browser & Frontend | chrome-devtools, frontend-design, chart-visualization, a11y-debugging | | Meta Skills | skill-creator, skill-stability-review, skill-language-policy, creating-trae-rules |

Windows/Trae Adaptation

  • PowerShell Commands: Primary syntax for Windows environments
  • Port Recovery: netstat → taskkill → verify → retry
  • Path Conventions: Forward slashes in globs, absolute paths with backslashes
  • Core Memory: 20-entry limit per scope, auto-eviction for stale entries

Acknowledgments

This project references superpowers-zh (AI 编程超能力 · 中文增强版) for its npx installation pattern and project structure design. Thanks to @jnMetaCode for the excellent work.

Contributing

Contributions are welcome! Please read CONTRIBUTING.md for guidelines.

For Chinese version, see CONTRIBUTING_zh.md.

License

This project is licensed under the MIT License.