learnshopify.dev/Workspace
local task

Give your agent your brief, check what it changed, and commit.

Pass criterion: The example button and the Additional page are gone, the home page keeps its `authenticate.admin` line, and everything is committed.
$ npx @learnshopifydev/cli check check-what-your-agent-wrote
1. Give your agent your brief

Start your agent in your app folder and paste this as one message.

2. List the files that changed

You should see `app/routes/app._index.tsx`, `app/routes/app.additional.tsx` and `app/routes/app.tsx`, and perhaps the template's sign-in page in `app/routes/_index/`. If another file is listed, ask your agent why.

3. Look at what changed on the home page

Lines with `-` were removed, and the Generate a product button should be among them. Near the top, the line `await authenticate.admin(request);` must still be there with no `-` in front of it.

4. Look at your app in the Shopify admin

With `shopify app dev` running, open your app. The home page shows the heading Bundle app, and the menu no longer has Additional page.

5. Commit the changes

Do this only when steps 2 to 4 look right.

0 / 1 task solved