Install
$ agentstack add skill-pledgeandgrow-pledge-skills-jquery ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
jQuery Skill
> jQuery — A fast, small, and feature-rich JavaScript library for DOM traversal, manipulation, event handling, animation, and Ajax. > Version: jQuery 3.7.x | Docs: api.jquery.com | learn.jquery.com
Quick Reference
| File | Topics | |------|--------| | [getting-started.md](getting-started.md) | Installation (npm, Yarn, CDN, downloading), including jQuery in pages, document ready, $ vs jQuery, basic selectors, chaining, noConflict, jQuery vs vanilla JS, browser support, jQuery Migrate plugin | | [api.md](api.md) | Core (jQuery(), $.extend(), $.each(), $.when(), noConflict()), selectors (CSS, attribute, form, pseudo, hierarchy), attributes (attr, prop, val, html, text, addClass, removeClass, toggleClass, hasClass), manipulation (append, prepend, after, before, clone, remove, empty, replaceWith, wrap), traversing (find, children, parent, parents, siblings, next, prev, closest, filter, not, eq, first, last, slice, add, end), CSS (css, height, width, offset, position, scrollLeft, scrollTop), events (on, off, one, trigger, click, hover, ready, event object properties and methods), effects (show, hide, toggle, fadeIn, fadeOut, fadeTo, fadeToggle, slideDown, slideUp, slideToggle, animate, stop, delay, queue, dequeue, finish), Ajax ($.ajax, $.get, $.post, $.getJSON, $.getScript, .load, $.ajaxSetup, $.ajaxPrefilter, $.param, .serialize, .serializeArray, jqXHR object), utilities ($.each, $.extend, $.grep, $.map, $.merge, $.inArray, $.isArray, $.isFunction, $.isPlainObject, $.trim, $.type, $.parseJSON, $.parseHTML, $.parseXML, $.proxy, $.noop, $.now, $.uniqueSort), deferreds (Deferred, promise, done, fail, always, then, pipe, resolve, reject, notify, state, when), internals (context, jquery, selector, pushStack) | | [guides.md](guides.md) | Events (event basics, event delegation, custom events, event helpers, triggering, event handling function), effects (intro, custom animations with .animate(), queue & dequeue explained), Ajax (key concepts, jQuery Ajax methods, Ajax and forms, JSONP, Ajax events), plugins (finding & evaluating, basic plugin creation, advanced plugin concepts, publishing to npm), performance (append outside loops, cache length, detach elements, optimize selectors, use stylesheets, don't act on absent elements), code organization (concepts, beware anonymous functions, DRY, feature & browser detection, deferreds) |
Core Concepts
- jQuery Object: A wrapper around DOM elements returned by
$()orjQuery(), providing cross-browser methods - Chaining: Most jQuery methods return the jQuery object, allowing method chaining:
$( "p" ).addClass( "intro" ).show() - Document Ready:
$( document ).ready(fn)or$(fn)— executes code after DOM is fully parsed - Selectors: CSS-style selectors for finding elements:
$( "#id" ),$( ".class" ),$( "element" ),$( "parent > child" ) - Event Handling:
.on()for attaching handlers; supports direct and delegated event binding - Effects: Built-in animations (show/hide, fade, slide) and custom
.animate()for arbitrary CSS properties - Ajax:
$.ajax()with convenience methods$.get(),$.post(),$.getJSON(),.load()for server communication - Deferreds: Promise-like objects for managing asynchronous callbacks:
$.Deferred(),.done(),.fail(),.then() - Utilities: Helper functions on the
$namespace:$.each(),$.extend(),$.map(),$.grep(),$.type() - Plugins: Extend jQuery's prototype (
$.fn) to add custom methods - noConflict:
$.noConflict()releases$to avoid conflicts with other libraries
jQuery Ecosystem
| Library | Description | |---------|-------------| | jQuery UI | Official UI widgets (datepicker, dialog, draggable, droppable, sortable, autocomplete, tabs, accordion) | | jQuery Mobile | Touch-optimized web framework for smartphones and tablets | | QUnit | JavaScript unit testing framework (jQuery project) | | jQuery Migrate | Plugin to restore deprecated features for easy upgrades | | Sizzle | CSS selector engine (jQuery's selector engine) | | jQuery Validation | Form validation plugin |
Common Patterns
// Document ready
$( document ).ready(function() {
// Code runs after DOM is parsed
});
// Click handler with event delegation
$( "#container" ).on( "click", "button", function( event ) {
$( this ).toggleClass( "active" );
});
// Chaining
$( ".box" )
.css( "background", "#f00" )
.slideUp( 300 )
.delay( 800 )
.fadeIn( 400 );
// Ajax with $.ajax
$.ajax({
url: "/api/users",
method: "GET",
dataType: "json"
})
.done(function( data ) {
console.log( data );
})
.fail(function( jqXHR, textStatus, error ) {
console.error( "Error:", error );
});
// Deferred / Promise
var deferred = $.Deferred();
deferred.done(function( value ) {
console.log( "Resolved with:", value );
});
deferred.resolve( "success" );
// Plugin definition
$.fn.greenify = function() {
this.css( "color", "green" );
return this;
};
$( "p" ).greenify();
Sources
- jQuery API documentation: https://api.jquery.com/
- jQuery Learning Center: https://learn.jquery.com/
- jQuery download: https://jquery.com/download/
- jQuery GitHub: https://github.com/jquery/jquery
- jQuery UI API: https://api.jqueryui.com/
- jQuery Mobile API: https://api.jquerymobile.com/
- QUnit API: https://api.qunitjs.com/
- jQuery.Callbacks(): https://api.jquery.com/jQuery.Callbacks/
- Callbacks Object category: https://api.jquery.com/category/callbacks-object/
- Using jQuery Core: https://learn.jquery.com/using-jquery-core/
- $ vs $(): https://learn.jquery.com/using-jquery-core/dollar-object-vs-function/
- $( document ).ready(): https://learn.jquery.com/using-jquery-core/document-ready/
- Avoiding Conflicts: https://learn.jquery.com/using-jquery-core/avoid-conflicts-other-libraries/
- Selecting Elements: https://learn.jquery.com/using-jquery-core/selecting-elements/
- Working with Selections: https://learn.jquery.com/using-jquery-core/working-with-selections/
- Manipulating Elements: https://learn.jquery.com/using-jquery-core/manipulating-elements/
- The jQuery Object: https://learn.jquery.com/using-jquery-core/jquery-object/
- Traversing: https://learn.jquery.com/using-jquery-core/traversing/
- CSS, Styling, & Dimensions: https://learn.jquery.com/using-jquery-core/css-styling-dimensions/
- Data Methods: https://learn.jquery.com/using-jquery-core/data-methods/
- Utility Methods: https://learn.jquery.com/using-jquery-core/utility-methods/
- Iterating: https://learn.jquery.com/using-jquery-core/iterating/
- Understanding .index(): https://learn.jquery.com/using-jquery-core/understanding-index/
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: pledgeandgrow
- Source: pledgeandgrow/pledge-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.