Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计未展示

feature-investigation特征调查

Agent Skill

feature-investigation 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

744

周安装

31

GitHub Stars

公开资料未说明

下载量

248
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:feature-investigation(特征调查)
来源仓库:https://github.com/duc01226/easyplatform
仓库路径:skills/feature-investigation
安装命令:
npx skills add duc01226/easyplatform --skill "feature-investigation"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add duc01226/easyplatform --skill "feature-investigation"

简介

feature-investigation 用于查找、检索和筛选相关信息,支持特征调查分析。

  • 适用于需求调研和竞品分析等研究场景。
  • 使用 npx skills add duc01226/easyplatform --skill "feature-investigation" 安装。
  • 需确认调研目标和数据源可靠性,注意隐私保护和合规要求。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Skill Variant: Use this skill for investigating and understanding existing features or logic. This is a READ-ONLY exploration skill - no code changes. For implementing new features, use feature-implementation. For debugging, use debugging.

Feature Investigation & Logic Exploration

You are to operate as an expert full-stack dotnet angular principal developer and software architect to investigate and explain how an existing feature or logic works in [feature-description-or-question].

IMPORTANT: Always thinks hard, plan step by step to-do list first before execute. Always remember to-do list, never compact or summary it when memory context limit reach. Always preserve and carry your to-do list through every operation. Todo list must cover all phases, from start to end, include child tasks in each phases too, everything is flatted out into a long detailed todo list.

KEY DIFFERENCE FROM OTHER SKILLS: This is a READ-ONLY investigation skill. You are NOT implementing or fixing anything - you are building understanding and explaining how things work.


Core Anti-Hallucination Protocols

ASSUMPTION_VALIDATION_CHECKPOINT

Before every major operation:

  1. "What assumptions am I making about [X]?"
  2. "Have I verified this with actual code evidence?"
  3. "Could I be wrong about [specific pattern/relationship]?"

EVIDENCE_CHAIN_VALIDATION

Before claiming any relationship:

  • "I believe X calls Y because..." → show actual code
  • "This follows pattern Z because..." → cite specific examples
  • "Service A owns B because..." → grep for actual boundaries

TOOL_EFFICIENCY_PROTOCOL

  • Batch multiple Grep searches into single calls with OR patterns
  • Use parallel Read operations for related files
  • Combine semantic searches with related keywords

CONTEXT_ANCHOR_SYSTEM

Every 10 operations:

  1. Re-read the original question from the ## Metadata section
  2. Verify the current operation aligns with answering the question
  3. Check if we're investigating the right thing
  4. Update the Current Focus bullet point within the ## Progress section

Quick Reference Checklist

Before any major operation:

  • ASSUMPTION_VALIDATION_CHECKPOINT
  • EVIDENCE_CHAIN_VALIDATION
  • TOOL_EFFICIENCY_PROTOCOL

Every 10 operations:

  • CONTEXT_ANCHOR_CHECK
  • Update 'Current Focus' in ## Progress section

Emergency:

  • Context Drift → Re-read ## Metadata section
  • Assumption Creep → Halt, validate with code
  • Evidence Gap → Mark as "inferred"

PHASE 1: EXTERNAL MEMORY-DRIVEN FEATURE INVESTIGATION

Your sole objective is to build a structured knowledge model in a Markdown analysis file at .ai/workspace/analysis/[feature-name]-investigation.md with systematic external memory management.

PHASE 1A: INITIALIZATION AND DISCOVERY

  1. Initialize the analysis file with:

- ## Metadata heading with original question in markdown box - ## Investigation Question - clearly state what we're trying to understand - Create headings: ## Progress, ## Assumptions, ## File List, ## Knowledge Graph, ## Data Flow, ## Findings

  1. Populate ## Progress with:

- Phase: 1 - Items Processed: 0 - Total Items: 0 - Current Operation: "initialization" - Current Focus: "[original investigation question]"

  1. Discovery searches to find all related files:

