跳到主内容
智客 ZICQ

技能库 智客分类:文档办公 project-workflow-analysis-blueprint-generator

Project Workflow Analysis Blueprint Generator

用于记录端到端应用工作流程的综合性技术可知快取器. 自动检测项目架构模式,技术堆栈和数据流模式,生成涵盖入站点,服务层,数据访问,出错处理以及测试方法的详细实施蓝图,涵盖多种技术包括. NET,Java/Spring,React,和微服务架构.

9396 安装量

官方网址:skills.sh

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

用于记录端到端应用工作流程的综合性技术可知快取器. 自动检测项目架构模式,技术堆栈和数据流模式,生成涵盖入站点,服务层,数据访问,出错处理以及测试方法的详细实施蓝图,涵盖多种技术包括. NET,Java/Spring,React,和微服务架构.

何时用

官方 description 未单独写出 Use when。按规范,代理会在用户任务与这段 description 的关键词匹配时激活本技能。

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Project Workflow Documentation Generator、Configuration Variables、Generated Prompt、Initial Detection Phase、Workflow Documentation Instructions、Technology-Specific Implementation Patterns。 其中含规范建议的小节:分步指令。

文件分析

文件分析:这是一份仅含 SKILL.md 的指令型技能,代理激活后整份正文进入上下文。

官方 description(原文)

Comprehensive technology-agnostic prompt generator for documenting end-to-end application workflows. Automatically detects project architecture patterns, technology stacks, and data flow patterns to generate detailed implementation blueprints covering entry points, service layers, data access, error handling, and testing approaches across multiple technologies including .NET, Java/Spring, React, and microservices architectures.

Project Workflow Documentation GeneratorConfiguration VariablesGenerated PromptInitial Detection PhaseWorkflow Documentation InstructionsTechnology-Specific Implementation PatternsImplementation Guidelines

来源分类:skills.sh agent-skill

SKILL.md 与 Agent 调用

官方规范 ↗
name
project-workflow-analysis-blueprint-generator
description
Comprehensive technology-agnostic prompt generator for documenting end-to-end application workflows. Automatically detects project architecture patterns, technology stacks, and data flow patterns to generate detailed implementation blueprints covering entry points, service layers, data access, error handling, and testing approaches across multiple technologies including .NET, Java/Spring, React, and microservices architectures.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「project-workflow-analysis-blueprint-generator」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-968aefaeb2d4023d-Project-Workflow-Analysis-Blueprint-Gene.html
请存为 .cursor/skills/project-workflow-analysis-blueprint-generator/SKILL.md 或 .claude/skills/project-workflow-analysis-blueprint-generator/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。

GitHub 完整包 ↗

终端安装 · Skills CLI

需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。

npx skills add 'https://github.com/github/awesome-copilot' --list

npx skills add 'https://github.com/github/awesome-copilot' --skill 'project-workflow-analysis-blueprint-generator'

CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。

