Ship your first docs pull request
Ask the Docs Agent for a small change to your documentation, then merge the pull request it opens.
Before you begin
Section titled “Before you begin”- An EkLine account that is a member of your organization.
- A documentation repository connected to EkLine through GitHub or GitLab.
- Permission to merge pull requests in that repository, or a teammate who has it.
-
Sign in to the EkLine app.
-
Click New session at the top of the sidebar. If the composer shows Docs and Marketing, select Docs.
Or type your request into Start a conversation on the dashboard and send it.
-
Ask for one small, concrete change. Name the file if you know it:
Add a Troubleshooting section to README.md that covers the errorsthe CLI prints when the API key is missing or invalid. -
Wait while the agent reads the repository and drafts. When it writes a file, the editor opens on the left with one tab per file, and the chat moves to the right.
-
Review the draft. If the agent changed an existing file, accept or reject its changes with Accept All, Reject All, or the check mark and cross on each change. Edit the text directly, or ask for changes in the chat. Enable View All Changes to see every change against the repository.
-
Click Raise PR. The chat box fills with
Open a pull request forand your repository’s name. Press Enter to send it, or add instructions first, for example who should review it. -
When the agent has opened the pull request, the button becomes View PR #N. Click it to open the pull request in GitHub or GitLab.
-
Review and merge the pull request there, as you would any other.
For what the pull request contains, such as its branch, description, and reviewers, see How EkLine opens pull requests.
Check it worked
Section titled “Check it worked”- The pull request is merged in your documentation repository, with the agent’s change on your default branch.
- Back in the session, the toolbar shows the pull request’s Merged badge.
- The session is listed under Sessions in the sidebar, so you can return to it. See Find a past session.
Troubleshooting
Section titled “Troubleshooting”| Problem | What to do |
|---|---|
| New session opens the Marketing Agent, which reads What are we making? | Select Docs in the composer before you send your request. |
| Raise PR is grayed out with “No changes to create a PR” | The session has no changed files yet. Ask the agent for a change first. |
Write better prompts
Section titled “Write better prompts”The more context you give, the better the output.
| Instead of… | Try… |
|---|---|
| “Write docs” | “Create a getting started guide for Python developers” |
| “Update the README” | “Add a Docker installation section to the README” |
| “Help with API docs” | “Document the POST /users endpoint in src/api/users.ts with request and response examples” |
| “Make release notes” | “Generate release notes for tickets ENG-100 through ENG-105, grouped by Features and Fixes” |
- Work in the editor: review controls, Update PR, and stopping or queuing a turn.
- Custom instructions: tell the agent your conventions once, for every session.
- Start work from Jira tickets or Slack: start sessions without opening the app.
- Check your docs in CI: run the Docs Reviewer on every pull request.
Built on Potluck Docs, our open source template.