skills-catalog/ln-130-tasks-docs-creator/SKILL.md
Creates task management docs (kanban board, workflow rules) with Linear integration. Use when setting up task tracking for a project.
npx skillsauth add levnikolaevich/claude-code-skills ln-130-tasks-docs-creatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Paths: File paths (
shared/,references/,../ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root. Ifshared/is missing, fetch files via WebFetch fromhttps://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}.
Type: L2 Worker Category: 1XX Documentation Pipeline
This skill creates task management documentation: docs/tasks/README.md (task management system rules) and docs/tasks/kanban_board.md (Linear integration with Epic Story Counters).
Create and validate task management documentation (docs/tasks/). Generates README.md with workflow rules and kanban_board.md with Linear integration, including interactive setup for team UUID/Key configuration.
This skill is a L2 WORKER invoked by ln-100-documents-pipeline orchestrator OR used standalone.
Use this skill when:
Part of workflow: ln-100-documents-pipeline → ln-110-project-docs-coordinator → ln-120-reference-docs-creator → ln-130-tasks-docs-creator → ln-140-test-docs-creator (optional)
The skill follows a 3-phase workflow: CREATE → VALIDATE STRUCTURE → VALIDATE CONTENT.
MANDATORY READ: Load shared/references/docs_quality_contract.md, shared/references/docs_quality_rules.json, and shared/references/markdown_read_protocol.md.
Phase 1: CREATE - Create tasks/README.md from template with SCOPE tags, workflow rules, Linear integration
Phase 2: VALIDATE STRUCTURE - Auto-fix structural violations (SCOPE tags, sections, Maintenance, POSIX)
Phase 3: VALIDATE CONTENT - Validate semantic content + special Linear Configuration handling (placeholder detection, UUID/Team Key validation, interactive user prompts). Raw placeholders are allowed only during setup for docs/tasks/README.md and docs/tasks/kanban_board.md; published output must not leak unresolved markers into any other document.
Objective: Create task management system documentation from template.
When to execute: Always (first phase)
Process:
Check if tasks/README.md exists:
pattern: "docs/tasks/README.md"✓ docs/tasks/README.md already exists (preserved)Create tasks directory:
docs/tasks/ directory if it doesn't existCreate tasks/README.md from template:
references/tasks_readme_template.mddocs/tasks/README.md{{DATE}} → current date (YYYY-MM-DD)SCOPE, DOC_KIND, DOC_ROLE, READ_WHEN, SKIP_WHEN, PRIMARY_SOURCES)Notify user:
✓ Created docs/tasks/README.md with task management rules✓ docs/tasks/README.md already exists (preserved)Output: docs/tasks/README.md (created or existing)
Objective: Ensure tasks/README.md and kanban_board.md comply with structural requirements. Auto-fix violations.
When to execute: After Phase 1 completes (files exist or created)
Process:
Files to check: docs/tasks/README.md, docs/tasks/kanban_board.md (if exists)
For each file:
<!-- SCOPE: ... --> tag and metadata markers<!-- SCOPE: Task tracking system workflow and rules ONLY --><!-- SCOPE: Quick navigation to active tasks in Linear -->⚠ Auto-fixed: Added missing SCOPE tag to {filename}MANDATORY READ: Load references/questions.md for validation specs (section names, heuristics, special handling rules).
For tasks/README.md:
⚠ Auto-fixed: Added missing section '{section}' to tasks/README.mdFor kanban_board.md (if exists):
⚠ Auto-fixed: Added missing section '{section}' to kanban_board.mdFiles to check: docs/tasks/README.md, docs/tasks/kanban_board.md (if exists)
For each file:
## Maintenance header in last 20 lines## Maintenance
**Update Triggers:**
- When Linear workflow changes
- When task templates are added/modified
- When label taxonomy changes
**Last Updated:** {current_date}
⚠ Auto-fixed: Added Maintenance section to {filename}Files to check: docs/tasks/README.md, docs/tasks/kanban_board.md (if exists)
For each file:
⚠ Auto-fixed: Added POSIX newline to {filename}Log summary:
✓ Structure validation completed:
tasks/README.md:
- SCOPE tag: [added/present]
- Required sections: [count] sections [added/present]
- Maintenance section: [added/present]
- POSIX endings: [fixed/compliant]
kanban_board.md:
- SCOPE tag: [added/present/skipped - file not exists]
- Required sections: [count] sections [added/present/skipped]
- Maintenance section: [added/present/skipped]
- POSIX endings: [fixed/compliant/skipped]
If violations found: ⚠ Auto-fixed {total} structural violations
Output: Structurally valid task management documentation
Objective: Ensure each section answers its validation questions with meaningful content. Special handling for Linear Configuration (placeholder detection, user prompts, UUID/Team Key validation).
When to execute: After Phase 2 completes (structure valid, auto-fixes applied)
Process:
MANDATORY READ: Load references/questions.md — parse sections and extract validation heuristics.
Question: "What is the Linear team configuration?"
Step 3.2.1: Check if kanban_board.md exists:
pattern: "docs/tasks/kanban_board.md"ℹ kanban_board.md not found - skipping Linear Configuration validationStep 3.2.2: Read Linear Configuration section:
docs/tasks/kanban_board.md## Linear Configuration sectionStep 3.2.3: Placeholder Detection:
Check for placeholders:
Pattern: [TEAM_NAME], [TEAM_UUID], [TEAM_KEY]
If ANY placeholder present → Interactive Setup Mode
If NO placeholders present → Validation Mode
Interactive Setup Mode (if placeholders detected):
Prompt user for Team Name:
Prompt user for Team UUID:
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/Prompt user for Team Key:
/^[A-Z]{2,4}$/Replace placeholders:
[TEAM_NAME] → {user_team_name}[TEAM_UUID] → {user_team_uuid}[TEAM_KEY] → {user_team_key}[WORKSPACE_URL] → https://linear.app/{workspace_slug} (if placeholder exists)Set initial counters (if table exists):
Update Last Updated date:
[YYYY-MM-DD] → {current_date} in Maintenance sectionSave updated kanban_board.md
Log success:
✓ Linear configuration updated:
- Team Name: {user_team_name}
- Team UUID: {user_team_uuid}
- Team Key: {user_team_key}
- Next Epic Number: 1
- Next Story Number: 1
Validation Mode (if real values present, no placeholders):
Extract existing values:
Team UUID: {value} or in tableTeam Key: {value} or in tableValidate formats:
/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$//^[A-Z]{2,4}$/If validation fails:
⚠ Invalid format detected in Linear Configuration:
- Team UUID: {uuid} (expected: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
- Team Key: {key} (expected: 2-4 uppercase letters)
Fix manually or re-run skill to replace with correct values.
If validation passes:
✓ Linear Configuration valid (Team: {name}, UUID: {uuid}, Key: {key})
Parametric loop for 3 questions (from questions.md):
For each question in:
Validation process:
⚠ Section may be incomplete: {section_name}Example validation (Question 1: Linear Integration):
Heuristics:
- Contains "Linear" or "MCP" → pass
- Mentions team ID or UUID → pass
- Has workflow states (Backlog, Todo, In Progress) → pass
- Length > 100 words → pass
Check content:
- ✓ Contains "Linear" → PASS
→ Section valid
No auto-discovery needed (workflow is standardized in template)
Question: "Are Epics being tracked in the board?"
If kanban_board.md exists:
Validation heuristics:
- Has "Epic" or "Epics Overview" section header → pass
- Has table with columns: Epic, Name, Status, Progress → pass
- OR has placeholder: "No active epics" → pass
- Length > 20 words → pass
Action:
⚠ Epic Tracking section may be incompleteIf kanban_board.md does NOT exist:
ℹ Epic Tracking validation skipped (kanban_board.md not found)Log summary:
✓ Content validation completed:
tasks/README.md:
- ✓ Linear Integration: valid (contains "Linear", "MCP", workflow states)
- ✓ Task Workflow: valid (contains state transitions)
- ✓ Task Templates: valid (contains template references)
kanban_board.md:
- ✓ Linear Configuration: {status} (Team: {name}, UUID: {uuid}, Key: {key})
- ✓ Epic Tracking: valid (table present or placeholder)
Output: Validated and potentially updated task management documentation with Linear configuration
docs/
└── tasks/
├── README.md # Task management system rules
└── kanban_board.md # Linear integration (optional, created manually or by other skills)
Note: Kanban board updated by ln-301-task-creator, ln-302-task-replanner, ln-400-story-executor (Epic Grouping logic).
references/tasks_readme_template.md — Task management system rules templatereferences/kanban_board_template.md — Linear integration + kanban templatereferences/questions.md — Validation questions, heuristics, special handling rules/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/; Team Key must match /^[A-Z]{2,4}$/shared/references/docs_quality_contract.md and shared/references/docs_quality_rules.json for placeholder policy, SCOPE/Maintenance requirements, and allowed setup exceptions[TEAM_NAME], [TEAM_UUID], or [TEAM_KEY] found in kanban_board.md, enter interactive setup mode and prompt user; do not leave unresolved markers outside the allowlisted task docsSCOPE, metadata markers, Quick Navigation, Agent Entry, and MaintenanceReturn a normalized summary so ln-100 can run a centralized docs-quality gate without re-parsing worker prose:
{
"created_files": [
"docs/tasks/README.md",
"docs/tasks/kanban_board.md"
],
"skipped_files": [],
"quality_inputs": {
"doc_paths": [
"docs/tasks/README.md",
"docs/tasks/kanban_board.md"
],
"owners": {
"docs/tasks/README.md": "ln-130-tasks-docs-creator",
"docs/tasks/kanban_board.md": "ln-130-tasks-docs-creator"
}
},
"validation_status": "passed|passed_with_fixes|skipped"
}
MANDATORY READ: Load shared/references/docs_generation_summary_contract.md
Accept optional summaryArtifactPath.
Summary kind:
docs-generationRequired payload semantics:
worker = "ln-130"statuscreated_filesskipped_filesquality_inputsvalidation_statuswarningsWrite the summary to the provided artifact path or return the same envelope in structured output.
created_files, skipped_files, quality_inputs, and validation_statusVersion: 7.1.0 Last Updated: 2025-01-12
testing
Checks runtime lifecycle and config validation: bootstrap, shutdown, probes, cleanup, env sync, and fail-fast startup. Use for runtime readiness.
testing
Checks races, deadlocks, async hazards, TOCTOU, blocking I/O, and shared resource contention. Use when auditing concurrency correctness.
testing
Checks diagnosability through structured logs, metrics, traces, correlation IDs, and useful log levels. Use when auditing incident visibility.
development
Finds code that can be safely deleted: unreachable, unused, obsolete compatibility, and commented-out code. Use when pruning dead code.