
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
superaiflow-core
Advanced tools
智能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');
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 | 性能优化 | 性能分析、优化方案 |
# 实现功能
/sc:implement UserCard --react --magic --tdd
# 分析代码
/sc:analyze @src --focus security
# 优化性能
/sc:improve @components --persona-performance
# 系统设计
/sc:design microservices --persona-architect
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
SuperAiFlow - 智能AI工作流的未来 🚀
FAQs
智能AI工作流增强框架 - 11个专业角色和16个智能命令
The npm package superaiflow-core receives a total of 8 weekly downloads. As such, superaiflow-core popularity was classified as not popular.
We found that superaiflow-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.