Skip to content
Original
Reddit · ClaudeCode / Codex / VibeCoding· /u/Inevitable-Yam7886·· 1 day agoAI score22

如何让 Claude Code 稳定复用组件库而非手写组件?

Original title: Can someone recommend a Claude workflow?

The title and summary in the selected language are awaiting translation.

AI overview

有用户在组织内用 Claude Code 自动化工作流时遇到一致性问题:Claude 常搜索所有项目找参考,导致每次实现结果不同,还会绕过预校验模板和渲染函数,直接手写组件。即使用 skills 文件要求它使用组件库,也只是偶尔生效。该用户希望找到办法,让 Claude 稳定判断组件是否匹配用户需求,并改用组件库 SDK。

Full text

I’m trying to automate a workflow using Claude code in my organization, but I’m facing issues with inconsistent implementations of common features. Claude often searches through all projects for references, leading to variations each time. I want to use pre-validated templates and render them with a renderer function, which works manually or when Claude remembers to use it. However, Claude frequently bypasses this and attempts to create components manually. I can ask it to use the component library in a skills file, but it only does so occasionally. Can someone suggest how to ensure Claude consistently checks if a component matches the user’s request and uses the component library SDK instead of freehanding it?

Source: Reddit · ClaudeCode / Codex / VibeCoding · reddit.com