Preview a cited source or summary in place, as a Claude Code mod

未关闭
#18,928 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃

调研方向

Start from the two comments on the issue and the repo's built-in plugin-authoring skill, since the acceptance criteria require an agreed design with the owner before any build. Read the /planning:interview skill to see the current vscode://file/<path>:<line> stopgap that must remain the fallback. Done means an agreed design for trigger, placement in terminal and desktop, multi-line and multi-file citations, and degradation, plus a proof of concept previewing one file line and one web page section in place.

由索引模型根据 Issue 内容生成。

描述

needs-human needs-owner-decision needs-triage

User story

As a person reading agent output in Claude Code (terminal or desktop app), I want to see the exact source behind a claim, or a short curated summary of it, in place: a side pane or pop-up showing the cited line, section or snippet. Today a citation either sends me to a file to hunt for the spot, or names a source I must open and wade through. The goal is to see only the information I need when I need it, within what a person can hold at once.

Surfaced while redesigning /planning:interview rounds: a source link that opens a whole file "adds no value or little value" unless it lands on the exact line. A vscode://file/<path>:<line> link now does that as a stopgap. This mod is the fuller answer, and it is not limited to links: any skill could use it to surface content and summaries.

Acceptance criteria

  • A design is agreed with the owner before any build (human in the loop): what triggers a preview (click, hover, a command), where it shows (pane, pop-up) in the terminal and in the desktop app, and what it shows (exact line, a section, several lines across files, or an agent-curated summary).
  • A proof of concept shows one cited source (a file line and a web page section) previewed in place without leaving the session.
  • The design covers a citation that spans several lines or several files.
  • The design states how it degrades where the mod cannot run (the vscode:// line link stays the fallback).

Affected area / component

A new Claude Code mod (built with the built-in plugin-authoring skill); consumers: /planning:interview first, then any skill that cites sources.

主要语言
Shell
星标
22
派生
2
平均合并
2 小时
30 天内合并 PR
960

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

melodic-software/claude-code-plugins 的其他 Issue

查看 melodic-software/claude-code-plugins 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。