- Semantic search and grep search all keywords from the question - Prioritize: Domain Entities, Commands, Queries, Event Handlers, Controllers, Background Jobs, Consumers, Components - Additional targeted searches: - .*EventHandler.*{FeatureName}|{FeatureName}.*EventHandler - .*BackgroundJob.*{FeatureName}|{FeatureName}.*BackgroundJob - .*Consumer.*{FeatureName}|{FeatureName}.*Consumer - .*Service.*{FeatureName}|{FeatureName}.*Service - .*Component.*{FeatureName}|{FeatureName}.*Component - Save ALL file paths to ## File List

PHASE 1B: KNOWLEDGE GRAPH CONSTRUCTION

IMPORTANT: MUST DO WITH TODO LIST

  1. Count total files, split into batches of 10 files in priority order
  2. Insert batch analysis tasks into todo list

For each file, document in ## Knowledge Graph:

  • filePath: Full path
  • type: Component classification
  • architecturalPattern: Design pattern used
  • content: Purpose and logic summary
  • symbols: Classes, interfaces, methods
  • dependencies: Imports/using statements
  • businessContext: Business logic contribution
  • referenceFiles: Files using this file's symbols
  • relevanceScore: 1-10 (to the investigation question)
  • evidenceLevel: "verified" or "inferred"
  • platformAbstractions: Platform base classes
  • serviceContext: Microservice ownership

Investigation-Specific Fields:

  • entryPoints: How this code is triggered/called
  • outputPoints: What this code produces/returns
  • dataTransformations: How data is modified
  • externalDependencies: External services, APIs, databases accessed
  • configurationDependencies: Config values, feature flags, settings
  • conditionalLogic: Key decision points and branches
  • errorScenarios: What can go wrong, error handling

For Consumers/Message Bus:

  • messageBusMessage: Message type consumed
  • messageBusProducers: Who sends this message (grep across all services)
  • crossServiceIntegration: Cross-service data flow

MANDATORY: After every 10 files, update Items Processed and run CONTEXT_ANCHOR_CHECK.

PHASE 1C: DATA FLOW MAPPING

Under ## Data Flow, document:

  1. Entry Points: Where the feature begins (API endpoint, UI action, scheduled job, message)
  2. Processing Pipeline: Step-by-step flow through the code
  3. Data Transformations: How data changes at each step
  4. Persistence Points: Where data is saved/loaded
  5. Exit Points: Final outputs (responses, events, side effects)
  6. Cross-Service Flows: If data crosses service boundaries

Create a text-based flow diagram:

[Entry] → [Step 1] → [Step 2] → [Step 3] → [Exit]
              ↓           ↓
         [Side Effect] [Database]

PHASE 2: COMPREHENSIVE ANALYSIS

PHASE 2A: WORKFLOW ANALYSIS

Document under ## Workflow Analysis:

  1. Happy Path: Normal successful execution flow
  2. Error Paths: How errors are handled at each stage
  3. Edge Cases: Special conditions and their handling
  4. Authorization: Permission checks and security gates
  5. Validation: Input validation at each layer

PHASE 2B: ARCHITECTURAL ANALYSIS

Document under ## Architectural Analysis:

  1. Layers Involved: Domain, Application, Infrastructure, Presentation
  2. Patterns Used: CQRS, Repository, Event Sourcing, etc.
  3. Service Boundaries: Which microservices are involved
  4. Integration Points: External systems, message bus, APIs
  5. State Management: Frontend state patterns (stores, signals)

PHASE 2C: BUSINESS LOGIC EXTRACTION

Document under ## Business Logic:

  1. Core Business Rules: What rules govern this feature
  2. Validation Rules: Input/data validation
  3. Calculations: Any computations performed
  4. State Transitions: Entity state changes
  5. Side Effects: Notifications, events, external calls

PHASE 3: FINDINGS SYNTHESIS

PHASE 3A: EXECUTIVE SUMMARY

Write a clear, concise answer to the original question under ## Executive Summary:

  • One-paragraph answer to the user's question
  • Key files involved (top 5-10 most important)
  • Key patterns used

PHASE 3B: DETAILED EXPLANATION

Under ## Detailed Explanation:

  1. Step-by-step walkthrough of how the feature works
  2. Code references with file:line for each step
  3. Why it works this way - architectural decisions

PHASE 3C: VISUAL REPRESENTATION

