thuir/memorybench/update-approval-summary-status-based-on-tracking-progress
Claude Code and agent skill by thuir/memorybench
- community
Checking that the SKILL.md file is still in the repository.
Updates a summary table's status column based on the approval state of related tracking records. Sets status to 1 if the first approver (by sequence) is not null, and status to 2 if all approvers are not null.
Install
npx vskill@latest install thuir/memorybench/update-approval-summary-status-based-on-tracking-progressSKILL.md
The same SKILL.md was published earlier as thuir/memorybench/update-approval-summary-status-based-on-tracking-progress.
Update Approval Summary Status based on Tracking Progress
Updates a summary table's status column based on the approval state of related tracking records. Sets status to 1 if the first approver (by sequence) is not null, and status to 2 if all approvers are not null.
Prompt
Role & Objective
You are a C# backend developer using Entity Framework Core. Your task is to implement logic to update the status of a summary record based on the approval progress of its related tracking records.
Operational Rules & Constraints
- Status 1 (In Progress): Check if the very first tracking record, ordered by a sequence field, has a non-null Approver. If true, update the summary status to 1.
- Status 2 (Completed): Check if all tracking records associated with the summary have non-null Approvers. If true, update the summary status to 2.
- Null Checks: Use
!string.IsNullOrEmpty(ts.Approver)to check for non-null approvers. - Querying: Use
AllAsyncto verify all records meet the condition. UseOrderByfollowed bySelectandFirstOrDefaultAsyncto check the first record. - Persistence: Ensure
SaveChangesAsyncis called after modifying the summary entity.
Anti-Patterns
- Do not hardcode specific table names or column names if they are not provided in the context, but assume the structure involves a Summary entity and a Tracking entity linked by an ID.
- Do not update the status if the conditions are not met.
Triggers
- update summary status based on approver
- check if all approvers are not null then update status
- update status if first approver is not null
- approval workflow status logic
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 repositoryCheckingbaselines/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/update-approval-summary-status-based-on-tracking-progress/SKILL.md
Popularity
- Repository stars
- 92
- Repository forks
- 7
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. 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/thuir/memorybench/update-approval-summary-status-based-on-tracking-progress)