Index of every page on this site: llms.txt
Avatar for Aditya Deokar

Aditya Deokar

Building production-grade AI apps with Next.js, TypeScript, Python, FastAPI, MCP & AI Agents.

19 skills Remote Synced

aditya-deokar/software-factory

Agent skills for shipping software with proof.

19 skills
npx skilld add aditya-deokar/software-factory --all
  • Keep a repo's hard-won facts (root causes, environment quirks, decisions, pitfalls) in .factory/memory/, each with the PR or issue it came from, so agents stop re-learning them. Use when starting any task in a repo with .factory/ (read the index), before re-deriving a root cause or debugging an environment problem (search first), when a person corrects you or tells you something twice, and at the end of a task to save what the next agent needs.

  • Raise a task's target before anyone builds it, using Felix Rieseberg's types of ambition: Altitude (the goal beyond the goal), Depth (the standard the field's best would hold, worked from raw data and checked by an outside judge), and Range (methods borrowed from other fields). Produces the aim: the rung this PR takes, a hard target, the judge that will prove it, and follow-up issues for the rungs above. Use when triage has decided implement or spec and before spec or build, when asked to "be more ambitious", "aim higher", "think bigger", "go deeper", "fix the cause, not the symptom", or "what would a top expert do here", or to rewrite a prompt at a higher level.

  • Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments. Triggers Greptile review, fixes all actionable comments, pushes/re-shelves, re-triggers review, and repeats. Use when the user wants to fully optimize a PR/MR/CL against Greptile's code review standards.

  • Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments. Identical to code-review-loop, but triggers reviews by tagging @greptile-apps, which bypasses Greptile's file-count limit on huge PRs that the plain @greptile mention refuses to review. Use when the user wants to fully optimize a large PR/MR/CL against Greptile's code review standards.

  • Write commands and scripts that actually run on Windows. Use when working on a Windows machine, when a command fails with "is not recognized as the name of a cmdlet", when a bash one-liner needs a PowerShell equivalent, when paths break on backslashes or spaces, or when making a repo's scripts work on Windows, macOS, and Linux at once.

  • Set up the software factory in a repository: the .factory/ data directory (config, routing rules, friction patterns, memory index), the AGENTS.md workflow section, and optional GitHub Actions for triage, the weekly improvement loop, and post-merge monitoring. Use when asked to "set up the factory", "install the workflow", or "bootstrap AGENTS.md" in a repo, when a factory skill finds no .factory/ directory, after upgrading the factory skills, when AGENTS.md has no software factory section or an outdated one, or to validate an existing .factory/ after editing it by hand.

  • Decide what happens to an incoming piece of work before anyone writes code: implement it now, write a spec first, close it as a duplicate, ask the reporter for the specific missing facts, or decline it. Use when a new issue, bug report, feature request, Slack message, or failed monitor check arrives, when asked to "triage", "label", or "sort" issues, or before starting any task whose size and clarity nobody has judged yet.

  • Pick the cheapest model tier that does a piece of work well, from rules in .factory/routing.json, and settle disputes about tiers with a best-of-k eval instead of opinion. Use when starting any task in a repo with .factory/, before handing work to a subagent, when a run is getting expensive, when asked "which model should do this", or when a new model ships and the routing may be stale.

  • Cut a versioned release of a skills repo and publish it to npm and GitHub. Use when asked to publish, release, ship a new version, bump the version, or tag a release of an agent-skills package. Covers semver for skills, the pre-publish audit, npm scoped publishing, GitHub releases, and rollback.

  • Cut AI tells from text you write or edit for a human reader (commit messages, PR titles and bodies, docs, code comments, replies). Apply before committing, posting, or sending; leave prose you didn't touch alone.

  • Check a change after it merges: CI on the default branch, the deploy, the error sources the repo names, and the PR's own evidence rerun against the shipped build. Turn anything broken into a regression issue that feeds back into triage. Use when a factory PR has just merged, when asked "did it deploy", "is main green", or "check production", or when a CI failure lands on the default branch.

  • Record every task as a run in .factory/runs/ so the factory can be measured: class, size, model tier, beats completed, evidence, review rounds, human corrections, and token cost. Use when starting any task in a repo that has a .factory/ directory, at the end of each beat, when a human corrects or approves your work, when you finish or get blocked, and when asked how the factory is doing ("factory report", "how many PRs", "what did that cost").

  • Decide whether code belongs in an orchestration boundary or a shared service, and extract shared mechanics safely. Use when the same operational logic appears in more than one workflow, when a bug fixed in one flow is still live in another doing the same thing, when a route handler has grown past its own domain rules, or when adding a feature whose plumbing already exists elsewhere.

  • Write, audit, and fix agent skills so they load in every harness and survive review. Use when creating a new SKILL.md, when a skill is not being invoked or not discovered, when frontmatter fails validation, or before publishing a skills repo to npm or skills.sh.

  • The factory's outer loop. Reads where people keep correcting agents (local transcripts, the run ledger, human review comments on merged PRs), finds the skill that owns each repeated failure, and opens one small, evidence-backed PR to improve it for a human to review. Use when the weekly loop runs, when asked to "improve the skills", "run the loop", or "why do agents keep doing X", when a friction report shows a climbing pattern, or when a memory has been used often enough to graduate into a skill.

  • Write a product spec and a tech spec before building anything ambiguous, cross-cutting, or visible to users, and get a human to approve them before code starts. Use when triage says "spec", when a request has more than one reasonable design, when a change touches data shape, public APIs, or migrations, when asked to "write a spec", "plan this feature", or "design this", or when an earlier attempt was rejected as "not what I asked for".

  • Produce a checkable artifact that a change works, instead of asserting it in prose. Use whenever a claim about behavior needs backing: before opening a PR, when reporting a fix, when asked whether something works, or when a reviewer has to take your word for it. Covers recorded UI sessions, headless capture without a display, and measured evidence for changes with no visible surface.

  • Captures before/after screenshots of web pages or elements for visual comparison. Use when user says "take before and after", "screenshot comparison", "visual diff", "PR screenshots", "compare old and new", or needs to document UI changes. Accepts two URLs (file://, http://, https://) or two image paths.

  • Set up an isolated branch and working directory before touching any code, so concurrent agents and sessions cannot corrupt each other's work. Use before the first edit of any feature, fix, or chore, and use it whenever more than one agent or session shares a repository. Covers the overlap check against work already in flight, naming, dependency setup, and teardown after merge.

Curated skills from @aditya-deokar. Checked GitHub just now