阅读排版
--- name: project-workflow-analysis-blueprint-generator description: 'Comprehensive technology-agnostic prompt generator for documenting end-to-end application workflows. Automatically detects project architecture patterns, technology stacks, and data flow patterns to generate detailed implementation blueprints covering entry points, service layers, data access, error handling, and testing approaches across multiple technologies including .NET, Java/Spring, React, and microservices architectures.' --- # Project Workflow Documentation Generator ## Configuration Variables ``` ${PROJECT_TYPE="Auto-detect|.NET|Java|Spring|Node.js|Python|React|Angular|Microservices|Other"} ${ENTRY_POINT="API|GraphQL|Frontend|CLI|Message Consumer|Scheduled Job|Custom"} ${PERSISTENCE_TYPE="Auto-detect|SQL Database|NoSQL Database|File System|External API|Message Queue|Cache|None"} ${ARCHITECTURE_PATTERN="Auto-detect|Layered|Clean|CQRS|Microservices|MVC|MVVM|Serverless|Event-Driven|Other"} ${WORKFLOW_COUNT=1-5} ${DETAIL_LEVEL="Standard|Implementation-Ready"} ${INCLUDE_SEQUENCE_DIAGRAM=true|false} ${INCLUDE_TEST_PATTERNS=true|false} ``` ## Generated Prompt ``` "Analyze the codebase and document ${WORKFLOW_COUNT} representative end-to-end workflows that can serve as implementation templates for similar features. Use the following approach: ``` ### Initial Detection Phase ``` ${PROJECT_TYPE == "Auto-detect" ? "Begin by examining the codebase structure to identify technologies: - Check for .NET solutions/projects, Spring configurations, Node.js/Express files, etc. - Identify the primary programming language(s) and frameworks in use - Determine the architectural patterns based on folder structure and key components" : "Focus on ${PROJECT_TYPE} patterns and conventions"} ``` ``` ${ENTRY_POINT == "Auto-detect" ? "Identify typical entry points by looking for: - API controllers or route definitions - GraphQL resolvers - UI components that initiate network requests - Message handlers or event subscribers - Scheduled job definitions" : "Focus on ${ENTRY_POINT} entry points"} ``` ``` ${PERSISTENCE_TYPE == "Auto-detect" ? "Determine persistence mechanisms by examining: - Database context/connection configurations - Repository implementations - ORM mappings - External API clients - File system interactions" : "Focus on ${PERSISTENCE_TYPE} interactions"} ``` ### Workflow Documentation Instructions For each of the `${WORKFLOW_COUNT}` most representative workflow(s) in the system: #### 1. Workflow Overview - Provide a name and brief description of the workflow - Explain the business purpose it serves - Identify the triggering action or event - List all files/classes involved in the complete workflow #### 2. Entry Point Implementation **API Entry Points:** ``` ${ENTRY_POINT == "API" || ENTRY_POINT == "Auto-detect" ? "- Document the API controller class and method that receives the request - Show the complete method signature including attributes/annotations - Include the full request DTO/model class definition - Document validation attributes and custom validators - Show authentication/authorization attributes and checks" : ""} ``` **GraphQL Entry Points:** ``` ${ENTRY_POINT == "GraphQL" || ENTRY_POINT == "Auto-detect" ? "- Document the GraphQL resolver class and method - Show the complete schema definition for the query/mutation - Include input type definitions - Show resolver method implementation with parameter handling" : ""} ``` **Frontend Entry Points:** ``` ${ENTRY_POINT == "Frontend" || ENTRY_POINT == "Auto-detect" ? "- Document the component that initiates the API call - Show the event handler that triggers the request - Include the API client service method - Show state management code related to the request" : ""} ``` **Message Consumer Entry Points:** ``` ${ENTRY_POINT == "Message Consumer" || ENTRY_POINT == "Auto-detect" ? "- Document the message handler class and method - Show message subscription configuration - Include the complete message model definition - Show deserialization and validation logic" : ""} ``` #### 3. Service Layer Implementation - Document each service class involved with their dependencies - Show the complete method signatures with parameters and return types - Include actual method implementations with key business logic - Document interface definitions where applicable - Show dependency injection registration patterns **CQRS Patterns:** ``` ${ARCHITECTURE_PATTERN == "CQRS" || ARCHITECTURE_PATTERN == "Auto-detect" ? "- Include complete command/query handler implementations" : ""} ``` **Clean Architecture Patterns:** ``` ${ARCHITECTURE_PATTERN == "Clean" || ARCHITECTURE_PATTERN == "Auto-detect" ? "- Show use case/interactor implementations" : ""} ``` #### 4. Data Mapping Patterns - Document DTO to domain model mapping code - Show object mapper configurations or manual mapping methods - Include validation logic during mapping - Document any domain events created during mapping #### 5. Data Access Implementation - Document repository interfaces and their implementations - Show complete method signatures with parameters and return types - Include actual query implementations - Document entity/model class definitions with all properties - Show transaction handling patterns **SQL Database Patterns:** ``` ${PERSISTENCE_TYPE == "SQL Database" || PERSISTENCE_TYPE == "Auto-detect" ? "- Include ORM configurations, annotations, or Fluent API usage - Show actual SQL queries or ORM statements" : ""} ``` **NoSQL Database Patterns:** ``` ${PERSISTENCE_TYPE == "NoSQL Database" || PERSISTENCE_TYPE == "Auto-detect" ? "- Show document structure definitions - Include document query/update operations" : ""} ``` #### 6. Response Construction - Document response DTO/model class definitions - Show mapping from domain/entity models to response models - Include status code selection logic - Document error response structure and generation #### 7. Error Handling Patterns - Document exception types used in the workflow - Show try/catch patterns at each layer - Include global exception handler configurations - Document error logging implementations - Show retry policies or circuit breaker patterns - Include compensating actions for failure scenarios #### 8. Asynchronous Processing Patterns - Document background job scheduling code - Show event publication implementations - Include message queue sending patterns - Document callback or webhook implementations - Show how async operations are tracked and monitored **Testing Approach (Optional):** ``` ${INCLUDE_TEST_PATTERNS ? "9. **Testing Approach** - Document unit test implementations for each layer - Show mocking patterns and test fixture setup - Include integration test implementations - Document test data generation approaches - Show API/controller test implementations" : ""} ``` **Sequence Diagram (Optional):** ``` ${INCLUDE_SEQUENCE_DIAGRAM ? "10. **Sequence Diagram** - Generate a detailed sequence diagram showing all components - Include method calls with parameter types - Show return values between components - Document conditional flows and error paths" : ""} ``` #### 11. Naming Conventions Document consistent patterns for: - Controller naming (e.g., `EntityNameController`) - Service naming (e.g., `EntityNameService`) - Repository naming (e.g., `IEntityNameRepository`) - DTO naming (e.g., `EntityNameRequest`, `EntityNameResponse`) - Method naming patterns for CRUD operations - Variable naming conventions - File organization patterns #### 12. Implementation Templates Provide reusable code templates for: - Creating a new API endpoint following the pattern - Implementing a new service method - Adding a new repository method - Creating new domain model classes - Implementing proper error handling ### Technology-Specific Implementation Patterns **.NET Implementation Patterns (if detected):** ``` ${PROJECT_TYPE == ".NET" || PROJECT_TYPE == "Auto-detect" ? "- Complete controller class with attributes, filters, and dependency injection - Service registration in Startup.cs or Program.cs - Entity Framework DbContext configuration - Repository implementation with EF Core or Dapper - AutoMapper profile configurations - Middleware implementations for cross-cutting concerns - Extension method patterns - Options pattern implementation for configuration - Logging implementation with ILogger - Authentication/authorization filter or policy implementations" : ""} ``` **Spring Implementation Patterns (if detected):** ``` ${PROJECT_TYPE == "Java" || PROJECT_TYPE == "Spring" || PROJECT_TYPE == "Auto-detect" ? "- Complete controller class with annotations and dependency injection - Service implementation with transaction boundaries - Repository interface and implementation - JPA entity definitions with relationships - DTO class implementations - Bean configuration and component scanning - Exception handler implementations - Custom validator implementations" : ""} ``` **React Implementation Patterns (if detected):** ``` ${PROJECT_TYPE == "React" || PROJECT_TYPE == "Auto-detect" ? "- Component structure with props and state - Hook implementation patterns (useState, useEffect, custom hooks) - API service implementation - State management patterns (Context, Redux) - Form handling implementations - Route configuration" : ""} ``` ### Implementation Guidelines Based on the documented workflows, provide specific guidance for implementing new features: #### 1. Step-by-Step Implementation Process - Where to start when adding a similar feature - Order of implementation (e.g., model → repository → service → controller) - How to integrate with existing cross-cutting concerns #### 2. Common Pitfalls to Avoid - Identify error-prone areas in the current implementation - Note performance considerations - List common bugs or issues encountered #### 3. Extension Mechanisms - Document how to plug into existing extension points - Show how to add new behavior without modifying existing code - Explain configuration-driven feature patterns **Conclusion:** Conclude with a summary of the most important patterns that should be followed when implementing new features to maintain consistency with the codebase."

相关技能

文档办公

Ontology

为结构化的代理内存和可堆肥技能所打入的知识图. 在创建/征服实体(Person, project, Task, Evention, Document)时使用,链接相关对象,强制约束,规划多步动作作为图变,或技能需要共享状态时使用. 触发到"记住","我知道什么","链接X到Y",…

文档办公

Nano Pdf

使用纳米-pdf CLI编辑带有自然语言指令的PDF.

文档办公

Word / DOCX

创建,检查,并编辑有可靠样式的Microsoft Word文档和DOCX文件,编号,跟踪更改,表格,章节,并进行相容性检查. 当 (1) 任务涉及 Word 或 ".docx " 时使用; (2) 文件包括跟踪的更改,评论,字段,表格,模板,或页面布局限制; (3) 文档必须在不…

文档办公

Baidu Search

使用Baidu AI搜索引擎(BDSE)搜索网页. 用于实时信息、文件或研究专题.