adjust-persona
Skill1 starsChanged 9 months agoMITView on GitHub
Modifies an existing AI coaching persona based on a prompt or adjustment description, and ensures all dependent components (config, UI cards, frontend reporting) are updated to match the new behavior.
In this repository4 other files it gives its agents.
- project-contextSkill
- refactoringSkill
- refactor-optimizeSkill
- update-docsSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 1 is distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Use this skill whenever a user asks to "change the prompt", "adjust the persona", or "make the AI behave differently" for an existing …
- Distinctive: line 16
When asked to adjust a persona, you MUST follow these steps in order:
- Very specific: line 24
Action: Update the report configuration for the specific [persona_name].
- Very specific: line 25
promptIntro: Update the AI framing to match the new strictness or role. - Very specific: line 26
categories: Update the 4 evaluation categories to match the specific things you just told the prompt to watch out for. - Very specific: line 32
Action: If you instructed the prompt to use a specific tool (like Google Search or Code Execution), ensure that tool is enabled in the …
- Very specific: line 47
Do not break the UI: Ensure that if an extraField fails to generate from the LLM, the frontend components (Card and Report) have sensible …
- Very specific: line 49
Always verify the build: Run npx tsc --noEmit && npm run build:client after updating the config and frontend components to ensure no …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Adjust Persona Skill
Purpose
This skill provides a strict workflow for updating an AI persona. Because the personas in Gemili are deeply integrated into the reporting pipeline, changing what a persona "looks for" or how it behaves requires updating several layers of the application to ensure the user receives accurate feedback.
Use this skill whenever a user asks to "change the prompt", "adjust the persona", or "make the AI behave differently" for an existing scenario (e.g., professional_introduction, pitch_perfect, veritalk).
Workflow
When asked to adjust a persona, you MUST follow these steps in order:
1. Update the System Prompt
- Target File:
server/agents/prompts/[persona_name].md - Action: Rewrite or adjust the markdown prompt. Extract any new instructions, behavior hooks, or evaluation criteria the user requested.
2. Update the Server Report Config
- Target File:
server/config.ts(specifically theMODESobject) - Action: Update the
reportconfiguration for the specific[persona_name].promptIntro: Update the AI framing to match the new strictness or role.categories: Update the 4 evaluation categories to match the specific things you just told the prompt to watch out for. Ensure thedescriptionfields give clear instructions to the report generator.displayMetrics: Adjust the selected quantitative metrics if necessary.extraFields: Crucial Step. If the persona is now evaluating something new (e.g., "Curveball Response" or "Weakest Moment"), update theextraFieldsto extract those strings/arrays. Remove outdated fields to save tokens.
3. Update the Gemini Bridge (If adding tools)
- Target File:
server/session/gemini-bridge.ts - Action: If you instructed the prompt to use a specific tool (like Google Search or Code Execution), ensure that tool is enabled in the
connectGeminifunction for this specific mode.
4. Update the Frontend Report Card
- Target File:
client/src/components/report/cards/[PersonaName]Card.tsx - Action: This card renders the "shareable" dynamic image. Update the bottom row of metric cards to map to the new
extraFieldsyou defined in step 2. Ensure layout handles missing fields gracefully.
5. Update the Frontend Report View
- Target File:
client/src/components/report/[PersonaName]Report.tsx - Action: This is the detailed UI view. Update the rendered widgets to properly display the new
extraFieldsand remove dead code referencing old fields. Ensure you extract the fields fromdata.extraFieldsordata.extra.
6. Update Documentation
- Target File:
specs/[persona_name].md(if it exists) - Action: Briefly update the central specification document to reflect the new capabilities or behavioral hooks.
Safety Constraints
- Do not break the UI: Ensure that if an
extraFieldfails to generate from the LLM, the frontend components (Card and Report) have sensible visual fallbacks (e.g.,|| 'Solid Performance'). - No Parallel Tool Calls for Edits: Edit these files sequentially to ensure the config matches the prompt, and the UI matches the config.
- Always verify the build: Run
npx tsc --noEmit && npm run build:clientafter updating the config and frontend components to ensure no TypeScript interfaces were broken by changingextraFields.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

