一键导入
linear
Create and manage Linear issues using templates for the GenLayer Heartbeat project. Use when user says /linear.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create and manage Linear issues using templates for the GenLayer Heartbeat project. Use when user says /linear.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes or mentions "/commit".
Scaffold a new skill directory using the multi-YAML pattern. Use when user says /create-skill.
Write, run, and refine fast direct-mode tests for GenLayer intelligent contracts using the in-memory pytest fixtures.
Refresh documentation with deterministic generation from source files. Use when user says /docs-refresh.
Deploy, interact with, inspect, and debug GenLayer intelligent contracts with the GenLayer CLI across local Studio, hosted Studio, and testnet.
Install, upgrade, and monitor a GenLayer validator node on AMD64 Linux, including zero-downtime updates and LLM provider setup.
| name | linear |
| description | Create and manage Linear issues using templates for the GenLayer Heartbeat project. Use when user says /linear. |
| user-invocable | true |
| allowed-tools | ["Read","Grep","Glob","AskUserQuestion","mcp__linear-server__create_issue","mcp__linear-server__update_issue","mcp__linear-server__get_issue","mcp__linear-server__list_issues","mcp__linear-server__list_cycles","mcp__linear-server__list_teams","mcp__linear-server__list_projects","mcp__linear-server__list_issue_labels","mcp__linear-server__list_issue_statuses"] |
| hooks | [] |
Create and manage Linear issues using the GenLayer Node issue template.
This skill handles Linear issue management for the GenLayer Node team (which also manages Heartbeat):
All issues are created with this structure:
## Problem Statement
[What problem are we solving and why?]
## Proposed Solution
[High-level approach]
## Acceptance Criteria
1. Given X, when Y, then Z (behavior specifications)
2. [Performance: <100ms response (if applicable)]
3. [Testing requirements (if applicable)]
4. [AI-generated code reviewed by human requirements (if applicable)]
5. [Edge cases considered beyond AI suggestions (if applicable)]
## Specific AI-Execution Plan
\`\`\`
[What parts will be solved by the AIs above]
\`\`\`
## Human Contribution Focus
[What parts will require human creativity/decision-making?]
## Technical Notes
[Implementation details, gotchas, AI limitations encountered]
## Lessons Learned *(optional)*
[What was learned while planning the ticket?]
Note: "Lessons Learned" is optional at creation. Include if there are insights discovered while planning. Omit section if empty.
When given a plan/analysis/report, extract content using these mappings:
| Template Section | Extract From Document |
|---|---|
| title | Document heading, Executive Summary first sentence |
| problem_statement | Executive Summary, Problem, Current Pattern sections |
| proposed_solution | Proposed Solution, Approach, Strategy, Key Insight |
| acceptance_criteria | Benefits, Expected Outcomes - convert to Given/When/Then |
| ai_execution_plan | Implementation Steps - actionable steps for Claude agent (see format below) |
| human_contribution | Risks needing judgment, Decisions Needed, Open Questions |
| technical_notes | Risks and Mitigations, Gotchas, Related Files |
Priority when content fits multiple sections:
Empty sections: Omit entirely. Never use placeholder text.
The AI-Execution Plan must be actionable steps another Claude agent can execute:
## AI Execution Steps
### Step 1: [Action] [What] in [Where]
- File: path/to/file.ts
- Pattern: [what to look for]
- Action: [Add/Remove/Update] [specific change]
- Verify: [how to confirm done]
### Step 2: ...
Each step needs:
Before creating a ticket, show a proposal for discussion:
## Ticket Proposal
**Title:** [inferred title]
### Metadata
| Field | Value | Reasoning |
|-------|-------|-----------|
| Labels | Improvement | Code quality enhancement |
| Project | Tech Debt | Refactoring work |
| Estimate | 2pt | 13 files, mechanical changes, ~1 day |
| Cycle | next | User specified |
| State | Todo | Auto (cycle specified) |
| Related | NOD-310 | Found in plan references |
### Description Preview
[First lines of each section...]
---
**Ready to create?** Or adjust any options?
Wait for user approval before creating.
CRITICAL: Re-approval Required After Changes
When user requests ANY changes (even simple ones like "assign to X"):
| Label | Use When |
|---|---|
| Bug | Fixing broken behavior, errors, crashes |
| Feature | New functionality that didn't exist |
| Improvement | Enhancing existing functionality, refactoring, code quality |
| Optimization | Performance improvements, code cleanup, efficiency |
| Productivity | Developer tooling, automation, skills, CI/CD |
| Documentation | Docs updates, README, API docs |
| Test | Adding or improving tests |
| Performance | Speed/memory optimizations, benchmarks |
| Critical Path | Blocking other work, urgent priority |
| Spike | Research, exploration, proof of concept |
| Release | Release process tickets, version releases, changelog generation |
| Field | Inference | How |
|---|---|---|
| labels | Auto | Infer from work type (see table above) |
| project | Auto | Tech Debt/Staking Node/Monitoring from affected area |
| estimate | Auto | Based on effort calculation (see below) |
| priority | Ask | Only infer if "critical"/"blocking" language |
| cycle | User | Use what user says, default backlog |
| state | Auto | Todo if cycle specified, else Backlog |
| assignee | Ask | Ask or leave unassigned |
| related_to | Extract | Scan for NOD-XXX patterns in plan |
| links | Extract | Scan for URLs in plan |
| parent_id | User | Only if explicitly requested |
| blocks/blocked_by | Extract | Scan for "blocks"/"depends on" language |
| due_date | User | Only if explicitly provided |
| Points | Time | Scope |
|---|---|---|
| 1pt | ~4 hours | 1-3 files, simple, 1 iteration |
| 2pt | ~1 workday | 1-5 files, moderate, 2 iterations |
| 3pt | ~2 workdays | 5-10 files, some complexity |
| 5pt | ~2-4 workdays | 10-20 files, significant refactoring |
| 8pt | ~1 workweek | 20+ files, architectural, critical path |
Complexity multipliers (+1 point each):
| Field | Description | Example |
|---|---|---|
| assignee | Who will work on it | "me", "darien" |
| labels | Issue labels | ["Bug", "Improvement"] |
| project | Project name | "Tech Debt" |
| cycle | Sprint cycle | "current", "next", 26 |
| priority | 1=Urgent, 2=High, 3=Normal, 4=Low | 2 |
| estimate | Story points | 3 |
| state | Initial state (auto: Todo if cycle set) | "Backlog", "Todo" |
| due_date | Deadline | "2026-02-15" |
| Field | Description | Example |
|---|---|---|
| parent_id | Create as sub-issue | "NOD-123" |
| links | Attach URLs | [{url, title}] |
| blocks | Issues this blocks | ["NOD-456"] |
| blocked_by | Issues blocking this | ["NOD-100"] |
| related_to | Related issues | ["NOD-310"] |
When called by developer skill or directly:
See skill.yaml for complete procedure, patterns, and template details.