Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

superaiflow-core

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

superaiflow-core

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

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
8
166.67%
Maintainers
1
Weekly downloads
 
Created
Source

🚀 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系统架构设计大型项目架构、技术选型
frontendUI/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工作流的未来 🚀

Keywords

ai

FAQs

Package last updated on 17 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts