Skip to content

[docs] Unbloat code-simplifier workflow prompt #11

Description

@github-actions

Summary

Cleaned up .github/workflows/code-simplifier.md to remove repetitive and redundant content.

File improved

.github/workflows/code-simplifier.md — 309 → 228 lines (81 lines removed, ~26% reduction)

What was removed

Bloat type Detail
Multi-language command blocks Replaced generic test/lint/build examples for Node, Python, Gradle, Maven, Rust, Make with the actual project commands (dotnet test / dotnet build)
Redundant "Important Guidelines" section "Scope Control" and "Quality Standards" sub-sections restated Phase 1–3 instructions verbatim; removed
Repetitive bullet lists Phase 2.3 analysis steps (14 sub-bullets across 2 numbered steps) condensed to 1 prose sentence
"Maintain Balance" sub-bullets 6 bullets → 1 sentence
"Review Focus" PR template section 4 generic bullets that duplicate standard reviewer expectations; removed
Exit Conditions duplication Moved from buried sub-section to single top-level section

Essential content preserved

  • All four simplification principles and their guidance
  • Phase structure and sequencing
  • PR description template skeleton
  • Exit condition logic
  • Output requirements

Warning

Protected Files — Push Permission Denied

This was originally intended as a pull request, but the patch modifies protected files. A human must create the pull request manually.

Protected files

The push was rejected because GitHub Actions does not have workflows permission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission.

Create the pull request manually
# Download the patch from the workflow run
gh run download 28878427789 -n agent -D /tmp/agent-28878427789

# Create a new branch
git checkout -b docs/unbloat-code-simplifier-ac6e4354407d7aff main

# Apply the patch (--3way handles cross-repo patches)
git am --3way /tmp/agent-28878427789/aw-docs-unbloat-code-simplifier.patch

# Push the branch and create the pull request
git push origin docs/unbloat-code-simplifier-ac6e4354407d7aff
gh pr create --title '[docs] Unbloat code-simplifier workflow prompt' --base main --head docs/unbloat-code-simplifier-ac6e4354407d7aff --repo droosma/WitnessSharp

🗜️ Compressed by Documentation Unbloat

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/unbloat-docs.md@1c6668b751c51af8571f01204ceffb19362e0f66
  • expires on Jul 9, 2026, 3:38 PM UTC

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions