clawrise-plugin-linear is the standalone Linear provider plugin for Clawrise.
It follows the public clawrise-cli plugin contract and integrates through plugin.json + stdio JSON-RPC without importing any internal package from clawrise-cli.
clawrise-cli repository:
The initial release intentionally keeps a small surface focused on integration validation:
- auth method:
linear.api_key linear.viewer.getlinear.team.listlinear.issue.getlinear.issue.createlinear.issue.update
Not included yet:
- OAuth login
- comments, attachments, and workflow-style higher-level features
- a Node.js implementation
Build the plugin inside this repository:
./scripts/build.shThen expose the current directory as a discovery root for clawrise:
CLAWRISE_PLUGIN_PATHS=$PWD clawrise doctor
CLAWRISE_PLUGIN_PATHS=$PWD clawrise auth methods --platform linear
CLAWRISE_PLUGIN_PATHS=$PWD clawrise spec list linearIf you are verifying from the clawrise-cli source repository, you can also run:
CLAWRISE_PLUGIN_PATHS=$PWD GOCACHE=/tmp/clawrise-go-build GOMODCACHE=/tmp/clawrise-gomodcache go run ./cmd/clawrise doctorAfter release, the recommended distribution path is GitHub Releases with .tar.gz archives:
clawrise plugin install https://github.com/repothread/clawrise-plugin-linear/releases/download/v0.1.0/clawrise-plugin-linear-0.1.0-darwin-arm64.tar.gzThe official Linear GraphQL endpoint is https://api.linear.app/graphql. When using a personal or service API key, requests use the header Authorization: <API_KEY>. Official docs:
Recommended account configuration:
accounts:
linear_default:
title: Linear Default
platform: linear
subject: integration
auth:
method: linear.api_key
public:
api_url: https://api.linear.app/graphql
secret_refs:
token: secret:linear_default:tokenRead the current viewer:
clawrise linear.viewer.get --json '{}'List visible teams:
clawrise linear.team.list --json '{}'Read an issue:
clawrise linear.issue.get --json '{"id":"ISS-123"}'Create an issue:
clawrise linear.issue.create --dry-run --json '{"team_id":"team_uuid","title":"Test from Clawrise"}'Update an issue:
clawrise linear.issue.update --dry-run --json '{"id":"ISS-123","title":"Updated title"}'Run unit tests:
go test ./...Verify local integration with clawrise-cli:
./scripts/verify-with-clawrise.sh /path/to/clawrise-cliThis repository ships with:
Makefile- GitHub Actions CI
- GitHub Actions release packaging
skills/clawrise-linear/SKILL.md
Build an archive for the current platform:
./scripts/package.sh 0.1.0Example output:
dist/clawrise-plugin-linear-0.1.0-darwin-arm64.tar.gz
- keep zero code coupling with
clawrise-cli - rely on
execution_authresolved byauth.resolveat execution time - never read the
clawrise-climain config file directly from the plugin - prioritize discoverability, testability, and release readiness before expanding the operation surface