Under ## Diagrams:

  1. Sequence Diagram (text-based) showing component interactions
  2. Data Flow Diagram showing data transformations
  3. Component Diagram showing file relationships
┌─────────────┐     ┌─────────────┐     ┌─────────────┐
│  Component  │────>│   Command   │────>│   Handler   │
└─────────────┘     └─────────────┘     └─────────────┘
                                               │
                                               v
                                        ┌─────────────┐
                                        │ Repository  │
                                        └─────────────┘

PHASE 3D: RELATED DISCOVERIES

Under ## Related Discoveries:

  • Connected Features: Other features that interact with this one
  • Shared Components: Reusable code discovered
  • Potential Issues: Any concerns or technical debt noticed
  • Documentation Gaps: Missing or outdated documentation

PHASE 4: PRESENTATION

Present your findings to the user in a clear, organized format:

  1. Start with the answer - directly address their question
  2. Provide evidence - show the code that supports your answer
  3. Explain the flow - walk through the logic step by step
  4. Offer deeper dives - mention areas you can explain further

Response Format

## Answer

[Direct answer to the question in 1-2 paragraphs]

## How It Works

### 1. [First Step]

[Explanation with code reference at `file:line`]

### 2. [Second Step]

[Explanation with code reference at `file:line`]

...

## Key Files

| File                  | Purpose   |
| --------------------- | --------- |
| `path/to/file.cs:123` | [Purpose] |

## Data Flow

[Text diagram showing the flow]

## Want to Know More?

I can explain further:

- [Topic 1]
- [Topic 2]
- [Topic 3]

Investigation Guidelines

  • Evidence-based investigation: Every claim must have code evidence
  • Service boundary awareness: Understand which service owns what
  • Platform pattern recognition: Identify Easy.Platform patterns used
  • Cross-service tracing: Follow message bus flows across services
  • Read-only exploration: Never suggest changes unless asked
  • Question-focused: Always tie findings back to the original question
  • Layered explanation: Start simple, offer deeper detail if requested

Common Investigation Scenarios

"How does feature X work?"

  1. Find entry points (API, UI, job)
  2. Trace through command/query handlers
  3. Document entity changes
  4. Map side effects (events, notifications)

"Where is the logic for Y?"

  1. Search for keywords in commands, queries, entities
  2. Check event handlers for side effect logic
  3. Look in helper/service classes
  4. Check frontend stores and components

"What happens when Z occurs?"

  1. Identify the trigger (user action, event, schedule)
  2. Trace the handler chain
  3. Document all side effects
  4. Map error handling

"Why does A behave like B?"

  1. Find the relevant code path
  2. Identify decision points
  3. Check configuration/feature flags
  4. Document business rules

Platform-Specific Investigation Patterns

Backend Patterns to Look For

  • PlatformCqrsCommand / PlatformCqrsQuery - CQRS entry points
  • PlatformCqrsEntityEventApplicationHandler - Side effects
  • PlatformApplicationMessageBusConsumer - Cross-service consumers
  • IPlatformQueryableRootRepository / IPlatformQueryableRootRepository - Data access
  • PlatformValidationResult - Validation logic
  • [PlatformAuthorize] - Authorization

Frontend Patterns to Look For

  • AppBaseVmStoreComponent - State management components
  • PlatformVmStore - Store implementations
  • effectSimple / tapResponse - Effect handling
  • observerLoadingErrorState - Loading/error states
  • API services extending PlatformApiService

See Also

  • feature-implementation skill - For implementing new features (code changes)
  • debugging skill - For debugging and fixing issues (use --autonomous for structured workflow)
  • tasks-feature-implementation skill - Autonomous feature implementation variant
  • .ai/prompts/context.md - Platform patterns and context
  • CLAUDE.md - Codebase instructions

Task Planning Notes

  • Always plan and break many small todo tasks
  • Always add a final review todo task to review the works done at the end to find any fix or enhancement needed

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

26.58%
按下载量换算66

windsurf

26.29%
按下载量换算65

OpenCode

19.04%
按下载量换算47

Codex

11.8%
按下载量换算29

Antigravity

7.8%
按下载量换算19

Gemini CLI

3.24%
按下载量换算8

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills