Works with the AI Agents you already use

    Mejorar Preguntas

    by Cjrh

    1

    Transforms vague web dev requests into precise technical prompts and applies them to your codebase immediately.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Mejorar Preguntas

    Mejorar Preguntas

    Example session with this skill installed

    The profile page is showing a loading spinner forever after I update my email. Fix it.

    • Read your context and instructions
    • Compiled the mejorar preguntas

    I have analyzed the project structure and identified the profile update flow. I reformulated the request into a technical diagnostic task and applied the fix to the user service and frontend hook.

    Technical Reformulation & Fix

    Act as a Full-Stack Engineer. Diagnose why the profile interface hangs in a loading state after an email update. I have identified the stack as Next.js with a Prisma/Node backend. The issue was localized to the useProfile hook not handling the 204 No Content response correctly during the revalidation phase.

    Code Changes

    // src/hooks/use-profile.ts
    export const useUpdateProfile = () => {
      const [loading, setLoading] = useState(false);
      
      const updateEmail = async (newEmail: string) => {
        setLoading(true);
        try {
          const res = await fetch('/api/user/profile', {
            method: 'PATCH',
            body: JSON.stringify({ email: newEmail })
          });
          
          // FIX: Added handling for successful non-json responses
          if (res.ok) {
            await mutate('/api/user/profile');
          }
        } catch (err) {
          console.error(err);
        } finally {
          // Ensure spinner is cleared in all success/error paths
          setLoading(false);
        }
      };
    
      return { updateEmail, loading };
    };
    
    ComponentActionResult
    use-profile.tsAdded finally blockSpinner clears on completion
    profile-api.tsValidated return typeConfirmed 204 status
    EmailField.tsxAdded error stateUI reflects failed updates

    Next steps

    1. Run npm test src/hooks/use-profile.test.ts to verify the state transition.
    2. Manually test the update with an existing email to ensure the error boundary catches the 409 Conflict.
    3. Check the browser console to confirm no orphaned promises remain after the PATCH request.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Developers often receive vague requests like "my app is slow" or "the login is broken" that lack technical context. This skill bridges the gap by automatically transforming ambiguous user requirements into precise, context-aware technical prompts. It analyzes your existing codebase, identifies relevant files and stacks, and executes the fix or improvement in a single turn.

    What it does

    • Technical reformulation converts loose descriptions into structured engineering tasks with specific roles and deliverables.
    • Context discovery scans project manifests and lockfiles to confirm the tech stack and versioning before suggesting changes.
    • Root cause localization identifies the specific files, routes, or components governing a reported bug or feature request.
    • Security integration automatically embeds defensive controls and validation checks when handling sensitive data or auth flows.
    • Validation planning generates regression tests and observable verification steps for every code change.

    How it works

    1. The developer provides a vague request or identifies a bug within a project context.
    2. The skill analyzes the project files to determine the architecture and relevant code paths.
    3. It reformulates the request into a high-precision prompt targeting specific files and outcomes.
    4. It applies the implementation or diagnostic fix immediately, unless a prompt-only output is requested.

    Frameworks & tools

    Works across any web stack including React, Next.js, Node.js, and various API architectures. It utilizes local project manifests (package.json, lockfiles) to ensure environmental consistency.

    Why this beats prompting it yourself

    Writing prompts that include regression testing, security checks, and stack-specific context is time-consuming and prone to oversight. This skill automates the discovery of your project's internal logic, ensuring instructions are grounded in your actual code rather than generic AI assumptions.

    Use cases

    • Bug triage converting "this screen is white" into a full diagnostic plan for rendering failures.
    • API expansion turning "we need a new endpoint" into a documented contract with validation and error handling.
    • Security audits identifying vulnerable inputs and applying defensive controls across authentication flows.
    • UI refactoring updating components while maintaining keyboard accessibility and mobile responsiveness.

    Known limitations

    Requires access to project files to provide high-precision results. Does not perform external network-based penetration testing.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 9 days ago

    Permissions

    No special permissions declared or detected

    Listed9 days ago

    What's inside

    Creator

    Cjrh

    Cjrh

    Frequently Asked Questions

    Mejorar Preguntas acts as a technical bridge that translates vague feedback, like "the site is slow," into actionable code changes by automatically scanning your project files for context and applying the necessary fixes.

    The skill is compatible with any AI agent or IDE extension that supports file-system access, allowing it to read your project's manifests and codebase to ensure its output is tailored to your specific stack.

    No complex configuration is needed; once the skill is active, it automatically detects your framework (such as React or Node.js) by analyzing your project's package.json and lockfiles.

    Yes, the skill is designed to not only suggest the fix but also implement the code changes and generate regression tests to ensure the new logic doesn't break existing functionality.

    Every purchase includes the core prompt-engineering logic, lifelong updates as new web frameworks emerge, and full integration documentation for your preferred agent environment.

    To ensure precision, the skill requires read/write access to your local project directory so it can identify the specific files and components relevant to your request.

    New in Prompt & Skill Engineering

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Prompt & Skill Engineering.