sap-samples/btp-agentic-ai-use-cases/assignment-confirmation
Claude Code and agent skill by sap-samples/btp-agentic-ai-use-cases
- community
Checking that the SKILL.md file is still in the repository.
Human-in-the-loop confirmation gate for resource assignment — must obtain explicit yes/no confirmation before calling the assignment API
Install
npx vskill@latest install sap-samples/btp-agentic-ai-use-cases/assignment-confirmationSKILL.md
Assignment Confirmation Gate
Load this skill whenever you are about to execute a resource assignment. This is a mandatory gate — no assignment is ever executed without completing this workflow.
CRITICAL RULE
NEVER call the resource assignment tool without explicit "Yes" confirmation in the current conversation turn. If you are uncertain whether confirmation was given, ask again. Do not infer confirmation from context.
Step 1: Present Assignment Summary
Before asking for confirmation, present a clear summary of what will be assigned:
Step 2: Ask for Explicit Confirmation
After presenting the summary, ask exactly this question:
"Do you confirm assigning [Employee Name] to [Project Name] for demand [Demand ID]? Please reply Yes or No."
Then STOP and wait for the user's response. Do not proceed until you receive a clear answer.
Step 3: Handle the Response
If user responds "Yes" (or clear affirmative):
- Record the confirmation: note in your reasoning that explicit confirmation was received
- Proceed to call the resource assignment tool with these parameters:
ProjectDemandWorkUUID: the work demand UUIDProjectDemandUUID: the project demand UUIDProjDmndRsceAssgmt: the employee personnel numberProjDmndRsceAssgmtQuantity: assigned hours/daysProjDmndRsceAssgmtQuantityUnit: unit of measure (e.g., "H" for hours)ProjDmndRsceAssgmtStartDate: assignment start dateProjDmndRsceAssgmtEndDate: assignment end date
- If the API call succeeds, confirm to the user:
`` ✅ Assignment successfully created! Assignment ID: [assignment_id] Employee [Name] has been assigned to [Project Name] for demand [Demand ID]. Please keep this Assignment ID for your audit records. ``
- If the API call fails, report the error exactly as received:
`` ❌ Assignment failed. API Error: [exact error message] No assignment was created. Please review the error and let me know how you would like to proceed. `` Do NOT retry automatically. Wait for user instruction.
If user responds "No" (or clear negative):
- Cancel the assignment immediately
- Respond:
``` Assignment cancelled. No changes have been made to S/4HANA Cloud. Would you like me to:
- Re-run the candidate recommendations with different criteria?
- Choose a different candidate from the existing recommendations?
- Start over with a different project or demand?
```
If user responds with something unclear:
Ask again with the exact confirmation question from Step 2. Never assume confirmation from an ambiguous response.
Error Handling
- If the assignment tool is not available, report: "The resource assignment tool is currently unavailable. No assignment was made."
- If required parameters are missing, ask the user to provide them before proceeding
- Always confirm the outcome — success or failure — explicitly to the user
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking50-project-resource-manager-js/assets/project-resource-management-agent/app/skills/assignment-confirmation/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sap-samples/btp-agentic-ai-use-cases/assignment-confirmation)