xiaohongshu
xiaohongshu
analyze-friction
Orchestrate 3-stage friction analysis workflow across conversations. Extracts raw friction, abstracts patterns, and presents for approval. Use when user wants to analyze conversation history for improvement opportunities.
Full skill instructions
Orchestrates a 3-stage workflow to analyze conversation friction and extract actionable patterns.
--count N - Number of conversations to analyze (default: 15)| Stage | Agent | Purpose |
|---|---|---|
| 1 | conversation-friction-analyzer | Extract raw friction from individual conversations (parallel) |
| 2 | friction-pattern-abstractor | Aggregate and abstract patterns across all raw outputs |
| 3 | (orchestrator) | Present patterns to user for point-by-point approval |
--count N (default 15)docs/friction-analysis/raw/ to determine which conversations are already processed# List existing raw files
ls docs/friction-analysis/raw/ 2>/dev/null || echo "No existing files"
For each conversation index from 1 to N (skipping 0 which is current session):
docs/friction-analysis/raw/{conversation-id}.md already existsconversation-friction-analyzer agent:Spawn agents in parallel (up to 15 concurrent):
For conversation at index I (where I = 1 to count):
- Extract conversation: `aaa extract-conversations --limit 1 --skip I`
- Pass to conversation-friction-analyzer agent
- Agent saves output to docs/friction-analysis/raw/{conversation-id}.md
Sub-agent prompt template:
Analyze this conversation for friction points. Extract RAW friction only - no abstraction.
CONVERSATION:
<output from aaa extract-conversations --limit 1 --skip {index}>
Save your analysis to: docs/friction-analysis/raw/{conversation-id}.md
Resumability: Always check for existing files before spawning agents. Skip conversations that already have raw output files.
After ALL Stage 1 agents complete:
docs/friction-analysis/raw/friction-pattern-abstractor agent:Analyze all raw friction files and extract patterns.
Input directory: docs/friction-analysis/raw/
Output file: docs/friction-analysis/patterns.md
Wait for completion before proceeding.
docs/friction-analysis/patterns.mdPattern: [Pattern Name]
Root Cause: [description]
Evidence: [list of conversation IDs]
Proposed Fix: [description]
Options:
- Approve - proceed with this fix
- Modify - adjust the proposed fix
- Skip - don't implement this pattern
- Stop - end the approval process
docs/friction-analysis/
├── raw/
│ ├── {conversation-id-1}.md # Stage 1 output
│ ├── {conversation-id-2}.md
│ └── ...
└── patterns.md # Stage 2 output
aaa extract-conversations fails for a conversation, log and continue with othersAfter Stage 3, output:
## Friction Analysis Complete
**Analyzed:** N conversations
**Patterns Found:** M
**Patterns Approved:** K
### Approved Patterns
1. [Pattern Name] - [Proposed Fix Summary]
2. ...
### Next Steps
[Implementation guidance for approved patterns]
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience