How to have an AI programmer do everything for you
Once you hire them, they’ll take care of you
Hire a programer named Claude Code.
Here’s how to hire them:
How to hire
install.
npm install -g @anthropic-ai/claude-code
Go to the directory of the project we want to work on.
Since we’are going to have them create an app this time, go to the xcode project directory.
cd your-project-directory
Thank you, Claude.
claude
The first time we use them, we will be asked to set up an API key, and the anthrop_c web page will open, asking we if we would like to set up an API key. If we haven’t already done so, sign in and register our credit card.
Now we were able to hire Claude Code.
All we have to do is give instructions in the console prompt field, and it will read all the files in the project, add files, and write code.
This time, We asked it to “make an app that takes pictures with a camera.”
When editing a file, it will ask us “Are you sure you want to edit it with this content?”
There were several errors, but each time we explained the error and asked them to rewrite it.
And when we run the project that Claude Code made in Xcode,
We w able to create a normal camera app.
I think it’s useful because it rewrites files for the entire project.
We don’t need to copy and paste copy and paste from files to Chat page of AI.
To use extended thinking, we can say “think hard” in prompt. Pretty cool isnt’ it?
Fee
By the way, Claude Code is a paid service, and I spent about $1 in API fees to create this camera app. I am happy with it🎵
🐥
I am a freelance engineer.
For business inquiries, please contact me at
rockyshikoku@gmail.com
I provide information related to AI.
[Twitter](https://twitter.com/JackdeS11)
[Medium](https://medium.com/@rockyshikoku)
[GitHub](https://github.com/john-rocky)