canny
БесплатноБез исполняемых скриптовНе проверенCanny is a hosted product-feedback tool with feature-request boards, voting, a public roadmap and a changelog. Use when a user asks to set up a feature…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Canny
Overview
Canny collects product feedback: users post ideas to boards, vote, comment and follow status changes, while your team triages, links ideas to Jira/Linear and publishes a roadmap and changelog. You integrate in three ways: a link to your Canny site (your-company.canny.io) or an embedded widget, the browser SDK that identifies the logged-in user, and the REST API plus webhooks on your server. Docs: https://developers.canny.io
Instructions
Step 1: Link to your board and identify users
Put a link carrying data-canny-link where users will find it (the attribute is required, otherwise the visitor is not authenticated), and load the SDK and call identify for logged-in users. Admins are never identified, so test with a non-admin account.
<a data-canny-link href="https://northwind-app.canny.io">Give feedback</a>
// components/CannyIdentify.tsx
'use client'
import Script from 'next/script'
import { useEffect } from 'react'
declare global { interface Window { Canny: (...args: unknown[]) => void } }
type Viewer = {
id: string; email: string; name: string; avatarUrl?: string
createdAt: string; plan: string; cannyHash: string // HMAC computed on the server
}
export function CannyIdentify({ viewer }: { viewer: Viewer }) {
useEffect(() => {
window.Canny?.('identify', {
appID: process.env.NEXT_PUBLIC_CANNY_APP_ID,
user: {
id: viewer.id,
email: viewer.email,
name: viewer.name,
avatarURL: viewer.avatarUrl,
created: new Date(viewer.createdAt).toISOString(),
customFields: { plan: viewer.plan },
},
hash: viewer.cannyHash,
})
}, [viewer])
return <Script src="https://sdk.canny.io/sdk.js" strategy="afterInteractive" />
}
If the Canny function is not defined yet when the effect runs, use the loader snippet from https://developers.canny.io/install, which queues calls until the SDK arrives.
Step 2: Sign identify requests
In the admin security settings, "Identify security" makes Canny reject identify calls without a per-user hash, which prevents impersonation. Compute it on the server with your secret API key (from company settings, never shipped to the browser):
// lib/canny-hash.ts
import crypto from 'node:crypto'
export function cannyHash(userId: string): string {
return crypto.createHmac('sha256', process.env.CANNY_API_KEY!).update(userId).digest('hex')
}
Roll out the hash first, then switch the setting on. Companies (with monthlySpend) can be sent in user.companies inside identify to segment feedback by revenue.
Step 3: Embed the widget (optional)
The widget is an advanced option; Canny recommends linking to the full site for most apps. For a widget, add an empty div with a data-canny attribute and call Canny('render', { boardToken, basePath, ssoToken, theme }) (theme is light, dark or auto). basePath syncs URLs, for example '/feedback', and your router must serve /feedback/* on the same page. Private boards require an ssoToken generated on your server (https://developers.canny.io/install/widget/sso).
Step 4: Use the REST API
Every call is a POST to https://canny.io/api/v1/... with a JSON body (or form fields) containing apiKey, and Content-Type: application/json. Create the author first: users/create_or_update returns Canny's own id, which is what authorID and voterID expect, not your application user id.
// lib/canny.ts
const BASE = 'https://canny.io/api/v1'
async function canny<T>(path: string, body: Record<string, unknown>): Promise<T> {
const res = await fetch(`${BASE}/${path}`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ apiKey: process.env.CANNY_API_KEY, ...body }),
})
if (res.status === 429) throw new Error(`Rate limited, retry after ${res.headers.get('Retry-After')}s`)
if (!res.ok) throw new Error(`Canny ${path} failed: ${res.status} ${await res.text()}`)
return res.json() as Promise<T>
}
export async function submitIdea(user: { id: string; email: string; name: string }, boardID: string) {
const author = await canny<{ id: string }>('users/create_or_update', {
userID: user.id, email: user.email, name: user.name,
})
return canny<{ id: string }>('posts/create', {
authorID: author.id,
boardID,
title: 'Dark mode for the dashboard',
details: 'Our night-shift dispatchers want a dark theme for the live map.',
customFields: { source: 'support-ticket' },
})
}
export function topPosts(boardID: string) {
return canny<{ posts: { id: string; title: string; score: number; status: string }[]; hasMore: boolean }>(
'posts/list', { boardID, sort: 'score', limit: 20, status: 'open,under review' })
}
export function markPlanned(postID: string, adminID: string) {
return canny('posts/change_status', {
postID, changerID: adminID, status: 'planned', shouldNotifyVoters: true,
Установить canny в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл canny?
Canny is a hosted product-feedback tool with feature-request boards, voting, a public roadmap and a changelog. Use when a user asks to set up a feature request board, identify logged-in users in Canny, embed the feedback widget, create or list posts through the Canny API, change a post's status, or verify Canny webhooks.
Как установить скилл canny?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл canny запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic