daily

Una cosa al día. Breve, concreta y verificada.

Cada día hábil: algo que acaba de cambiar en Claude Code, o un comando de una lección de FirstPrompt, explicado sin vueltas. Nada inventado: cada línea se verifica con el changelog de Anthropic o con la lección de la que salió, y una persona la lee antes de publicarla.

  1. Install expo-dev-client before the build, not after

    A build profile that says "developmentClient": true is making a claim about your project: that the developer client is installed. It is not, until you add this package. Builds here are the first rationed thing, so one that fails for a missing package still spends part of your allowance.

    $npx expo install expo-dev-client
    Se enseña en ap4-native/i-want-my-name-on-this-app
  2. claude --resume with a name takes you straight back to that session

    Use --continue when there was only one thing you were doing here. Use --resume with a name when you know exactly which one you want. One quirk: if another live session already has that name, it keeps it and yours gets a variant like morning-triage-graceful-unicorn, so glance at the name you actually got.

    $claude --resume morning-triage
    Se enseña en tm1-start/sessions-are-the-unit-of-work
  3. Ctrl+G opens the plan in your own editor so you can edit it

    When a plan is on screen, press Ctrl+G and it opens in your default editor. Delete the step you did not want, add the constraint you forgot, then save and close. Claude proceeds from the plan you wrote, before any files are changed.

    Ctrl+G
    Se enseña en tm2-teach/plan-mode-and-when-to-skip-it
  4. git diff with three dots shows only what the branch added

    Three dots, not two: it shows what the branch added, rather than everything that has happened on main since. That makes it a clean way to read a change yourself before you accept it. If your default branch is called master, use that name instead of main.

    $git diff main...worktree-invoice-chase
    Se enseña en tm3-second/writer-and-reviewer
  5. Adding a browser connector with claude mcp add, and the prompt you have to answer

    Run this after leaving Claude with /exit. When you start Claude Code again it asks about the new connector, and the default is to continue without it, so arrow up to Use this MCP server and press Enter. The first download can take a minute. If it says the connector is not running, type /mcp to check it or restart.

    $claude mcp add --scope project playwright -- npx @playwright/mcp@latest
    Se enseña en m6-workflow/mcp
  6. npx expo install expo-updates costs you one build, then nothing after

    The updates library has to be inside the binary before the binary can go looking for updates. So it is one build now, then nothing forever after. Using expo install rather than npm install picks the version that matches your SDK.

    $npx expo install expo-updates
    Se enseña en ap6-ship/ship-a-fix-in-sixty-seconds
  7. Typing /loop with no prompt runs a built-in maintenance agent you can stop with Esc

    On its own, /loop continues unfinished work from the conversation, then tends to the current branch's pull request: review comments, failed CI, merge conflicts. When nothing is pending, it does cleanup passes like bug hunts or simplification. It deliberately starts nothing new, and you stop it with Esc.

    Esc
    Se enseña en tm5-auto/loops-and-routines
  8. An mcp server added to a project stays at Pending approval until you approve it

    Run claude mcp list and a project server shows Pending approval until you say yes to it. Start claude inside that project and choose to use the server when asked, because the default skips it. Once it is connected, you can point at a specific thing inside it with @ mid sentence.

    $/mcp
    Se enseña en tm5-auto/connect-the-tools-your-day-uses
  9. The preview profile builds an .apk a phone will actually install

    A phone installs an .apk and refuses an .aab, so building with preview is what makes the file something you can hand to a friend. The free tier gives you 15 Android builds a month, one at a time, in the low-priority queue. Expo's own words: at peak times, you may experience wait times of 90+ minutes.

    $eas build -p android --profile preview
    Se enseña en ap6-ship/a-file-anyone-can-install
  10. Run plain claude once so the folder is trusted

    In a new project, claude --worktree does not stop to ask about trust. It prints "Workspace trust not yet accepted" and exits. So run plain claude in the project folder first, answer Yes to the trust question, then leave with /exit. After that the folder is trusted and you can carry on.

    $claude
    Se enseña en tm3-second/two-windows-one-repository
  11. At the approval box, pick No and press Tab to ask why Claude made that change

    When a proposed edit looks wrong and you are not sure, move to No, press Tab, and type your question. Nothing is saved. Claude explains the reason behind the code, then asks whether to go ahead, so you can say yes and get the same change back to approve.

    Tab
    Se enseña en m3-single-file/explain
  12. The production profile on eas build gives you an .aab, not an .apk

    Stores want an .aab file, not the .apk you send to friends for testing. Android builds also have to be signed, and the first time you run this, EAS creates an upload keystore and keeps it in your Expo account rather than on your laptop. One less thing to lose in a reinstall.

    $eas build -p android --profile production
    Se enseña en ap6-ship/capstone-submit-it
  13. Press Up to bring back a prompt you cleared with Ctrl+C

    If you wipe a prompt with Ctrl+C, pressing Up on the empty prompt now brings the draft back, pasted text and images included. That long message you typed out and killed by accident is recoverable.

    Claude Code 2.1.288

    Added recovery for a prompt cleared with Ctrl+C: pressing Up on the empty prompt brings the draft back, including pasted text and images

    Del changelog de Claude Code 2.1.288
  14. Web searches in a session now refill at 100 calls per hour

    Claude Code used to stop searching the web once a session hit 200 calls. Now the interactive session's WebSearch budget refills over time, 100 calls an hour. A long research session no longer runs out of searches and stays stopped.

    Claude Code 2.1.290

    Changed the interactive session's WebSearch budget to refill over time (100 calls/hour; CLAUDE_CODE_WEB_SEARCH_REFILLS_PER_HOUR sets the rate, 0 turns it off) instead of ending after 200 calls

    Del changelog de Claude Code 2.1.290
  15. Keys you type after sending a message no longer answer permission prompts

    Type a message, hit enter, keep typing, and a permission prompt could swallow those keystrokes as your answer. Same thing if the prompt was slow to appear. That's fixed now, so a stray keypress won't approve something you never read.

    Claude Code 2.1.318

    Fixed permission prompts being answered by keys typed just after sending a message, or before a slow prompt appeared

    Del changelog de Claude Code 2.1.318
  16. Claude no longer silently skips the big text file you @-mention

    When you pulled in a text file over 256KB with an @-mention, its contents were left out and nothing told you. Now Claude is told the file's size and to read it in portions. So a long export or transcript you attach actually gets read.

    Claude Code 2.1.292

    Fixed @-mentioned text files over 256KB being left out silently: Claude is now told the file's size and to read it in portions

    Del changelog de Claude Code 2.1.292
  17. Prompts with invisible characters now send on the first Enter

    If you pasted text from a doc or a webpage, hidden characters could make Claude Code ignore your first Enter. Now a plain prompt sends cleaned straight away. Commands still wait for your review before they run.

    Claude Code 2.1.316

    Fixed prompts containing invisible characters needing a second Enter to send; plain prompts now send cleaned on the first Enter, and commands still wait for review

    Del changelog de Claude Code 2.1.316
  18. A new setting stops Claude writing outside your working directories

    Turn on permissions.blockWritesOutsideWorkingDirectories and Write, Edit and NotebookEdit refuse any path outside the folders you are working in. That holds in every permission mode, so even when you let Claude run freely it stays inside the project you pointed it at.

    Claude Code 2.1.314

    Added permissions.blockWritesOutsideWorkingDirectories: Write, Edit and NotebookEdit refuse paths outside the working directories in every permission mode

    Del changelog de Claude Code 2.1.314
  19. /clear wipes the conversation when corrections stop working

    Corrected Claude twice and it is still wrong? The conversation now holds all the wrong turns, and they influence every answer. Clear it, then ask once more in one clear message that includes what you learned from the failed attempts. Your files are untouched.

    $/clear
    Se enseña en m1-terminal/pipes
  20. claude --resume with no name opens a picker of every session

    Use --continue when you know there was only one thing you were doing here. Use --resume with a name when you know exactly which one. Forgotten? Run it bare and pick from the list. One quirk: if a live session already holds the name you typed, yours gets a variant like morning-triage-graceful-unicorn, so glance at it.

    $claude --resume
    Se enseña en tm1-start/sessions-are-the-unit-of-work
  21. eas submit uploads your latest Android build to Google Play

    One catch: the store listing has to already exist in the Play Console before the upload runs, so your first Android submission is not purely a command-line affair. Fill in the console first, with your listing text, policy URL and the questionnaire answers, then run this to send the .aab up.

    $eas submit --platform android --latest
    Se enseña en ap6-ship/capstone-submit-it
  22. Ctrl+G opens Claude's plan in your editor so you can rewrite a line yourself

    Claude writes a plan and changes no files until you approve it. Press Ctrl+G, edit a line in your own words, save, and the build follows your wording. Some terminals swallow that combination, so you can also start with claude --permission-mode plan or put /plan in front of a single prompt.

    Ctrl+G
    Se enseña en ap2-screens/describe-it-before-you-build-it
  23. Claude no longer redoes finished work after a context compaction

    When a long chat gets compacted, Claude sometimes read its own last actions as happening after the compaction, then retracted or redid work it had already finished. That is fixed. Long sessions should now pick up where they left off instead of undoing good work.

    Claude Code 2.1.293

    Fixed Claude sometimes treating its own last actions before a context compaction as done after it, and retracting or redoing finished work

    Del changelog de Claude Code 2.1.293
  24. /schedule sets up a recurring task in plain language

    You describe the routine in a sentence and /schedule creates it. If one seems to have skipped, you can ask why: /schedule why did my nightly review do nothing this morning? reads the run log and explains. The minimum interval is one hour, and there is a daily run cap on your account on top of your usual limits.

    $/schedule every weekday at 9:03, summarise what changed in this repository overnight and open a PR with the summary
    Se enseña en tm5-auto/loops-and-routines
Ver los cursos