원클릭으로
workflow-maintain
Analyzes project workflow setup and suggests/creates needed automation for hooks, scripts, skills, and agents
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Analyzes project workflow setup and suggests/creates needed automation for hooks, scripts, skills, and agents
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Automated visual testing with Playwright MCP - test web apps, presentations, websites, and documents with scalable reviewer perspectives
Expert guidance on RAG (Retrieval-Augmented Generation) system design including chunking strategies, embedding selection, retrieval methods, and vector database choices
Design complex system architectures, evaluate tradeoffs, and make critical technical decisions requiring deep reasoning
Deep code analysis identifying subtle bugs, security issues, performance problems, and architectural concerns requiring expert-level reasoning
Efficient context state inspection, task lifecycle management, and session tracking
Systematic codebase onboarding. Builds a mental model of a new or unfamiliar project by exploring structure, architecture, key data models, entry points, and auth patterns.
| name | workflow-maintain |
| description | Analyzes project workflow setup and suggests/creates needed automation for hooks, scripts, skills, and agents |
| short_desc | audit and improve project workflow automation |
| keywords | ["workflow automation","project setup","automation audit","audit workflow","setup workflow","improve workflow","add automation","workflow improvement","automate this task"] |
| tools | Read, Write, Edit, Grep, Glob, Bash, Task |
| model | sonnet |
Purpose: Analyze project structure and workflow needs, then suggest or automatically create missing automation.
1. kg-search/kg-info (Keyword/Metadata) - Fast (~100ms):
.claude/scripts/kg-search search "term" [--type TYPE] [--tags TAGS].claude/scripts/kg-info info "Title"2. Weaviate MCP Tools (Semantic/Graph):
hybrid_search - Keyword + semantic across KG + docs (default search tool, ~1-2s)semantic_graph_search - GraphRAG with WikiLink traversal (~1-2s)3. Code Graph (Semantic Code Search):
search_code_graph - Find code by purpose/concept (~200-500ms)query_code_structure - Dependencies, callers, inheritance (~50-100ms).claude/scripts/code-graph-query search "pattern"Decision: Known terms → kg-search | Concepts → hybrid_search | Relationships → semantic_graph_search | Code entities → search_code_graph
/workflow-maintain analyzeAnalyze project structure and report missing workflow automation.
Output: List of recommended hooks, scripts, skills, and agents with rationale.
/workflow-maintain create [item]Create specific workflow automation item(s).
Examples:
/workflow-maintain create context-reminder - Create context update reminder hook/workflow-maintain create all - Create all recommended automation/workflow-maintain create hooks - Create all recommended hooks/workflow-maintain auditAudit existing workflow for issues.
Checks:
Scans project for:
Determines what's missing:
Generates customized automation:
Validates generated automation:
Trigger: Project has CONTEXT_STATE.md Creates: user-prompt-submit.sh hook Purpose: Remind to update context during active work
Trigger: Project has knowledge graph OR complex setup Creates: session-start.sh hook Purpose: Auto-load relevant context at session start
Trigger: Project has knowledge/, tests/, or docs/ Creates: post-file-edit.sh hook Purpose: Auto-sync, run tests, update docs
Trigger: docs/ has >10 files OR CLAUDE.md >800 lines Creates: doc-check script Purpose: Check documentation is in sync with code
Trigger: knowledge/ directory exists Creates: kg-search, kg-info, kg-sync scripts Purpose: Interact with knowledge graph efficiently
Trigger: Large codebase (>30 source files) OR polyglot project Creates: code-graph-analyze, code-graph-query scripts Purpose: Semantic code search and structural queries
Trigger: Large codebase (>50 source files) Creates: smart_file_ops.py script Purpose: Token-efficient file operations
Projects with knowledge/ directory get:
Projects with large codebases get:
Projects with docs/ directory get:
User: /workflow-maintain analyze
Claude: [Scans project, shows recommendations]
User: /workflow-maintain create all
Claude: [Creates all recommended automation]
- Created: .claude/hooks/user-prompt-submit.sh
- Created: .claude/hooks/session-start.sh
- Created: .claude/scripts/doc-check
- Updated: .claude/CLAUDE.md
- Updated: .claude/settings.json
User: /workflow-maintain create context-reminder
Claude: [Creates context reminder hook]
- Created: .claude/hooks/user-prompt-submit.sh
- Configured: Every 10 messages, 15min threshold
- Updated: .claude/settings.json
User: /workflow-maintain audit
Claude: [Audits project workflow]
✅ Hooks are executable
✅ Scripts working correctly
⚠️ CLAUDE.md is 950 lines (recommend splitting)
⚠️ test-organize script not used in 45 days
❌ doc-check script has syntax error
Recommendations:
- Extract sections from CLAUDE.md to docs/
- Fix doc-check script
- Consider removing unused test-organize
Each generated file includes project-specific:
When creating new types of automation:
/workflow-maintain for standard patternsDivision of labor:
Optimized for low token usage:
Expected usage: 1000-2000 tokens per invocation
After using workflow-maintain, project should have:
Measure improvement: