Skip to content

Instantly share code, notes, and snippets.

View pushpak1300's full-sized avatar
:copilot:
Focusing

Pushpak Chhajed pushpak1300

:copilot:
Focusing
View GitHub Profile

Maintainer-Corrections Retrospective

You are performing a READ-ONLY retrospective of a GitHub contributor's pull requests. The goal: find the recurring mistakes in their PRs — as shown by how specific maintainers and reviewers corrected them — and turn those patterns into (1) a concise report and (2) a paste-ready rules block for their coding agents, so the same mistakes stop recurring.

Do not modify, comment on, push to, approve, react to, or open anything on GitHub. Only use gh read commands (gh search, gh pr view, gh api with GET). Write files only inside the current working directory.

Before you start — ask me these questions first

Ask all of them in one message, then wait for my answers before doing anything. If I skip a question or say "defaults", use its default.

@pushpak1300
pushpak1300 / code-smell.md
Created September 25, 2026 06:50
Code Smell Detection

You are auditing the codebase in the current working directory for code smells and architectural problems. The goal is an audit the maintainers can act on. Every finding should be real, verified against the current code, and not already tracked.

Inputs. Use these defaults unless the user overrides them:

  • Tracker file: AUDIT.md at the repo root. Create it if it's missing; add to new file if it exists.
  • Scope: all first-party source. Exclude vendored, generated and build output (vendor/, node_modules/, dist/, build/, lockfiles, migrations' generated SQL, compiled assets).
  • Changes allowed: the tracker file only. Don't edit source or tests, and don't commit.

Before you start

Learn the project before judging it.

You are a senior security engineer conducting a comprehensive security audit of this open source application.

OBJECTIVE

Perform a full-codebase security audit to identify HIGH-CONFIDENCE exploitable vulnerabilities. This is NOT a code quality review — focus ONLY on real security issues with concrete attack paths.

PHASE 1: RECONNAISSANCE

Before analyzing any code, build context:

@pushpak1300
pushpak1300 / SKILL.md
Last active November 1, 2026 15:25
Formats Laravel config/*.php file comments using Laravel’s cascading three-line style. Ensures comment blocks follow the subtle line-length rhythm used in the framework’s core, preserving the clean, professional feel of first-party Laravel configuration files.
name laravel-comments
description Format Laravel config file comments using the cascading style. Use when writing or fixing comments in config/*.php files.
license MIT

Laravel Cascading Comment Style

When to Use This Skill

@pushpak1300
pushpak1300 / Monoflow.md
Created May 6, 2025 11:06
Alternative git strategy "MonoFlow"

Currently we don’t want to start following git-flow or fullflesh trunk based (link) as the team is small (2 members) and we don’t want the hassle of maintaining two different branches. So we came up with this alternative git strategy which compliments trunk based development with a single branch.
Let’s call it MonoFlow?
So the workflow looks like this.

Workflow

Feature/Bug Development

  • Create a Branch:
@pushpak1300
pushpak1300 / AsFake.php
Created November 5, 2024 13:19
Mock and test your actions.
<?php
namespace App\Traits;
use Mockery;
use Mockery\Expectation;
use Mockery\ExpectationInterface;
use Mockery\HigherOrderMessage;
use Mockery\MockInterface;

Keybase proof

I hereby claim:

  • I am pushpak1300 on github.
  • I am pushpak1300 (https://keybase.io/pushpak1300) on keybase.
  • I have a public key whose fingerprint is E12C 894C 8CA7 D989 5CE6 B946 9BC0 0994 1885 8FE5

To claim this, I am signing this object:

{'dam': <Dam: Ganguwala , 035-UYDDEL>, 'levels': {'normal': 1.0, 'warning': None, 'danger': None, 'hfl': 0.0}}
{'dam': <Dam: NATHPA , 003-SHDSIM>, 'levels': {'normal': 1.0, 'warning': None, 'danger': None, 'hfl': 0.0}}
{'dam': <Dam: Koteshwar , 009-HGDDDN>, 'levels': {'normal': 1.0, 'warning': 0.0, 'danger': 0.0, 'hfl': 0.0}}
{'dam': <Dam: MATATILA DAM , 030-LYDAGRA>, 'levels': {'normal': None, 'warning': None, 'danger': None, 'hfl': None}}
{'dam': <Dam: Vishnuprayag , 036-HGDDDN>, 'levels': {'normal': 1.0, 'warning': None, 'danger': None, 'hfl': 0.0}}
{'dam': <Dam: Ukai Dam , 021-TDSURAT>, 'levels': {'normal': 1.0, 'warning': 0.0, 'danger': 0.0, 'hfl': 0.0}}
{'dam': <Dam: Kadana Dam , 007-MAHGAND>, 'levels': {'normal': None, 'warning': None, 'danger': None, 'hfl': None}}
{'dam': <Dam: Sardar Sarovar Dam(Duplicate) , 66>, 'levels': {'normal': 1.0, 'warning': 0.0, 'danger': 0.0, 'hfl': 0.0}}
{'dam': <Dam: INDIRASAGAR DAM , NBO-1-046-1247>, 'levels': {'normal': None, 'warning': None, 'danger': None, 'hfl': None
Verifying my Blockstack ID is secured with the address 1Ep7Ye9wtC1ZG3rZMUpwZ6ngxWa3quuPGW https://explorer.blockstack.org/address/1Ep7Ye9wtC1ZG3rZMUpwZ6ngxWa3quuPGW
sudo apt-get update -y
sudo apt-get install nginx -y
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install software-properties-common -y
sudo add-apt-repository ppa:ondrej/php -y
sudo apt-get update -y
sudo apt-get install php7.3 php7.3-xml php7.3-gd php7.3-opcache php7.3-mbstring php7.3-curl php7.3-mysql php7.3-intl -y
sudo apt-get purge apache2 apache2-utils apache2-bin apache2.2-common -y
sudo apt-get install mysql-server -y
sudo mkdir /var/www/laravel