agentleFS
3akat-system3akat-system/nexus-starter/.claude/skills/new-feature/SKILL.md

new-feature

Skill0 starsChanged 7 months agoMITView on GitHub

Feature development workflow. TRIGGER when: добавить функцию, add feature, новая фича, new feature, implement feature, новый эндпоинт, new endpoint, добавить страницу, add page, новый маршрут, new route, реализовать, implement, сделать так чтобы, make it so that, хочу чтобы, I want, нужна кнопка, need a button, добавить поле, add field, extend functionality. Contains: planning checklist, implementation steps, testing, deploy sequence.

  • Sends data out

18 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use greploop-apps, evidence-driven-testing and 4 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • michaelshimelesSkill

    greploop-apps

    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 greploop, 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.

    Also in 3 projects that use this

  • kellykampenSkill

    evidence-driven-testing

    Records visual proof while testing UI behavior — screen recording with structured test/assertion annotations — then posts the video and a results summary to the PR and tracker issue. Use whenever a UI change needs verifiable evidence that it works, instead of prose claims.

    Also in 3 projects that use this

  • VercelSkill

    before-and-after

    Add existing screenshots or screen recordings to a GitHub pull request as a before/after or preview block. Use when a PR needs visual media attached to its description. Browser navigation and capture belong to agent-browser.

    Also in 3 projects that use this

  • nitikeshqSkill

    code-structure

    Use this skill whenever you're designing or refactoring backend code architecture — especially when multiple workflows duplicate operational logic, when deciding what belongs in actions vs shared services, when extracting repeated blocks across domain flows, or when adding features that share mechanics with existing ones. Trigger this skill for questions like "where should this logic live?", "how do I avoid copy-pasting this?", "should this be a service?", "how do I structure this new feature?", or any time someone is untangling messy action/handler files. Also use when reviewing PRs for architectural smells like god services, leaky services, or over-abstraction.

    Also in 3 projects that use this

  • haseeb-heavenSkill

    greploop

    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.

    Also in 3 projects that use this

  • MicrosoftSkill

    unslop

    Cut AI tells from any writing. Must always apply.

    Also in 3 projects that use this

The file

Files
SKILL.md

New Feature — Workflow

Step 1 — Understand the Task (before code)

Answer these questions:

  • What exactly should the feature do? (user story)
  • What data is needed? (new tables/fields in DB?)
  • Where is it displayed? (which files are affected?)
  • How to test manually?

Step 2 — Planning

Backend:
  [ ] New route in routes/
  [ ] Logic in a separate function (not in the route)
  [ ] Input data validation
  [ ] Error handling (try/catch)

Frontend:
  [ ] HTML elements
  [ ] JS event handler
  [ ] fetch() to API
  [ ] Show result / error to user

DB (if needed):
  [ ] SQL migration (ALTER TABLE or CREATE TABLE)
  [ ] Apply on server before deploy

Step 3 — Code Structure (Node.js/Express)

// routes/feature.js — thin route
router.post('/api/feature', async (req, res) => {
  try {
    const { param } = req.body;
    if (!param) return res.status(400).json({ error: 'param required' });

    const result = await featureService(param); // logic separate
    res.json({ success: true, data: result });
  } catch (err) {
    console.error('feature error:', err);
    res.status(500).json({ error: 'Internal error' });
  }
});

// services/feature.js — business logic
async function featureService(param) {
  const { rows } = await pool.query('SELECT ...', [param]);
  return rows;
}

Step 4 — Frontend Pattern

async function doFeature() {
  try {
    const resp = await fetch('/api/feature', {
      method: 'POST',
      headers: { 'Content-Type': 'application/json',
                 'Authorization': `Bearer ${token}` },
      body: JSON.stringify({ param: value })
    });
    if (!resp.ok) throw new Error(await resp.text());
    const data = await resp.json();
    // show result
  } catch (err) {
    alert('Error: ' + err.message);
  }
}

Step 5 — Testing Before Deploy

# Locally (if available)
node server/index.js
curl -X POST http://localhost:3000/api/feature \
  -H "Content-Type: application/json" \
  -d '{"param": "test"}'

Step 6 — Deploy

→ Use the deploy skill

Quality Checklist

  • No hardcoded tokens/passwords
  • All errors are handled (catch)
  • Input data is validated
  • Important events are logged (console.log or logger)
  • API returns clear error messages

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.