/agentic-tests:create-profilefrom agentic-tests
Guides users through creating reusable agent profiles for testing features or skills, with interactive steps for target selection, use case definition, and persona generation.
Ships in agentic-tests. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Creates reusable agent profiles for test-skill and test-feature. A profile captures what to test (target, use case, expected outcome) and who tests it (agent persona). Profiles are saved as Markdown files in docs/agent-profiles/ and can be loaded by test-skill and test-feature.
Input: /create-profile with no arguments starts the interactive flow. /create-profile <target-name> skips to Step 2 with the feature or skill pre-selected.
Determine whether the user wants to test a project feature or a skill:
Discover features and skills from the project:
README.md, CLAUDE.md, AGENTS.md, other doc files, and project structure when present. If any expected file is missing, continue with the remaining sources instead of failing.SKILL.md files under skills/, .agents/skills/, and ~/.agents/skills/. Also check command files under ~/.claude/commands/ and ~/.config/opencode/commands/.Present the combined list via AskUserQuestion, explicitly separating features from skills:
What would you like to create a profile for?
Features:
a) [Feature 1] — [description]
b) [Feature 2] — [description]
Skills:
c) [Skill 1] — [description]
d) [Skill 2] — [description]
If only features or only skills were found, show just that section. If the user is testing a skill, record the specific skill name (for example test-skill) rather than a broader feature label. If the user is testing project functionality, record the feature name.
Record the chosen target type (feature or skill), the chosen target name, and a normalized target slug (lowercase, spaces replaced with hyphens) for later filename suggestions.
For feature targets only, record a test mode. test-feature defaults to blind (the simulated user reads only the rendered docs and the result is gated on a real build/run); standard is the trusting flow that lets the user touch the repo directly. Accept the blind default unless the user asks for standard. Skip this for skill targets.
SKILL.md to understand what scenarios are possible.
AskUserQuestion:
Here are some use cases for "[feature/skill]":
a) [Scenario 1] — Expected: [what success looks like]
b) [Scenario 2] — Expected: [what success looks like]
c) [Scenario 3] — Expected: [what success looks like]
d) Describe your own use case
Which use case?
AskUserQuestion:
Agent profile options:
a) [Name] — [Experience level], [one-line background summary]
b) [Name] — [Experience level], [one-line background summary]
c) [Name] — [Experience level], [one-line background summary]
Which agent profile?
Generate normalized slugs for the target, persona name, and use case. Slugs must contain only lowercase letters, numbers, and hyphens. Always build the save path as:
docs/agent-profiles/<target-slug>-<use-case-slug>-<persona-slug>.mdPresent the complete profile to the user together with a short save preview. Then save it immediately using the generated path unless there is a filename collision:
Profile summary:
- Target Type: [feature/skill]
- Mode: [blind/standard] (feature targets only)
- Target: [feature/skill name]
- Use Case: [use case]
- Expected Outcome: [expected outcome]
- Agent: [name] — [background], [experience level]
- Tendencies: [decision tendencies]
- Quirks: [quirks]
Saved file preview:
# [chosen filename stem]
## Target Type
[feature/skill]
## Mode
[blind/standard]
## Target
[feature/skill name]
## Use Case
[use case]
## Expected Outcome
[expected outcome]
If the chosen path already exists, ask:
That profile already exists.
a) Overwrite it
b) Cancel save
If saving, write the file using this format:
docs/agent-profiles/.docs/agent-profiles/, even if the normalized filename appears valid.# [filename stem]
## Target Type
[feature|skill]
## Mode
[blind|standard] <!-- feature targets only; omit for skills -->
## Target
[Feature or skill name]
## Use Case
[What the user is trying to do]
## Expected Outcome
[What success looks like]
## Agent
### Background
[Who this person is]
### Experience Level
[Beginner/Intermediate/Expert]
### Decision Tendencies
[How they behave at choice points]
### Quirks
[Realistic traits that add personality]
After saving, offer next steps via AskUserQuestion:
Profile ready. What next?
a) Create another profile
b) Run /test-feature with this profile
c) Run /test-skill with this profile
d) Done
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub giggleliu/agentic-tests --plugin agentic-tests4 skills in this plugin
/test-featureUse when testing a project's features from a user's perspective — simulates downstream users who read docs, set up the project, and exercise features end-to-end, reporting on discoverability, functionality, and documentation quality/test-skillUse when testing a skill — role-plays through a skill's conversational flow with a simulated user persona, then produces a test report with structural analysis, UX feedback, and actionable suggestions/test-writingUse when testing a paper's writing quality from a reader's perspective — simulates first-time readers with calibrated audience profiles who scan, then deep-read section by section, reporting on clarity, confusion points, structure, and flowOther plugins' skills for the same job