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

superaiflow-core

v1.0.2

Published

智能AI工作流增强框架 - 11个专业角色和16个智能命令

Readme

🚀 SuperAiFlow

智能AI工作流增强框架 - 让AI成为您的专业开发伙伴

npm version License: MIT

✨ 特性

  • 🎭 11个专业角色: architect, frontend, backend, security, performance等
  • 16个智能命令: implement, analyze, improve, build, design等
  • 🎨 React + Magic UI: 现代化UI组件开发支持
  • 🧪 TDD工作流: 测试驱动开发最佳实践
  • 🔧 多平台适配: 支持AiFlow、Claude.ai等多个AI平台

📦 安装

npm install @superaiflow/core
# 或
yarn add @superaiflow/core
# 或
pnpm add @superaiflow/core

🚀 快速开始

基础使用

import { SuperAiFlow } from '@superaiflow/core';

const aiflow = new SuperAiFlow({
  model: 'gpt-4',
  personas: ['frontend', 'architect']
});

// 使用智能命令
const result = await aiflow.execute('implement UserCard --react --magic');

AiFlow集成

import { AiFlowAdapter } from '@superaiflow/adapter-aiflow';

const adapter = new AiFlowAdapter({
  enabled: true,
  enhancementLevel: 'comprehensive'
});

// 在AiFlow中使用
export function createSuperClaudeSlashCommands(addMessage, getCurrentModel) {
  return adapter.createCommands(addMessage, getCurrentModel);
}

🎭 专业角色

| 角色 | 专长 | 适用场景 | |------|------|----------| | architect | 系统架构设计 | 大型项目架构、技术选型 | | frontend | UI/UX开发 | React组件、用户体验 | | backend | 后端开发 | API设计、数据库架构 | | security | 安全专家 | 漏洞分析、安全加固 | | performance | 性能优化 | 性能分析、优化方案 |

查看全部11个角色

⚡ 智能命令

# 实现功能
/sc:implement UserCard --react --magic --tdd

# 分析代码
/sc:analyze @src --focus security

# 优化性能
/sc:improve @components --persona-performance

# 系统设计
/sc:design microservices --persona-architect

查看全部16个命令

🛠️ 高级配置

const config = {
  // 启用的功能
  features: {
    commands: ['implement', 'analyze', 'improve'],
    personas: ['frontend', 'backend', 'architect'],
    autoPersonaInference: true
  },
  
  // 增强级别
  enhancementLevel: 'comprehensive', // minimal | standard | comprehensive
  
  // 自定义提示词模板
  templates: {
    systemPrompt: 'custom-system.md',
    userPrompt: 'custom-user.md'
  }
};

🤝 贡献

欢迎贡献!请查看 贡献指南

📄 许可证

MIT License - 详见 LICENSE

🙏 致谢

  • AiFlow团队的支持与合作
  • 所有贡献者和用户

SuperAiFlow - 智能AI工作流的未来 🚀