匠人学院 JR Academy
Skip to article
Learning guide
Claude Guide

Use Claude for writing, analysis, coding support, and longer-context AI workflows with better control.

3 chapters·16 guides·Access varies by chapter
Coding Assistance
On this page

Coding with Claude

Choose the interface for the job. Ordinary chat suits syntax, errors, small snippets and implementation discussion. Projects can retain architecture and conventions. Claude Code can inspect a repository, edit files, run authorized commands and use configured tools.

#Define the request

Include language/framework, desired behavior, constraints, current code/error and whether you need an explanation, proposal or implementation.

#A controlled development loop

  1. Explain the current state and propose an approach.
  2. Make one bounded change.
  3. Run appropriate tests or static checks.
  4. Review the result before expanding scope.

Avoid large undefined edits, exposing sensitive configuration, combining unrelated goals and accepting attractive-looking code without regression checks. Useful acceleration depends on clear tasks and observable verification.

Published by
JR Academy
Learning resources

Individual authors and reviewers are credited where recorded.

Prompt Master

Master prompting before you push AI tools harder

Learn prompt structure and control patterns for more stable output.

Open Prompt Master →

FAQ

Claude 3.5 Sonnet 和 GPT-4o 哪个写代码更好?
目前社区公认 Claude 3.5 Sonnet 在代码逻辑、复杂重构和 Artifacts 交互体验上略胜一筹,尤其是在配合 Cursor 使用时。
Claude Projects 是什么功能?
Claude Projects 允许你上传特定的文档(如 API 文档、代码库)作为上下文知识库,让 Claude 在对话中始终基于这些资料回答,非常适合项目级开发。
如何使用 Claude Artifacts?
在对话中让 Claude 生成代码(如 React 组件、HTML/CSS),它会自动触发 Artifacts 预览窗口,你可以直接看到运行效果并进行迭代修改。

Done reading? Next steps