Loading...
Loading...
[Fix & Debug] Investigate and explain how existing features or logic work. READ-ONLY exploration with no code changes.
npx skill4agent add duc01226/easyplatform investigate| Step | Action | Key Notes |
|---|---|---|
| 1 | Discovery | Search codebase for related files (Entities > Commands > Events > Controllers) |
| 2 | Knowledge Graph | Read and document purpose, symbols, dependencies per file |
| 3 | Flow Mapping | Trace entry points through pipeline to exit points |
| 4 | Analysis | Extract business rules, validation, authorization, error handling |
| 5 | Synthesis | Write executive summary with key files and flow diagrams |
| 6 | Present | Deliver findings, offer deeper dives on subtopics |
| Mode | Use When | Workflow |
|---|---|---|
| Interactive | User available, exploratory question | Real-time collaboration, iterative tracing |
| Autonomous | Deep analysis, complex cross-service tracing | Structured 4-phase workflow with analysis artifact |
.claude/skills/shared/anti-hallucination-protocol.md.claude/skills/shared/knowledge-graph-template.md/scout.*EventHandler.*{FeatureName}|{FeatureName}.*EventHandler
.*BackgroundJob.*{FeatureName}|{FeatureName}.*BackgroundJob
.*Consumer.*{FeatureName}|{FeatureName}.*Consumer
.*Service.*{FeatureName}|{FeatureName}.*Service
.*Component.*{FeatureName}|{FeatureName}.*ComponentUseCaseCommands/UseCaseQueries/UseCaseEvents/*EventHandler.csControllers/*Controller.cs*Consumer.cs*BusMessage.cs*BackgroundJob*.cs*Job.cs*.component.ts*.store.ts*Service.cs*Helper.cs| Looking for | Search pattern |
|---|---|
| Who calls this method | Grep method name across |
| Who injects this service | Grep interface name in constructors |
| What events this entity raises | Grep |
| Cross-service consumers | Grep |
| Repository usage | Grep |
| Looking for | Search pattern |
|---|---|
| Who uses this component | Grep selector |
| Who imports this service | Grep service class name in |
| Store effects chain | Trace |
| Route entry | Grep component name in |
[Entry Point] --> [Step 1: Validation] --> [Step 2: Processing] --> [Step 3: Persistence]
|
v
[Side Effect: Event]PlatformCqrsCommandPlatformCqrsQueryPlatformCqrsEntityEventApplicationHandlerPlatformApplicationMessageBusConsumerIPlatformQueryableRootRepositoryPlatformValidationResult[PlatformAuthorize]AppBaseVmStoreComponentPlatformVmStoreeffectSimpletapResponseobserverLoadingErrorStatePlatformApiService.ai/workspace/analysis/[feature-name]-investigation.md## Metadata
> Original question: [user's exact question]
## Investigation Question
[Clearly stated investigation goal]
## Progress
- **Phase**: 1
- **Items Processed**: 0 / [total]
- **Current Focus**: [original question]
## File List
[All discovered files, grouped by priority]
## Knowledge Graph
[Per-file analysis entries - see template below]
## Data Flow
[Flow diagrams and pipeline documentation]
## Findings
[Populated in Phase 2+]## Knowledge GraphfilePathtypearchitecturalPatterncontentsymbolsdependenciesrelevanceScoreevidenceLevelentryPointsoutputPointsdataTransformationsconditionalLogicerrorScenariosexternalDependenciesmessageBusMessagemessageBusProducerscrossServiceIntegrationfile:line+-----------+ +-----------+ +-----------+
| Component |---->| Command |---->| Handler |
+-----------+ +-----------+ +-----------+
|
v
+-----------+
|Repository |
+-----------+## Answer
[Direct answer in 1-2 paragraphs]
## How It Works
### 1. [Step] - [Explanation with `file:line` reference]
### 2. [Step] - [Explanation with `file:line` reference]
## Key Files
| File | Purpose |
| ---- | ------- |
## Data Flow
[Text diagram: Entry -> Processing -> Persistence -> Side Effects]
## Want to Know More?
- [Subtopic 1]
- [Subtopic 2]featuredebugscout