taste: Taste Learning Created odd nested directory name with / - 's

未关闭
#499 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
52/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
css
领域
cli

调研方向

在 macOS 上使用 Command Code 0.39.1,通过包含 “css-” 和 “-styling” 等 CSS 样式的 prompt 重现 taste learning。检查 learning 输出如何创建 .commandcode/taste/css-/-styling/taste.md,以及它之后如何读取该路径。完成的标准是:样式名称表示为一个命名正确的目录,并且后续的 taste read 使用相同的位置。

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

描述

Summary

When learning css or style taste, the following directories were created,

The "-" caused it to make two separate directories "css-" and "-styling" .

.commandcode/taste/css-/-styling/taste.md

See: Image

Expected Behavior

Properly named single directory.

Actual Behavior

Multiple directories.

Steps to reproduce the issue

I think in my prompt I said something like

for brand use these styles in plan @theme {
    /* 🎨 Colors (OKLCH — equal perceptual steps) */
    --color-pwv-black: oklch(0.00% 0.000 0.0);    /* #000000 */
    --color-pwv-white: oklch(100.00% 0.000 0.0);  /* #ffffff */
    --color-pwv-gray: oklch(91.89% 0.000 0.0);    /* #e4e4e4 */
    --color-pwv-green: oklch(74.99% 0.243 144.1); /* #00d22e */
    --color-pwv-teal: oklch(77.87% 0.135 188.7);  /* #00d2c8 */
...
Command Code Version

0.39.1

Operating System

macOS

Terminal/IDE

ghostty

Shell

zsh

Additional context

I'm going to rename file and directory manually.

Because subsequently:

 READ  [.commandcode/design/css-/-styling/taste.md]
 └ ERROR: File not found or not readable: .commandcode/design/css-/-styling/taste.md

even though oh wait... it looked for design ... that's odd. That is taste.

Image
主要语言
没有语言数据
星标
4k
派生
350
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

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

CommandCodeAI/command-code 的其他 Issue

查看 CommandCodeAI/command-code 的全部 Issue

相似的 Issue

更多 CLI Issue

把新 issue 发到你的邮箱

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