xiaohongshu
xiaohongshu
log-manager-skill
Orchestrates single-log sequential workflows by coordinating operation skills for individual logs
Full skill instructions
You are a coordination skill - you don't perform operations directly, but delegate to operation skills (log-writer, log-classifier, log-validator, log-lister) and manage the workflow state between steps.
Difference from log-director-skill:
<CRITICAL_RULES>
Workflow types:
create-log (classify + write + validate)
content or data - Log content/datalog_type - Optional (will classify if not provided)auto_validate - Validate after creation (default: true)validate-and-fix (validate + fix issues + revalidate)
log_path - Log to validateauto_fix - Attempt automatic fixes (default: false)fix_strategies - Which fixes to apply (redaction, formatting, etc.)reclassify-log (classify + update type + revalidate)
log_path - Log to reclassifyforce - Reclassify even if already typedconfidence_threshold - Minimum confidence to apply (default: 70)archive-log (validate + update status + move to archive)
log_path - Log to archiveskip_validation - Skip validation before archive (default: false)retention_check - Verify retention policy allows archiveExample request:
{
"workflow": "create-log",
"content": "Test execution completed: 48 tests, 45 passed, 3 failed",
"metadata": {"command": "pytest", "exit_code": 1},
"auto_validate": true
}
</INPUTS>
<WORKFLOW> ## Workflow: create-logIf log_type not provided:
_untyped with review flaglog_type (from classification or user-provided)data (content + metadata)title (extract or generate)log_path (from step 2)validation_level = "standard"{
"workflow": "create-log",
"status": "completed",
"steps": {
"classify": {"type": "test", "confidence": 95},
"write": {"path": ".fractary/logs/test/test-001.md", "log_id": "test-001"},
"validate": {"status": "passed", "warnings": 0}
},
"result": {
"log_path": ".fractary/logs/test/test-001.md",
"log_id": "test-001",
"log_type": "test"
}
}
Execute scripts/analyze-fixes.sh:
Execute scripts/apply-fixes.sh:
Execute scripts/check-retention.sh:
<COMPLETION_CRITERIA> ✅ All workflow steps executed in order ✅ Each step delegated to appropriate operation skill ✅ Workflow state tracked between steps ✅ Final result returned with all step outcomes ✅ Errors handled gracefully with rollback if needed </COMPLETION_CRITERIA>
<OUTPUTS> Return to caller: ``` 🎯 STARTING: Log Manager Skill Workflow: create-log Auto-validate: true ───────────────────────────────────────STEP 1/3: Classify log type → Invoking log-classifier... ✓ Type: test (confidence: 95%)
STEP 2/3: Write log → Invoking log-writer... ✓ Created: .fractary/logs/test/test-001.md
STEP 3/3: Validate log → Invoking log-validator... ✓ Validation passed (0 errors, 0 warnings)
✅ COMPLETED: Log Manager Skill Workflow: create-log (success) Log created: .fractary/logs/test/test-001.md Type: test | Status: completed | Valid: ✓ ─────────────────────────────────────── Next: Use log-lister to view all test logs, or log-archiver when ready to archive
</OUTPUTS>
<DOCUMENTATION>
Write to execution log:
- Operation: workflow execution
- Workflow type: {type}
- Steps completed: {list}
- Final status: success/partial/failed
- Log path: {path}
- Timestamp: ISO 8601
</DOCUMENTATION>
<ERROR_HANDLING>
**Step failure (with rollback):**
❌ WORKFLOW FAILED: create-log Failed at: Step 2 (write log) Error: Template rendering failed - missing variable 'title'
Rollback actions:
Workflow status: failed Suggestion: Provide 'title' field in data or allow auto-generation
**Partial success:**
⚠️ WORKFLOW PARTIAL: validate-and-fix Completed steps: ✓ Step 1: Validation (found 3 errors) ✓ Step 2: Analyze fixes (2 auto-fixable) ✗ Step 3: Apply fixes (user confirmation required)
Status: awaiting user input Fixable errors: 2 Manual errors: 1 (requires data)
**Confidence too low:**
⚠️ WORKFLOW UNCERTAIN: reclassify-log Classification confidence: 45% (< 70% threshold) Recommended type: operational Alternative: _untyped (score: 38)
Action: Keeping current type (debug) Suggestion: Add more context or metadata to improve classification
</ERROR_HANDLING>
## Scripts
This skill uses three supporting scripts:
1. **`scripts/execute-workflow.sh {workflow_type} {params_json}`**
- Orchestrates workflow execution
- Calls operation skills in sequence
- Manages state between steps
- Returns workflow result
2. **`scripts/analyze-fixes.sh {validation_errors_json}`**
- Categorizes validation errors by fix strategy
- Determines auto-fixable vs manual issues
- Returns fix recommendations
3. **`scripts/apply-fixes.sh {log_path} {fixes_json}`**
- Applies automated fixes to log
- Updates frontmatter and body as needed
- Creates backup before modification
- Returns fix results
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