LWTlong/ai-dev-analytics

💻 Developer Tools
0 Views
0 Installs

📇 🏠 - An open-source observability layer for AI coding. Silently tracks dev tokens/time and auto-codifies AI deviations into persistent project rules.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "lwtlong-ai-dev-analytics": {
      "command": "npx",
      "args": [
        "-y",
        "lwtlong-ai-dev-analytics"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

AIDA

AI 工具资产治理层 — 规则、技能、决策记忆、插件

version license node tests aida MCP server


三大能力

1. 资产治理

扫描 .claude/rules/.cursor/rules/.codex/.aida/ 等目录,找出重复、矛盾、失效的规则和技能。所有写操作走 aida_apply_governance MCP 工具,每批 journal 一次,可通过 aida_undo 一键回滚。

核心 skill: /aida-govern(一站式)

2. 分层决策记忆

用 MADR 格式把 "为什么这段代码这么写" 记录到 .claude/rules/decisions/。Claude Code 通过 paths 前置元数据在相关文件打开时自动加载,无需手动召回。

核心 skill: /aida-remember/aida-remember-branch

3. AI 资产总览

本地 Dashboard(aida dashboard)提供 package.json 风格的资产清单:规则/技能/决策/MCP 配置/插件,一屏看完。

核心 skill: /aida-audit


30 秒上手(Claude Code Plugin)

/plugin marketplace add LWTlong/aida
/plugin install aida@aida

重启 Claude Code。12 个 aida-* skill 会立刻可用。

升级:

/plugin update aida

Cursor / Codex / VS Code(可选,走 MCP)

在项目根 .mcp.json 加入:

{ "mcpServers": { "aida": { "command": "npx", "args": ["-y", "aida", "mcp"] } } }

或用一键脚本:

npx aida init

Skill 一览

类别Skill用途
治理/aida-govern一站式:扫描 → 分析 → 确认 → 一次落盘(覆盖规则过载/任务型规则/文档冗余/跨工具重复/冲突/聚合镜像/2.x 遗留物)
/aida-resolve解决 AI 资产文件的 git 合并冲突
/aida-sync跨工具同步:Claude ↔ Cursor ↔ Codex(你选源→目标)
/aida-import从本地目录路径安全导入外部 Claude Plugin(先审计风险)
只读/aida-audit扫描并梳理项目所有 AI 资产
记忆/aida-remember记一条决策为 MADR,Claude Code 自动加载
/aida-remember-branch从当前分支的 diff 批量提取决策
/aida-recall召回之前沉淀的模块记忆
/aida-analyze分支/功能开发完后沉淀"改了什么、为什么"
/aida-undo回滚最近一次 AIDA 写操作
分享/aida-pkg打包资产为 Claude Plugin
/aida-ui打开本地 Dashboard(检查 npm 包 → 引导安装 → 给出启动命令)
/aida-help显示 skill 参考卡片

MCP 工具清单

工具作用
aida_bootstrap初始化 / 状态检查 / 工具授权清单
aida_scan_assets扫描所有 AI 资产
aida_list_assets / aida_get_asset浏览资产
aida_apply_governance执行治理动作(create/modify/delete/remove-lines),全部 journaled
aida_undo撤销上一次治理操作
aida_write_analysis写分析报告
aida_memory / aida_remember / aida_recall读写决策记忆
aida_build_plugin打包项目资产为 Claude Plugin
aida_build_self_plugin打包 AIDA 自身为 Plugin
aida_parse_plugin / aida_audit_plugin_risk解析/审计外部 Plugin

项目结构

.claude-plugin/
  plugin.json           # Claude Plugin 清单(本仓库本身就是 plugin)
  marketplace.json      # Marketplace 清单
src/
  assets/skills/        # 12 个 aida-* skill 源(plugin skills 字段指过来)
  core/                 # 扫描、治理、undo、memory、plugin builder
  mcp/server.ts         # MCP server
  cli/                  # aida CLI
  dashboard/            # Dashboard 前端产物
.claude/
  rules/decisions/      # MADR 决策记忆(Claude Code 自动加载)
.aida/
  cache/                # 扫描结果 + undo journal

验证

npm test
npm run build

Related MCP Servers

Moxie-Docs-MCP★ Featured

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

💻 Developer Tools2 views
3KniGHtcZ/codebeamer-mcp

📇 ☁️ 🍎 🪟 🐧 - Codebeamer ALM integration for managing work items, trackers, and projects. Provides 17 tools for reading and writing items, associations, references, comments, and risk management data via Codebeamer REST API v3.

💻 Developer Tools1 views
21st-dev/Magic-MCP

Create crafted UI components inspired by the best 21st.dev design engineers.

💻 Developer Tools0 views
a-25/ios-mcp-code-quality-server

📇 🏠 🍎 - iOS code quality analysis and test automation server. Provides comprehensive Xcode test execution, SwiftLint integration, and detailed failure analysis. Operates in both CLI and MCP server modes for direct developer usage and AI assistant integration.

💻 Developer Tools0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it →
★ Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.