wrsmith108/linear-claude-skill
Linear
UnverifiedManaging Linear issues, projects, and teams. Use when working with Linear tasks, creating issues, updating status, querying projects, or managing team workflows.
scripts/lib/index.ts
View on GitHub/**
* Linear Skill Shared Utilities
*
* This module provides standardized utilities for Linear operations.
* All project creation scripts MUST use these utilities to ensure
* consistency and avoid regressions.
*
* Configuration:
* LINEAR_API_KEY - Required for all operations
* LINEAR_DEFAULT_INITIATIVE_ID - Optional default initiative for linking
*/
// Initiative utilities
export {
DEFAULT_INITIATIVE_ID,
INITIATIVES, // Deprecated, use DEFAULT_INITIATIVE_ID
linkProjectToInitiative,
isProjectLinkedToInitiative,
getProjectInitiativeStatus,
linkProjectsToInitiative
} from './initiative'
// Label utilities
export {
getLabelMap,
ensureLabelsExist,
applyLabelsToIssue,
verifyLabelsApplied,
extractUniqueLabels,
type EnsureLabelsOptions,
type EnsureLabelsResult
} from './labels'
// Label taxonomy utilities
export {
// Types
type LabelCategory,
type DomainLabel,
type TypeLabel,
type ScopeLabel,
type TaxonomyLabel,
type AgentId,
type LabelDefinition,
type LabelTaxonomy,
type ValidationResult,
type LabelSuggestion,
type AgentSelection
} from './taxonomy'
export {
LABEL_TAXONOMY,
getAllLabels,
getAllLabelNames,
getLabelByName,
isValidLabel,
getLabelsByCategory,
getLabelColor,
DOMAIN_LABEL_NAMES,
TYPE_LABEL_NAMES,
SCOPE_LABEL_NAMES
} from './taxonomy-data'
export {
validateLabels,
suggestLabels,
getLabelCategory,
hasValidTypeLabel,
hasDomainLabel,
filterToTaxonomy,
formatValidationResult,
formatSuggestions
} from './taxonomy-validation'
// Issue description validation
export {
validateIssueDescription,
buildIssueTemplate,
formatDescriptionValidationResult,
formatWarningsOnly,
isStrictMode,
MIN_BODY_CHARS,
MIN_AC_ITEMS,
type DescriptionValidationResult
} from './issue-description'
export {
selectAgentsForIssue,
getLabelsForAgent,
canAgentHandle,
buildAgentDomainMatrix,
formatAgentSelection,
formatAgentMatrix,
AGENT_DESCRIPTIONS
} from './agent-selection'
// Verification utilities
export {
verifyProjectCreation,
verifyProjectsForInitiative,
printVerificationReport,
type ProjectVerification
} from './verify'
// Client utilities
export {
getLinearClient,
createLinearClient,
findProjectByName,
findInitiativeByName,
findTeamByKey,
findTeamByName,
findWorkflowStateIdByName,
findLabelIdsByName,
isValidHealth,
VALID_HEALTH_VALUES,
type HealthStatus,
type ProjectInfo,
type InitiativeInfo,
type TeamInfo,
type LabelLookupResult
} from './linear-utils'
// Lin CLI integration (optional fast-path)
export {
detectLinCli,
isLinCliAvailable,
execLin,
tryLin,
linUpdateIssueState,
parseLinVersion,
_resetDetectionCache,
type LinCliInfo,
type LinCliResult,
type LinUser,
type LinIssue,
type LinInitiative,
type IssueFilters
} from './lin-cli'
// Project template
export {
createProject,
createProjectWithDefaults,
type ProjectConfig,
type IssueConfig,
type CreateResult
} from './project-template'
// Retry helper
export {
withRetry,
extractStatusCode,
extractRetryAfterMs,
isRetryableStatus,
isRetryDisabled,
computeBackoffMs,
type RetryOptions
} from './retry'
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies. | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |
| meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要". | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |