Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:30:34 +08:00
commit 88e33c375a
4 changed files with 153 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{
"name": "clarification",
"description": "A lightweight plugin for clarifying tasks and requirements through structured questions",
"version": "1.0.0",
"author": {
"name": "Kasper Junge",
"url": "https://github.com/kasperjunge"
},
"commands": [
"./commands"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# clarification
A lightweight plugin for clarifying tasks and requirements through structured questions

93
commands/clarify_task.md Normal file
View File

@@ -0,0 +1,93 @@
# Clarify Task
Helps clarify any task, feature, or requirement by asking focused questions to uncover details, edge cases, and success criteria.
## Initial Setup
Respond with:
```
I'm ready to help clarify your task.
Please describe what you want to accomplish.
```
Wait for user input.
## Workflow
1. **Receive user's task description**
2. **Ask clarifying questions** (3-5 at a time) about:
- Core objectives and desired outcomes
- Key scenarios and use cases
- Edge cases and error conditions
- Constraints and limitations
- Success criteria and acceptance criteria
- Scope boundaries (what's in/out)
- Priority and dependencies
3. **Continue asking** until no more questions remain
4. **Summarize clarified understanding** in a concise format
## Guidelines
- Each clarifying question should be numbered
- Focus on understanding WHAT needs to be done and WHY
- Ask about edge cases and error scenarios
- Identify explicit scope boundaries
- Uncover implicit assumptions
- Be specific: ask for measurable criteria when possible
- Avoid making assumptions - ask instead
- Prioritize questions that have the biggest impact on the approach
## Chat Output Format
After completing clarification:
```
I now have a clear understanding of your task:
**Objective**: [Clear statement of what needs to be accomplished]
**Key Requirements**:
- [Requirement 1]
- [Requirement 2]
- [Requirement 3]
**Success Criteria**:
- [How we'll know this is done correctly]
- [Measurable outcome if applicable]
**Out of Scope**:
- [What we're explicitly NOT doing]
**Edge Cases to Consider**:
- [Edge case 1]
- [Edge case 2]
Ready to proceed?
```
## Example Questions to Ask
### Understanding the Core Need
- What problem are you trying to solve?
- What's the desired outcome?
- Who will benefit from this?
- What happens if we don't do this?
### Clarifying Scope
- What are the must-have features vs. nice-to-have?
- Are there any specific constraints (time, budget, technology)?
- What's explicitly out of scope?
- What's the minimum viable version?
### Edge Cases and Error Handling
- What should happen if [edge case scenario]?
- How should errors be handled?
- What are the failure modes?
- Are there any security considerations?
### Success Criteria
- How will you know this is successful?
- What does "done" look like?
- Are there any performance requirements?
- What should the user experience be?
### Dependencies and Context
- Does this depend on anything else?
- Does anything else depend on this?
- Is there existing code/infrastructure to consider?
- Are there any similar implementations to reference?

45
plugin.lock.json Normal file
View File

@@ -0,0 +1,45 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:kasperjunge/30-minute-vibe-coding-challenge:plugins/clarification",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "dece7ebd6cfa94163417391f386c0114556ed0f8",
"treeHash": "6bb0174273b0ce9c74628c42e1f3910a459290f2a949a8d5eaa71ccca3b64a65",
"generatedAt": "2025-11-28T10:19:25.625916Z",
"toolVersion": "publish_plugins.py@0.2.0"
},
"origin": {
"remote": "git@github.com:zhongweili/42plugin-data.git",
"branch": "master",
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
},
"manifest": {
"name": "clarification",
"description": "A lightweight plugin for clarifying tasks and requirements through structured questions",
"version": "1.0.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "551e20c8aabb2e00bae08119482d823bb2c630fd5a506f802c3bc9a383e2b478"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "b0d5a877c6acda02d93bcba1813b5f18eb1d554b2664a4125648ddd7bf009ac6"
},
{
"path": "commands/clarify_task.md",
"sha256": "8dbecf69bfbd655724d2466632df59385e150810b9942c05f4e6bbc60df4790e"
}
],
"dirSha256": "6bb0174273b0ce9c74628c42e1f3910a459290f2a949a8d5eaa71ccca3b64a65"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}