Introduction
In this article, I want to present a case where AI-assisted development seemed particularly relevant to me.
Context
I'm a front-end developer, currently working on a front-end application built with VueJS.
To manage the application's translations, we use POEditor, which lets us add "terms to translate" and gives translators a dedicated tool to work with.
On the development side, we have an internal tool that extracts the translations from POEditor into a package (translations-provider). Then, we have an NPM script that consumes this package and updates the translation files in the application.
This setup is convenient for managing translations, but the developer experience isn't great, because developing a new feature involves several manual steps.
Currently, adding a translation for a new feature takes four steps:
sequenceDiagram
actor Dev as Developer
participant PO as POEditor
participant TP as translations-provider (CI)
participant Front as Front-end app
Dev->>PO: 1. Creates the translations
Dev->>TP: 2. Generates the translations export (via a manual pipeline)
TP-->>Dev: Pipeline finished
Dev->>Front: 3. Runs the import script
Dev->>Front: 4. Cleans up the translations
The last step is the most tedious: since POEditor isn't versioned, the export contains every translation present at that moment, including those added by other developers for features still in progress. So you have to sort through the diff of the translation files by hand to keep only what relates to your branch.
The need
In a world where development is increasingly AI-assisted, the goal is to get rid of this manual step and to integrate POEditor into an AI-assisted development workflow (with Claude Code, for example).
Here is the target workflow:
sequenceDiagram
actor Dev as Developer
participant Claude as Claude Code
participant Jira
participant PO as POEditor
participant Front as Front-end app
Dev->>Claude: 1. Asks to implement a ticket
Claude->>Jira: 2. Reads the ticket
Claude-->>Dev: 3. Proposes a plan
Dev-->>Claude: Approves the plan
par Implementation
Claude->>Front: 4. Implements the feature
and Translations
Claude->>PO: 4. Creates the required translations
end
Conveniently, POEditor has released an MCP server that lets an AI interact with it!
An MCP (Model Context Protocol) server exposes, through a standard protocol, the tools and data of an external service to an AI assistant (here: reading and creating terms and translations in POEditor).
On the Jira side, the tooling relies on the Atlassian MCP server to read tickets. It's a prerequisite, but it's not what I want to talk about today.
Implementation
This use case lets me illustrate what I did to automate these tasks and integrate them into my development workflow.
The exact content doesn't matter much; what matters is the tools and the reasons for using them.
To bring a lasting solution to my development workflow and improve my developer experience, the most important thing, in my opinion, is to clearly separate what is deterministic from what isn't. In our case:
| Deterministic | Non-deterministic |
|---|---|
| Run a new translations-provider pipeline (translations export) | Determine when to create translations |
| Run the translations import once the pipeline has finished | Extract the translations from a ticket |
| Clean up the received translations to keep only what we need | Interact with the MCP server to create the translations |
On top of that, it's important to have guardrails on what my tooling will do. Letting a model do whatever it wants with the tools at its disposal is out of the question. For me, this is a key point of any AI tooling setup in our development workflow, in order to stay in control of the work being done.
In my case, I want to:
- Limit the actions on the POEditor MCP (creating new terms and adding translations only)
- POEditor organizes translations into projects. I want to allow access only to the project linked to my front-end application
- Create new translations in POEditor only after explicit approval from the user
- Stick to what the tooling is designed for. Stop and inform the user when leaving the nominal case. Never try to reach the goal through workarounds
- Never invent translations. Whatever is created must come only from a ticket or from user input
Architecture
Here is what's in place:
flowchart TB
Skill["`**SKILL poeditor-translations**
Conductor: orchestrates the creation of translations.
Uses the available tools (read ticket / create translations / import translations)`"]
Skill --> Jira[("`**Atlassian MCP server**
Jira access
*prerequisite, already in place*`")]
Skill --> Agent["`**poeditor subagent**
The only one talking to POEditor:
detects duplicates, creates approved terms`"]
Skill --> Sync["`**sync-translations-from-poeditor.sh**
Runs the translations-provider pipeline,
waits for it to finish, imports the translations`"]
Skill --> Keep["`**keep-only-keys.sh**
Keeps only the ticket's translations`"]
Agent -->|"MCP tool call"| Guard
Guard -->|"allowed project"| MCP[("`**POEditor MCP server**
Reads and creates terms
and their translations`")]
subgraph sgGuards["Guardrails"]
Settings["`**settings.json**
Reads allowed, writes on approval,
everything else denied; declares the hook`"]
Guard["`**poeditor-guard.sh hook**
Blocks any call outside the allowlist`"]
Projects["`**projects.json**
Allowlist of POEditor projects
(name → ID)`"]
end
Settings -.->|"declares"| Guard
Projects -.->|"read by"| Guard
Sync --> Locales[("Locale files")]
Keep --> Locales
classDef central fill:#ffd966,stroke:#b8860b,stroke-width:2px,color:#000
classDef prereq stroke-dasharray:5 5
class Skill central
class Jira prereq
The skill is the single entry point: it handles the non-deterministic part (reading a ticket, extracting labels from it, talking with the developer) and delegates everything else. Access to POEditor goes through a subagent with a deliberately narrow scope, while the deterministic steps (pipeline, import, cleanup) are handed over to scripts. Finally, the guardrails don't rely on the model's goodwill: settings.json and the hook are enforced by Claude Code itself, whatever the prompt. This makes the guardrails truly deterministic.
Guardrails in detail
A rule written in SKILL.md is only an instruction: the model interprets it, and may misunderstand it or drift away from it. For critical rules (write only to the authorized POEditor project, create nothing without approval, delete nothing), that's not enough.
These rules are therefore enforced by Claude Code itself, whatever the prompt: the permissions in settings.json restrict which MCP tools can be used and require approval before every write, and the poeditor-guard.sh hook blocks any call targeting a project outside the allowlist.
A dedicated subagent
The poeditor subagent has a single role: talking to POEditor. Its definition file restricts the tools it can access (reading terms, adding terms and translations, nothing else) and sets the model it uses: Sonnet, which is cheaper, is more than enough for such a well-scoped task. Its context is isolated from the main session's: it receives a list of terms and returns a report.
What AI brings on top
The tooling doesn't just automate the manual steps: the subagent also checks the quality of the translations before creating them. For each new term, it reports:
- a key that already exists in the POEditor project;
-
a prefix conflict: if
profiles.rolealready exists andprofiles.role.labelis requested, the generated JSON file would be broken (the same key can't be both a string and an object); - an EN or FR value that already exists, in the target project or in another project: it may be a label to reuse rather than duplicate;
- a duplicate within the requested list itself.
In my opinion, this is the real value of AI-assisted development and of all the tooling that can come with it: on top of improving the developer experience and automating tedious tasks, we can improve the quality of our work by flagging what a developer might have missed.
Sharing the tooling with the development team
To make this tooling available to the whole development team, the skill, the scripts and the settings are project-scoped, with an AGENTS.md (or CLAUDE.md) file at the root to declare the skill.
The SKILL.md itself states when it should be invoked. In my case, the nominal use is when developing a feature from a Jira ticket that contains translations. You can also invoke the skill "manually", telling it which ticket to use to extract the desired translations.
Sharing is done simply through a project-level merge request. There is of course developer documentation explaining the purpose and how it works.
Here is an overview of what the merge request contains:
.
├── .claude/
│ ├── agents/
│ │ └── poeditor.md # Subagent: sole access to POEditor (duplicate checks, creation of approved terms)
│ ├── hooks/
│ │ └── poeditor-guard.sh # PreToolUse hook: blocks any POEditor MCP call outside the allowlist
│ ├── poeditor/
│ │ └── projects.json # Allowlist of authorized POEditor projects (name → ID)
│ ├── skills/
│ │ └── poeditor-translations/
│ │ ├── SKILL.md # Skill: orchestrates the workflow, from the Jira ticket to the locale files
│ │ └── scripts/
│ │ ├── keep-only-keys.sh # Keeps only the ticket's keys in the locale files
│ │ └── sync-translations-from-poeditor.sh # Runs the translations-provider pipeline, waits for it to finish, imports the translations
│ └── settings.json # Permissions for the POEditor MCP tools (allow / ask / deny) and hook declaration
├── docs/
│ └── poeditor-translations.md # Developer documentation: setup, usage, manual procedure
├── .gitignore # Ignores .claude/settings.local.json (personal settings)
├── .mcp.json # Declares the POEditor MCP server (OAuth, no secret committed)
└── AGENTS.md # Updated i18n rule: the skill becomes the recommended path
Conclusion
In this article, I mainly focused on presenting the setup rather than the content.
That's intentional: content is easy to generate for one's specific needs.
What I wanted to share here is my take on an AI-assisted development workflow.
If I had to sum up, here is what matters:
- Separate what is deterministic from what isn't. No need to spend tokens if a Bash script can do the job (and it gives more certainty about the result, too)
- The skill is mainly a task scheduler. That's where I say what to do, in what order and how. There are also a few guardrails in its instructions, but they're not the most important ones
- For a well-identified task, a subagent matters: it isolates its context so that it does only one thing, but does it well. Here, my subagent only talks to POEditor (through the MCP server)
- The configuration in
settings.jsonis essential to specify what models are allowed to do (blocking key deletion in POEditor, for example)
Improving your developer experience with AI doesn't mean blindly handing everything over to it: it means choosing what you delegate to the model, setting the conditions under which it acts, and keeping control over what matters most.
Cover image generated by AI.
AI was also used to proofread and translate this article.
Top comments (0)