Sefism is free for learners. We are here to help you grow, one step at a time.Join for free
Sefism.

Cheat sheet · Foundations

Coding with AI tools cheat sheet (Claude Code)

Free

For students and developers using Claude Code, the agent that works in your terminal, editor, desktop app or browser. Every command, file name and shortcut here is Claude Code: CLAUDE.md, permission modes, plan mode, /rewind, /review and settings rules, next to the habits that keep your own skills sharp.

Curated by Tauseef Fayyaz10 chapters77 concepts124 glossary terms

Chapters

10 chapters · 77 concepts

  1. 1What AI coding tools are good and bad atHow the models behind these tools work, the three ways you use them, and where they help or hurt, so you know when to reach for one and when to think first.8 concepts
  2. 2Setup and project contextInstalling your tool, the instruction files that tell it how your project works, scoped rules, keeping secrets out of its view, and pointing it at exactly the files that matter.8 concepts
  3. 3Prompting for codeTurning a task into something a tool can do well: small steps, a clear spec with a definition of done, a plan before code, reusable prompts and a fresh context for each task.7 concepts
  4. 4Reading and reviewing AI codeHow to review code you did not type: read every diff, run a checklist, explain it back, catch invented APIs and scope creep, and use AI review as a second pass, never the only one.7 concepts
  5. 5Tests first, so AI output is checkedUsing tests as the specification and the judge: writing the first test yourself, spotting tests that cannot fail, listing edge cases and giving the agent a check it must pass.8 concepts
  6. 6Debugging with AIUsing AI to find causes rather than paper over symptoms: reproduce first, give evidence, work through hypotheses, fix the root cause with a regression test and keep using the real debugger.7 concepts
  7. 7Agents: multi-file changes, permissions and safetyHow agents work, the permission modes and rules that decide what runs without asking, undo with checkpoints and Git, sandboxing, prompt injection, MCP and background agents.9 concepts
  8. 8Security and licencesWhat never goes into a prompt, secrets, hallucinated packages, insecure patterns AI repeats, scanning, licences of copied code, data settings and your employer's or university's AI policy.9 concepts
    1. 1Never paste thisThe list of things that never go into a prompt, a file the tool can read or a screenshot you attach, whatever the tool's privacy settings say.
    2. 2Secrets out of code and contextKeeping secrets in environment variables or a secrets manager, listing .env in .gitignore, blocking it from the tool and scanning commits for leaks.
    3. 3Hallucinated packagesPackage names a model invents that do not exist, or that attackers have since registered with malicious code because models keep suggesting the same fake names.
    4. 4Checking a new dependencyConfirming a package is real, maintained, widely used and needed, and auditing known vulnerabilities, before adding it.
    5. 5Insecure patterns AI repeatsClassic flaws that appear often in generated code: SQL built by string concatenation, unescaped HTML, eval, disabled TLS verification, CORS set to allow…
    6. 6Static analysis on AI codeAutomated tools that scan source code for bug and security patterns without running it, run locally and in CI on every pull request.
    7. 7Licences and copied codeGenerated code can occasionally match public code closely, and that code may carry a licence with conditions such as attribution or sharing your changes.
    8. 8Data use and privacy settingsAccount and organisation settings that control whether your prompts and code may be kept or used to train models.
    9. 9Employer and university AI policyThe written rules on which AI tools you may use, on what code and data, and whether you must disclose it, set by your employer, client or course.
    9 in this chapterOpen this chapter
  9. 9Keeping your skillsDeliberate practice with the AI switched off, attempting before comparing, using the tool as a tutor rather than an answer machine, and the fundamentals no tool replaces.7 concepts
  10. 10Shipping a real project with an agentTaking a small real project from spec to deployment with an agent: scope, a written spec, vertical slices, CI as the gate, one pull request per slice, honest disclosure and a write-up.7 concepts
  11. 11Glossary, A to ZEvery concept in the sheet and the smaller terms it uses, in one list.124 terms

About this sheet

Claude Code, Cursor, Copilot, used well.

Picked from the other libraries by shared topics.

Work with me

Stuck on something specific?

Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.

  • 1:1 Mentorship
  • Fresh Graduate Mentorship
  • Career Guidance

Brand deals, promos and partnerships: tauseeffayyaz@gmail.com