tipcalc/ __init__.py pricing.py # tip(amount, percent) split.py # split_bill(amount, percent, people) tests/ __init__.py test_split.py
Pagkahibalo sa agianan sa usa ka codebase
Kung mosulod ka sa dakong library, dili nimo basahon ang tanang libro. Mangutana ka kung asa ang mga mapa, unsa ang naa sa matag estante, ug kinsay nakahibalo sa bilding. Si Claude Code mahimong imong giya. Pangayoa una siya og mapa, ug human ana pilia ang usa ka estante nga trabahoon.
- Molihok ang Claude Code sa bisan unsang folder ug basahon niya pag-usab ang mga file sa matag tool call. Sugdi sa lapad ("give me an overview of this codebase"), unya pig-ota ("how is authentication handled?").
- Opisyal nga prompt recipes nga sulayan: "explain the main architecture patterns used here", "what are the key data models?", "trace the login process from front-end to database".
- I-type ang
@ug ang path aron iapil ang file o folder sa imong mensahe, pananglitan@src/utils/auth.js. Ang reference sa folder nagpakita og listahan sa mga file, dili ang sulod. Ang mga file nga labaw sa 256KB dili apilon. - Ang pag-eksplorar nagpuno sa imong context sa mga file reads. Gisugyot sa docs nga ipaubos kini: "use a subagent to investigate how our auth system handles token refresh". Ang subagent nagabasa sa iyang kaugalingong context window ug magpadala balik og summary.
- Ang tukma nga prompt makatipid og usa ka hugna sa pagtul-id. Ngalanan ang file, ihulagway ang simtomas ug ingna kung unsa ang pasabot sa "fixed". Huyang: "fix the login bug". Kusgan: "users report login fails after the session times out. look at token refresh in src/auth/, write a failing test that reproduces it, then fix it".
- Padagana ang
/context allsulod sa session aron makita kung unsang mga file sama sa CLAUDE.md ang na-load.
- Ablihi ang terminal sa proyekto nga adunay labing menos lima ka file (gamita imong kaugalingon, o bisan unsang gamay nga open-source nga proyekto). Sugdi ang
claude. - I-type: give me an overview of this codebase. Basaha ang tubag.
- Pangutan-a: what are the key modules, and how do they depend on each other?
- Pili og usa ka file ug pangutan-a: Explain the logic in @path/to/file (i-type ang tinuod nga path human sa @).
- Pangutan-a: where is the code that handles the most important feature, and which tests cover it?
- Isulat ang mapa sa imong kaugalingong pulong sa notes file: mga module, unsay buhat sa matag usa, asa ang mga test.
- Check: makapasabot ka, nga dili motan-aw, kung unsang file ang imong abliha aron usbon ang usa ka ginganlan nga feature.
Videos by other creators on YouTube, for reference. They are not made by or affiliated with The Future Market.
Read the video script
[Host] "Dako nga codebase? Ayaw basaha tanan. Pangayoa og mapa."
[Screen: Claude Code nga nagtubag sa 'give me an overview of this codebase'] "Sugdi sa lapad, unya pig-ota."
[Text on screen: @path/to/file] "Gamita ang at sign aron ituro ang usa ka file."
[Screen: summary gikan sa subagent] "Pabasaha ang subagent sa daghang file ug summary lang ang ipabalik."
[Host] "Ang imong kaugalingong mapa sa imong kaugalingong pulong mao gyud ang tumong."
Pili og proyekto nga daghan og files. Gamita ang mga lakang sa ibabaw aron magsulat og usa ka pahina nga mapa: mga module, agos sa data ug asa nahimutang ang mga test. Unya pangayoa si Claude nga ipakita ang usa ka butang sa imong mapa nga sayop o kulang.
ClaudeStuck? Copy a ready-made prompt for Claude
Copy this, open Claude, paste it, and Claude will walk you through the lesson step by step.
For a grown-up: Claude is for adults (18+). Copy this, paste it into Claude, and use the answer to explain the lesson to your child.
I'm learning "Claude Code Projects: mas dagkong codebase, mga test ug git" on The Future Market. Lesson 1: "Pagkahibalo sa agianan sa usa ka codebase".
What the lesson teaches:
- Molihok ang Claude Code sa bisan unsang folder ug basahon niya pag-usab ang mga file sa matag tool call. Sugdi sa lapad ("give me an overview of this codebase"), unya pig-ota ("how is authentication handled?").
- Opisyal nga prompt recipes nga sulayan: "explain the main architecture patterns used here", "what are the key data models?", "trace the login process from front-end to database".
- I-type ang @ ug ang path aron iapil ang file o folder sa imong mensahe, pananglitan @src/utils/auth.js. Ang reference sa folder nagpakita og listahan sa mga file, dili ang sulod. Ang mga file nga labaw sa 256KB dili apilon.
- Ang pag-eksplorar nagpuno sa imong context sa mga file reads. Gisugyot sa docs nga ipaubos kini: "use a subagent to investigate how our auth system handles token refresh". Ang subagent nagabasa sa iyang kaugalingong context window ug magpadala balik og summary.
- Ang tukma nga prompt makatipid og usa ka hugna sa pagtul-id. Ngalanan ang file, ihulagway ang simtomas ug ingna kung unsa ang pasabot sa "fixed". Huyang: "fix the login bug". Kusgan: "users report login fails after the session times out. look at token refresh in src/auth/, write a failing test that reproduces it, then fix it".
- Padagana ang /context all sulod sa session aron makita kung unsang mga file sama sa CLAUDE.md ang na-load.
The exercise I'm working on:
Pili og proyekto nga daghan og files. Gamita ang mga lakang sa ibabaw aron magsulat og usa ka pahina nga mapa: mga module, agos sa data ug asa nahimutang ang mga test. Unya pangayoa si Claude nga ipakita ang usa ka butang sa imong mapa nga sayop o kulang.
I'm stuck. Please:
1. Explain the main idea in plain, simple words with one everyday example.
2. Walk me through the exercise one small step at a time. Ask me what I've done so far before giving the next step.
3. Don't just give me the final answer. Help me do it myself, and check my work when I share it.I'm a parent helping my child (about 8 years old) with a lesson called "Pagkahibalo sa agianan sa usa ka codebase" from the course "Claude Code Projects: mas dagkong codebase, mga test ug git". Here's what the lesson says: Kung mosulod ka sa dakong library, dili nimo basahon ang tanang libro. Mangutana ka kung asa ang mga mapa, unsa ang naa sa matag estante, ug kinsay nakahibalo sa bilding. Si Claude Code mahimong imong giya. Pangayoa una siya og mapa, ug human ana pilia ang usa ka estante nga trabahoon. The activity: Pili og proyekto nga daghan og files. Gamita ang mga lakang sa ibabaw aron magsulat og usa ka pahina nga mapa: mga module, agos sa data ug asa nahimutang ang mga test. Unya pangayoa si Claude nga ipakita ang usa ka butang sa imong mapa nga sayop o kulang. Please explain this so an 8-year-old understands: short sentences, a fun everyday example, and no hard words. Then give me 3 simple questions I can ask my child to check they understood, and a way to do the activity together, one tiny step at a time.
Sources
- Claude Code docs, Common workflows (Understand new codebases, Reference files and directories, Delegate research to subagents): code.claude.com/docs/en/common-workflows
- Claude Code docs, Best practices (Write a specific prompt): code.claude.com/docs/en/best-practices
Gikan sa ideya ngadto sa spec ngadto sa plano
This lesson is part of full access: every course and every level for one payment.
Ang mga test mao ang loop
This lesson is part of full access: every course and every level for one payment.
Ang Git isip imong safety net
This lesson is part of full access: every course and every level for one payment.
Susiha ang code nga wala nimo gisulat
This lesson is part of full access: every course and every level for one payment.
Mga subagent ug parallel nga trabaho
This lesson is part of full access: every course and every level for one payment.
Magpabilin nga ikaw ang nagdumala sa mas dagkong trabaho
This lesson is part of full access: every course and every level for one payment.
Final project
This lesson is part of full access: every course and every level for one payment.
Quiz
Unsaon nimo pag-apil og usa ka file sa imong mensahe ngadto sa Claude Code?
I-type ang @ ug ang path, pananglitan @src/utils/auth.js.
Ngano nga pangayoon si Claude nga mag-interview kanimo ug magsulat og SPEC.md?
Himuon niini nga sinulat nga definition of done ang hanap-hanap nga ideya sa dili pa matukod ang bisan unsang code.
Human sa duha ka napakyas nga pagtul-id, unsay gisugyot sa docs?
Padagana ang /clear ug sulati ang mas maayong prompt imbes nga ikatulong pagtul-id.
Unsay naghimo sa maayong check nga ipadagan ni Claude?
Mobalik kini og pass o fail, sama sa mga test, build o linter.
Unsay buhaton sa Stop hook nga mogawas nga adunay code 2?
Ipabalik niini si Claude sa trabaho, uban sa gi-print nga rason, imbes nga tugotan siya nga mohuman.
Ilis ba sa Git ang mga checkpoint?
Dili. Naglangkob lang kini sa edits ni Claude sa file sulod sa session; ang Git mao ang imong tinuod nga kasaysayan.
Unsay buhat sa
claude --worktree feature-auth?Nagsugod og session sa bag-ong git worktree sa kaugalingong branch, aron ang parallel nga trabaho dili magbangga.
Ngano nga gamiton ang reviewer nga wala nagsulat sa code?
Dili siya maimpluwensyahan sa pangatarungan nga nagpatungha sa code ug makita niya ang mga problema nga wala makita sa nagsulat.
Unsaon pagpugong sa reviewer subagent nga dili makausab og files?
Ilista lang ang read tools, sama sa Read, Grep ug Glob, sa tools field niini.
Unsay pangunang gasto sa mga subagent?
Tokens, tungod kay ang matag subagent nagpadala sa kaugalingong mga hangyo ug nag-ihap sa parehas nga paggamit.
Ngano nga ibutang ang never-rule sa deny rule o hook imbes lang sa CLAUDE.md?
Ang CLAUDE.md kay giya nga kasagarang gisunod ni Claude; ang deny rules ug hooks gipatuman mismo sa Claude Code.
Unsang mga command ang makatabang sa pagkontrol sa gasto ug context sa taas nga session?
/clear tali sa mga buluhaton, /compact nga adunay focus, ug /usage aron makita kung asa mosulod ang paggamit.
Final exam
This lesson is part of full access: every course and every level for one payment.
Certificate
This lesson is part of full access: every course and every level for one payment.